• Post Reply Bookmark Topic Watch Topic
  • New Topic

Turn EL on in JSP 1.2  RSS feed

 
Kristi Grov�
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I ensure that EL is ALWAYS evaluated in my JSPs and JSPFs?
I'm working in JSP 1.2, Servlet 2.3.
I know about all the cool stuff that servlet 2.4 and jsp 2.0 brings, but I'm stuck using J2EE 1.3, due to the impact of upgrading being too high.
I can't find a solution to this anywhere, as everyone keeps suggesting to move to JSP 2.0. I don't have the authority to make that decision

Please help me!!!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. The EL is not supported in JSP prior to JSP 2.0.

You can use EL expressions in a limited way in JSTL 1.0 tags, but nowhere else.

but I'm stuck using J2EE 1.3, due to the impact of upgrading being too high.


What impact are you refering to? JSP 2.0 is backwards compatible with earlier versions so there is no impact in upgrading, at least to applications. Any impact is limited to server setup.
 
Kristi Grov�
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
You can't. The EL is not supported in JSP prior to JSP 2.0.


I am aware of this, so I have been using it with JSTL 1.0. And just realized something too...so, as long as my uri is correct, EL will always be evaluated within the JSTL tags? The uri being:




What impact are you refering to?

The impact of upgrading to J2EE 1.4. Apparently it would've required too much work in changing our EJBs. Work, as in re-work and also testing. We're currently in the process of upgrading to RAD7, and Websphere App server 6.1 and java 5 - all those fancies, it's just J2EE that they decided to keep the same. I tried to find out if JSP 2 can be used with J2EE 1.3 (please bare with my ignorance on the subject...I'm still learning )
but another poster in the IBM/Websphere forum told me that's not possible.
It's so frustrating, because now I have to try to build scriptless JSPs in JSP 1.2!! I'm also busy trying you "Poor man's tag files" solution...but my issues there are for another post
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!