Jump to content

softlab

Members
  • Posts

    268
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by softlab

  1. You are trying to say that "it is working in Desktop but not in Heliohost ",right?

     

    That's right.

     

    If I run my project in NetBeans with Tomcat 7, all is Ok and I can see every page I request.

     

    When I upload the content of the "build/web" folder of NetBeans to heliohost, I can see only the first page, which does not import any java class; but if I try to request the first page that has a java import, the it fails as said in the first post.

     

    Can you help me?

  2. Is this function .inizializza() public one?

     

     

     

    Try this:

    <%@page import="it.swlab.util.FunzioniSessione" %>

     

    Thanks for answering.

     

    Yes, the function is public; in my environment (I'm using NetBeans 7.0 with JDK 1.6) all is Ok and functioning.

     

    The first version of the import was without ";" at the end, but the result was the same (but in my environment Ok as before).

     

    Any other suggestions?

  3. Hi. I'm softlab on Johnny.

     

    I have a problem with Java. I have a jsp page in my public_html folder (index.jsp) that links to other jsp pages within a subfolder; these jsp pages import a class within a package, and the package jar is in the WEB-INF/classes folder within public_html.

     

    When I try to load the jsp page within the subfolder, i get this error:

     

     

    org.apache.jasper.JasperException: Unable to compile class for JSP:

     

     

    An error occurred at line: 6 in the generated java file

    Only a type can be imported. it.swlab.util.FunzioniSessione resolves to a package

     

    An error occurred at line: 7 in the jsp file: /index.jsp

    FunzioniSessione cannot be resolved to a type

    4: <%

    5: synchronized(this)

    6: {

    7: FunzioniSessione funzioniSessione = new FunzioniSessione();

    8: String percorso = config.getServletContext().getRealPath("/");

    9: funzioniSessione.inizializza(session,request,response,percorso,"infocar");

    10: boolean connesso = session.getAttribute("utenteConnesso") != null;

     

     

    This is the import:

     

    <%@page import="it.swlab.util.FunzioniSessione;"%>

     

    and the line where is got the error is a simple instantiation of the class:

     

    FunzioniSessione f = new FunzioniSessione();

     

     

     

     

    What's the problem?

     

    Thank you

     

  4. I'm softlab and I'm on Johnny. Since the post for the listing problems on Johnny has been closed, when I try to access my site (softlab.heliohost.org) I get this:

     

    Service Temporarily Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

     

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

     

    What's up? Thanks

  5. Can you try accessing this page for me?

     

    http://stevie.heliohost.org:2082

    --------------- OR ---------------

    http://johnny.heliohost.org:2082

     

    Do you get an error when attempting to view one of those two pages?

     

     

     

    Thanks for the immediate answer. Yes, I get the same error for both pages.

    More, if I try to reach the address http://www.heliohost.org/scripts/status.php?username=softlab to see the status of my account in the creation queue, I see a page saying

     

    Either we could not find that account in the database, or it has already become active. If you're seeing an "Account Queued" page, please wait an additional 24 hours. If you aren't seeing anything, please refresh your browser's cache.

     

    Hope helps.

     

    Can you try accessing this page for me?

     

    http://stevie.heliohost.org:2082

    --------------- OR ---------------

    http://johnny.heliohost.org:2082

     

    Do you get an error when attempting to view one of those two pages?

     

     

     

    Thanks for the immediate answer. Yes, I get the same error for both pages.

    More, if I try to reach the address http://www.heliohost.org/scripts/status.php?username=softlab to see the status of my account in the creation queue, I see a page saying

     

    Either we could not find that account in the database, or it has already become active. If you're seeing an "Account Queued" page, please wait an additional 24 hours. If you aren't seeing anything, please refresh your browser's cache.

     

    Hope helps.

     

    I forgot. I'm on Johnny.

  6. I registered my account yesterday; if I try to sign in and give my userid and password, then press 'Login' button, the system tells me that it is impossible to show the web page. what's wrong?

    Thanks

×
×
  • Create New...