Answer the question
In order to leave comments, you need to log in
Why doesn't Tomcat 5.5 resolve variables in jsp?
Hello, I ran into such a problem - there is a packaged application in .war
tomcat 7 deploys without problems, but in tomcat 5.5 the deployment seems to be normal,
but when viewed in a browser, the jsp ${...} variables do not resolve.
I can't find the cause of the problem. Help!
Answer the question
In order to leave comments, you need to log in
The reason may be in the incorrect version of the servlet api specified in web.xml (version="xx"), specify version 2.4 (for tomcat 5.5):
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
version="2.4">
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question