permaculture playing cards*
The moose likes JSP and the fly likes taglib not working in error page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "taglib not working in error page" Watch "taglib not working in error page" New topic
Author

taglib not working in error page

chiku awasthi
Greenhorn

Joined: Mar 19, 2008
Posts: 28
Hi,
I am facing a problem where taglibs are not working in error page, if the error page is accessed directly from browser it is displayed correctly,
but when it is executed due to an exception none of the laglibs are executed. Any help in this regard will be very much appreciated.

Thanks,
Shrey
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60740
    
  65

Please read ItDoesntWorkIsUseless and supply the missing information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
chiku awasthi
Greenhorn

Joined: Mar 19, 2008
Posts: 28
Thanks for pointing me in right direction :), all I am getting in the error page (when invoked after an exception is thrown) is simple text, none of the properties included in the tag libs are working,
example <security:authentication> or <c:if> or even CSS formatting, but when I access the page directly all the tags and css formatting is getting evaluated correctly.

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60740
    
  65

Are the tags simply not being interpreted? What's sent to the browser (View Source)? Are there any errors in the logs? How are you configuring the error page? These are all things we need to know.
 
jQuery in Action, 2nd edition
 
subject: taglib not working in error page
 
Similar Threads
generating dynamic tags
Strange Javascript Error
Unable to compile class for JSP
jsp error page is not working
Tld files in WEB-INF