• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL and Struts?

Todd Farmer
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm finding as I try to implement the Struts example that is at the end of HF, my EL tags are not being evaluated in my JSPs. There is nothing in my web.xml or anywhere else that I can find that is directly responsible for this, and other (non-Struts) applications running on the same server (Tomcat 5) evaluate the EL expressions when I use the same JSP. I even tried going straight to the JSP (taking it out of WEB-INF) in the Struts app, and the EL still does not evaluate.

EL really gets promoted in HF, so I'm wondering why it would be disabled in Struts (if it is). Is there something I'm not doing right to enable EL? I know EL is enabled by default, but does that change when using Struts? I've searched through two Struts books and online, and I haven't found any answers. I see that there are subprojects of Struts that have "-el" attached to them (e.g., struts-el.jar), but I can't really find useful documentation on whether this would help me enable EL with Struts or not, or how to use it.

Any information or pointers would be greatly appreciated.

Todd Farmer
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!