Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tag with El

 
Nabila Mohammad
Ranch Hand
Posts: 661
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying out the following example from HFSJ .

I am not sure why my jsp is displaying a null value.
Do i need to forward it to the jsp. Getting more confused as I am reading further...

Any help would be appreciated !


Simpel.jsp



SimpleTagEl.java




SimpleEl.tld



 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2168
57
Android Chrome Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nabila!

What error do you get? Does it get to the tag handler code (do you see the System.out.println())?

The example works fine on my tomcat 5.5 server

Regards,
Frits
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2168
57
Android Chrome Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, I see where your problem is (bad formed html), change:

into:

I had removed that extra "<" when copying your code into my IDE that's is why I didn't see it the first time

Regards,
Frits
 
Nabila Mohammad
Ranch Hand
Posts: 661
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

I feel so stupid
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic