• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag with El

 
Nabila Mohammad
Ranch Hand
Posts: 664
  • 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
Posts: 2791
181
Android Chrome Eclipse IDE
  • 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
Posts: 2791
181
Android Chrome Eclipse IDE
  • 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: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

I feel so stupid
 
my overalls have superpowers - they repel people who think fashion is important. 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!