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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 744
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: 14672
    
  11

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: 744
Thanks dear...

Problem solved.. the problem was with web.xml version.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Trying to use custom actions in jsp - unexpected output
 
Similar Threads
TLD file
Regarding TLD
Problem While using EL
Looking for your help in fixing a issue in tag library.
EL syntax error