• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL expressions not working on remote server

 
Gabriele Fabbri
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just deployed on the remote server an application that is working perfectly on my laptop, but not on the remote machine.
The problem is that expressions like ${news.titolo} are not translated: on the rendered page I'm getting exactly ${news.titolo} instead the real value.
I think I'm simply missing one or more jar file: I already tried moving el.jar into the shared tomcat dir but nothing is changed.
The main differences between the two environment are the OS (Win locally and Debian remotely) and the tomcat version (6.0.14 locally and 5.5 remotely).
Could you let me know which jars I have to manage to get it works properly?

Thank you in advance,
Gabriele Fabbri
 
Dawn Charangat
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check if the web.xml has el-diabled tag
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should always develop on the same version of Tomcat that you are deploying upon. The different versions support different versions of the Servlets, JSP and JSTL.

That said, let's see if we can find what's up. How are you declaring the web.xml deployment descriptor?

 
Gabriele Fabbri
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:You should always develop on the same version of Tomcat that you are deploying upon. The different versions support different versions of the Servlets, JSP and JSTL.

That said, let's see if we can find what's up. How are you declaring the web.xml deployment descriptor?


Thanks to both for the fast reply!
Bear, you are totally right. I don't want to loose other time to make it works: it's time to update tomcat installed on the web server.
I will do it as soon as possible and I will come back to you in case the problem will still present (but probably not!).

Thanks again,
Gabriele Fabbri
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!