Jump to content

guard163

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by guard163

  1. I cleared the cache but nothing changed. I shared a link with a friend, he also did not appears site. And what you saw?

    UPD: I see

    type Exception report

     

    message

     

    description The server encountered an internal error () that prevented it from fulfilling this request.

     

    exception

     

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

     

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

    The method print(boolean) in the type JspWriter is not applicable for the arguments (void)

    4: </HEAD>

    5: <BODY>

    6: <H1>Hello World</H1>

    7: Today is: <%=out.println("test") %>

    8: </BODY>

    9: </HTML>

     

     

    Stacktrace:

    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)

    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)

    org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)

    org.apache.jasper.compiler.Compiler.compile(Compiler.java:307)

    org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)

    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565)

    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:309)

    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)

    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)

    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

     

    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.33 logs.

     

    Now again the white screen

  2. 2Krydos It was 503 like now.

    I tried to upload index,html, server works right with him. Now i uploaded index.jsp and it writes: "Service Temporarily Unavailable". What's that?

    P.S. index.jsp i took from here:

    http://mainline.brynmawr.edu/~dkumar/JSP/

    The same page as above using JSP looks as shown below:

     

    <HTML>

    <HEAD>

    <TITLE>Hello World</TITLE>

    </HEAD>

    <BODY>

    <H1>Hello World</H1>

    Today is: <%= new java.util.Date().toString() %>

    </BODY>

    </HTML>

     

    In order to run it, do the following:

    1. Place it in a file, HelloWorld.jsp in the same directory as your .html files

×
×
  • Create New...