struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens K├╝hnberger <kuehnber...@web.de>
Subject Re: Struts 1.1, JSTL and Tomcat5
Date Wed, 31 Mar 2004 19:08:29 GMT
Thanks a lot.

I changed

<!DOCTYPE web-app
   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

<web-app>

to

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
     version="2.4">

and now it's working.


Martin Cooper wrote:
> Did you update your web.xml file for Servlets 2.4, and update any taglib
> declarations in that file?
> 
> --
> Martin Cooper
> 
> 
> "Jens K├╝hnberger" <kuehnberger@web.de> wrote in message
> news:406AF5FB.5090705@web.de...
> 
>>Hi everyone,
>>
>>I got a problem with updating my webapplication from struts 1.0, jstl
>>1.0 and tomcat 4.1 to struts 1.1, JSTL 1.1 and tomcat 5.
>>
>>I got rid of all the old .jar and .tld files and inserted the new ones.
>>I tried all different uri on the .jsp page, read through various
>>messages on the mailing list, but I'm still stuck with the following
> 
> error.
> 
>>I would be happy for any new ideas.
>>
>>Thanks,
>>Jens
>>
>>
>>org.apache.jasper.JasperException: <h3>Validation error messages from
>>TagLibraryValidator for c</h3><p>null: java.lang.IllegalStateException:
>>can't declare any more prefixes in this context</p>
>>
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
> java:94)
> 
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404
> )
> 
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:112
> )
> 
>>org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1578)
>>org.apache.jasper.compiler.Validator.validate(Validator.java:1524)
>>org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247)
>>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:5
> 53)
> 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 91)
> 
>>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)
>>
> 
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 69)
> 
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:455)
> 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
> 
>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>>org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message