• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL not working?  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am playing around with the new J2EE and trying to get EL to work in my JSP. I am using Tomcat 5.0.x.
In a login servlet I place a UserBean in the HttpSession as follows:

And then on a JSP I do the following just for a test:

And what I get in the output is
Welcome ${user.userName}
Now, according to the J2EE 1.4 PDF on Sun's site:

So does anyone know of a good reason this is not working for me?
[ December 19, 2003: Message edited by: Gregg Bolinger ]
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the help of Simon Brown, we figured out that I was still using the 2.3 DTD in my web.xml instead of the 2.4.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!