struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Action Tag java.lang.StackOverflowError
Date Wed, 02 Sep 2009 16:15:27 GMT
I've been banging my head against the wall for the past 6+ hours or so and 
need help with this problem.

I am trying to call an action to display results on a page when the page 
is closed, but I keep getting a loop that keeps printing the data over and 
over until a StackOverflowError occurs.

My code looks like this:


<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

    <title>Action Tag</title>

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



<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns=""






    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"

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

package manning.chapterSix;

import com.opensymphony.xwork2.ActionSupport;

 * @author bnicely
public class TargetAction extends ActionSupport {

   public String execute(){
      return SUCCESS;

Can anyone assist me?

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