Hi guys, can someone help me here as i am stack.. a further debugging shows 
that  is definetily null. This may also be due to the fact the there is 
confusion on the value returned by the

String name = (String) getPageContext().getRequest() 
.getAttribute('javax.servlet.include.servlet_path'); depending on whether its a 
include or a forward

http://www.caucho.com/resin-3.0/webapp/faq.xtp

From: [EMAIL PROTECTED]
To: [email protected]
Date: Wed, 2 Jul 2008 08:07:03 +0100
Subject: [Stripes-users] Forwarding to a jsp that uses stripes taglib from a    
filter








I have an intercepting filter that rewrites a url and forwards to the url 
(URLrewriter http://tuckey.org/urlrewrite/ )
 wrk lik
/contact will be retwritten as /contacts.jsp and forwarded to the jsp. However 
the jsp throws a very nice NPE. dont know. a little dig into the stripes
code reveals the execption on this line

        // Assuming that the layout definition page is always included, the 
following line gets
        // the name of the page the tag is sitting on, as per Servlet 2.4 spec, 
page 65.
        String name = (String) getPageContext().getRequest()
                .getAttribute('javax.servlet.include.servlet_path');

what can i do, to get round it. I have attached the stack trace

> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users

 Get Started! 

_________________________________________________________________
100’s of Nikon cameras to be won with Live Search
http://clk.atdmt.com/UKM/go/101719808/direct/01/
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to