This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to use custom actions in jsp - unexpected output

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to use custom action in my jsp but getting unexpected output.

Output



My tld file(DiceFuntions.tld) which is in WEB-INF directory



My jsp file



following is a method in my java class (DiceRoller.java)


am i missing something ???
[ May 30, 2007: Message edited by: Jigar Naik ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please check your web.xml, you might be using the wrong version.
Check the following :
http://faq.javaranch.com/view?ServletsWebXml
 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks dear...

Problem solved.. the problem was with web.xml version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic