You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Gagnon <mg...@genome.med.harvard.edu> on 2008/06/04 15:31:37 UTC
Cannot use multiple s:action tags?
When I attempt to use more than 1 s:action tag on a page, I just get back a
blank page - no error, no console output, just nothing.
My page just looks like:
<body>
<h1><s:property value="project.title"/></h1>
<s:action namespace="/admin/nextGen" name="ManageNotes"
executeResult="true">
<s:param name="id" value="%{project.id}"/>
</s:action>
<br/>
<s:action namespace="/admin/nextGen" name="ManageSamples"
executeResult="true">
<s:param name="id" value="%{project.id}"/>
</s:action>
<br/>
</body>
If I just use one action (either one alone), the page is correctly rendered
with that content. I see the header text with the content result of the
action. With both present, I don't even see the header text. I don't even
get any html back -- just blank. No struts error, no tomcat error...nothing.
Tomcat is running in eclipse, and my console shows no output beyond the
startup output. What might cause this?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Cannot use multiple s:action tags?
Posted by Martin Gainty <mg...@hotmail.com>.
tough to say without seeing the web.xml
I would be looking for the servlet entry for admin.NextGen.ManageNotes
and also the servlet web.xml entry for admin.NextGen.ManageSamples
also please display code for each Action class
Any or configurations in struts-config.xml should be displayed as well
Thanks
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> From: mgagnon@genome.med.harvard.edu
> To: user@struts.apache.org
> Subject: Cannot use multiple s:action tags?
> Date: Wed, 4 Jun 2008 09:31:37 -0400
>
> When I attempt to use more than 1 s:action tag on a page, I just get back a
> blank page - no error, no console output, just nothing.
>
> My page just looks like:
> <body>
> <h1><s:property value="project.title"/></h1>
> <s:action namespace="/admin/nextGen" name="ManageNotes"
> executeResult="true">
> <s:param name="id" value="%{project.id}"/>
> </s:action>
> <br/>
>
> <s:action namespace="/admin/nextGen" name="ManageSamples"
> executeResult="true">
> <s:param name="id" value="%{project.id}"/>
> </s:action>
> <br/>
> </body>
>
>
>
> If I just use one action (either one alone), the page is correctly rendered
> with that content. I see the header text with the content result of the
> action. With both present, I don't even see the header text. I don't even
> get any html back -- just blank. No struts error, no tomcat error...nothing.
> Tomcat is running in eclipse, and my console shows no output beyond the
> startup output. What might cause this?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
_________________________________________________________________
Search that pays you back! Introducing Live Search cashback.
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback