wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to include struts action in jsp
 
Similar Threads
javax.servlet package with struts.
Cannot retrieve mapping for action
JSP---> Struts
How to include an action using jsp:include in a jsp in Struts 2
JSP---> Struts