• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with Tomcat 5 and el

 
kasun madurasinghe
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm studying for SCWCD 1.4 using Head first book and Tomcat 5.5. As it says Jsp 2.0 is el enabled by default. But in my container its'not. Even if I set <el-ignored>false in DD it won't work, unless I specify isELIgnored="false" in each jsp page. What's the problem here. (I tried with several Tomcat versions 5.2, 5.3.. but failed)
 
Wasim Ayoubi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

Can you pass your DD ? Please check that you do not have somthing like this in your DD

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>true</el-ignored>
</jsp-property-group>
</jsp-config>
 
Nitish Bahadur
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Start Tomcat 5.x or higher.
2. Access Welcome Page (http://127.0.0.1:8080/)
3. Access JSP Examples.
4. Try executing 1 of the JSP 2.0 Examples.

What happens?
 
kasun madurasinghe
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahh.. It was the DD. I've used the old DTD header for <web-app> . Thanks guys. Now it's OK
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic