aspose file tools*
The moose likes JSP and the fly likes Trying to use custom actions in jsp - unexpected output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Trying to use custom actions in jsp - unexpected output" Watch "Trying to use custom actions in jsp - unexpected output" New topic
Author

Trying to use custom actions in jsp - unexpected output

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 751
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 ]

Jigar Naik


Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Can you please check your web.xml, you might be using the wrong version.
Check the following :
http://faq.javaranch.com/view?ServletsWebXml


[My Blog]
All roads lead to JavaRanch
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 751
Thanks dear...

Problem solved.. the problem was with web.xml version.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to use custom actions in jsp - unexpected output
 
Similar Threads
Regarding TLD
TLD file
Looking for your help in fixing a issue in tag library.
Problem While using EL
EL syntax error