• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP 1.2 versus JSP 2.0

 
Julien Grenier
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to migrate an existing J2EE 1.4 application using JSP 2.0 and Servlet 2.4 running on tomcat 5.5 to Oracle 10g(9.0.4)(I know version 9.0.4 is call 9i on the Oracle web site but here our server is showing 10g...anyway) so Oracle 10g is J2EE 1.3 with JSP 1.2 and Servlet 2.3 compatible. The big issue is the JSPs right now because our JSPs is using mainly EL and from what I've read EL wasn't implemented is JSP 1.2. So what are my options? is Struts-EL the solution? any advices?

thanks in advance
Julien
p.s: I know, I posted a similar question in the J2EE forum but I do think it's more appropriate here.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65664
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ask a sheriff or EJB bartender to close your other post if you'd like to discuss it here instead.

While one main issue may be the EL, there are lots of other potential pitfalls. Do you have any tag files? Custom actions that extend SimpleTagSupport? EL functions? Use of JSTL 1.1 functions? And so on...

With regards to the EL, true, the EL is not natively supported by JSP 1.2, but is available in a limited way through the JSTL 1.0. EL expressions in template text can be wrapped with the <cut> tag. However, any use of the EL in tag attributes, custom or otherwise, would need to be replaced.

Additionally, any uses of the ? operator in EL expressions would need to be removed.

Personally, if your app is reasonably structured such that the logic is separated from the views, I'd leave the JSP 2.0 pages be, and implement a complete new set of pages for legacy systems. Otherwise, you're really taking a huge step backwards.
[ September 07, 2005: Message edited by: Bear Bibeault ]
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!