facebook

JSP tag not validated

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #228344 Reply

    ozlopez
    Member

    Hi:
    I imported a war made in WebSphere into the Eclipse IDE and the JSPs show the following error on Tomcat:

    org.apache.jasper.JasperException: /main.jsp(27,0) tag “param” not found for attributes “name” and “value” after tag “params”.
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
    org.apache.jasper.compiler.Parser.parseParam(Parser.java:892)
    org.apache.jasper.compiler.Parser.parseBody(Parser.java:1838)
    org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1100)
    org.apache.jasper.compiler.Parser.parseInclude(Parser.java:928)
    org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1251)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1597)
    org.apache.jasper.compiler.Parser.parse(Parser.java:171)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:253)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:137)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    The error appears in every pages with the following line:
    <jsp:include page=”/Menu”>
    </jsp:include>

    The strange thing is that in WebSphere everything is fine.

    Thanks

    #228393

    Riyad Kalla
    Member

    There seems to be a problem with the included page expecting a param that is not being passed to it… what page does /Menu resolve to?

    #228430

    ozlopez
    Member

    /Menu is a servlet that doesnt recieve any parameter, the funny thing is that the same application runs well in Websphere server Version5, but in here in Eclipse and Tomcat 5.0.18 that error appears

    #228433

    Riyad Kalla
    Member

    ozlopez,
    This should be an easy error to find since it is a JSP compilation error, just rebuild your project and find the page it is complaining about. App Servers differ quite a bit where the spec is fuzzy so I’m not terribly surprised this code might work in one app server and not the other. It depends on what you are doing.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP tag not validated

You must be logged in to post in the forum log in