struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Action Tag java.lang.StackOverflowError
Date Wed, 02 Sep 2009 19:14:28 GMT

1) Create a file called snippet.jsp with just:

            And this line is from the target action.

2) Change result in your struts.xml to read

   <package name="default" extends="struts-default">
      <action name="TargetAction" class="manning.chapterSix.TargetAction">

3) Just a comment: you are overriding the execute() method with the same functionality you
are inheriting from ActionSupport so your TargetAction can be abbreviated to:

package manning.chapterSix;
import com.opensymphony.xwork2.ActionSupport;
public class TargetAction extends ActionSupport {}


4) index.jsp stays the same:

        <title>Action Tag</title>
            Action Tag
        <hr />
            This line is before the ActionTag invokes the secondary action.
   <s:action name="TargetAction" executeResult="true" />





-----Original Message-----
To: Struts Users Mailing List <>
Sent: Wed, Sep 2, 2009 2:14 pm
Subject: Re: Action Tag java.lang.StackOverflowError

Is there an example you could point me to (that actually works) or help me 
get my example working?
Brian E. Nicely
Programmer / Analyst
Knowledge Management
1717 South Philo Road, Suite 36
Urbana, IL 61802
P: 217-337-9700, 9799
F: 217-337-0599
The information contained in this e-mail, and any attachments hereto, is 
from The American Society for the Prevention of Cruelty to Animals® (ASPCA
®) and is intended only for use by the addressee(s) named herein and may 
contain legally privileged and/or confidential information. If you are not 
the intended recipient of this e-mail, you are hereby notified that any 
dissemination, distribution, copying or use of the contents of this 
e-mail, and any attachments hereto, is strictly prohibited. If you have 
received this e-mail in error, please immediately notify me by reply email 
and permanently delete the original and any copy of this e-mail and any 
printout thereof.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message