File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes <jsp:include TO_ACTION/> do not work on WAS 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<jsp:include TO_ACTION/> do not work on WAS 6.1" Watch "<jsp:include TO_ACTION/> do not work on WAS 6.1" New topic
Author

<jsp:include TO_ACTION/> do not work on WAS 6.1

Sebastiao Santos
Greenhorn

Joined: Jun 12, 2003
Posts: 5
Hi,

I'm having problems to compose pages with <jsp:include .../> on WAS, on JBoss x Tomcat every works fine.

I've tried a lot, but my <jsp:include page="bla.action" /> do not work in Websphere 6.1.

Everytime I get a recursive include to my home page.

If I remove the <jsp:include ...> to action and put data + include to jsp rendering the data, all works fine.

I have JAAS protecting all my actions, but this happens after I've got success login.

As I'm desperated and tried everything, now I'm trying not to use the Struts2 Filters, but one Servlet as dispatcher to prepare and execute the actions like above:


I'm not using sitemesh, but have struts clean up filters up and running:


When I was using FilterDispatcher, I've used FORWARD, REQUEST, INCLUDE, ERROR as dispatching, but, none works.

On my struts.xml I have something like:


Someone knows what is happening with my jsp:include *.action ?

[]'s
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: <jsp:include TO_ACTION/> do not work on WAS 6.1
 
Similar Threads
After upgrading from 2.0.x to 2.2.x, static content no longer loads
servlet filter sendRedirect
Struts2 Action/OGNL in SiteMesh decorator
Struts2 integration with Spring Security
moved from jboss-4.0.3 to jboss-5.1.0 where do I put my war files