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 how to include struts action in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to include struts action in jsp" Watch "how to include struts action in jsp" New topic
Author

how to include struts action in jsp

sridhar gandikota
Ranch Hand

Joined: Jul 09, 2008
Posts: 31
How to include the struts action in JSP include tag?
sridhar gandikota
Ranch Hand

Joined: Jul 09, 2008
Posts: 31
in other words,how to include struts action in <jsp:include ...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I've never tried it before, but did you try just including the ".do" suffix with the action path? Example:

If that doesn't work, I doubt that it's possible to call an action from a jsp:include.


Merrill
Consultant, Sima Solutions
sridhar gandikota
Ranch Hand

Joined: Jul 09, 2008
Posts: 31
Please let me know the equivalent <JSP:include.. in struts2 framework.I tried with
<jsp:include page="/myaction.action" it didn't work
James Jithin
Greenhorn

Joined: Mar 08, 2011
Posts: 2
I had to do this and has found this works fine

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to include struts action in jsp