Wes
>
>
> --
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
>
--
View this message in context:
http://www.nabble.com/St
On Thu, Jun 25, 2009 at 1:36 PM, Kelly.Graus wrote:
>
>
> This is the redirect action. it redirects to the action, but the post
> parameter isn't set.
>
> type="redirect-action">submitXmlLicenseRequest
>
>
>
Which version of struts are you using, redirect-action was renamed to
redirectA
on the OGNL
> stack should work for you:
>
>
>
> submitXmlLicenseRequest
> ${#parameters.licenseRequest}
>
>
>
> Brice
>
--
View this message in context:
http://www.nabble.com/Struts2-redirect-action-with-post-params-tp24207810p24208402.html
Sent fr
censeRequest=${licenseRequest}
type="redirect-action">submitXmlLicenseRequest?licenseRequest=${Parameters.licenseRequest}
submitXmlLicenseRequest
${licenseRequest}
submitXmlLicenseRequest
${Parameters.licenseRequest}
Thanks for any suggestions
submitXmlLicenseRequest
${licenseRequest}
submitXmlLicenseRequest
${Parameters.licenseRequest}
Thanks for any suggestions!
Kelly
--
View this message in context:
http://www.nabble.com/Struts2-redirect-act
Thank you so much for you help. Yes, we do want the other action to execute
before reaching the jsp ... as i was refactoring the code, i read your next
response, and yes, the "chain" result is exactly the fix for me. I think
action chaining is in general frowned on, but for my initial login, i th
I just realized that the proposed solution won't do what you want it
to do either, since you obviously want the other action to run before
the jsps are dispatched... So, you either have to re-structure your
code a bit and invoke the other actions directly (either manually or
by specifying it as the
I think I have figured out the problem. The problem is that
"redirectAction" doesn't really do what you think it does, not when
used in the render phase. I should probably implement a check for
this, as you can't do a sendRedirect in a portlet. "redirectAction" in
a portlet should only be used afte
I have debugged through my own code, but not too deeply through the struts2
code. I did notice when running it with struts 2.0.11, that there was a
warning that the actionMapper property of the PortletActionRedirectResult
was not set b/c the bean could not be found.
Would something in the web.xml
Hm I usually experience this behaviour when the JSPs aren't
found... Other than that, redirectAction runs just fine in my sample
applications. Have you tried launching in debug mode and step through
the code? Can you show your portlet.xml file?
Nils-H
On Jan 15, 2008 7:58 PM, Brian Relph <[EM
My WEB-INF/index.jsp is used so that i can use the same installation as both
a portlet and a servlet. Websphere comes with an embedded portlet container
as well as a servlet that can serve portlets as servlets, so i can install
my webapp a single time and have it accessible both in and out of my p
Are you running this in a portlet container? Your index.jsp and the
redirect url does not make sense i a portal server (unless you are
embedding it in some way)? Please provide some more information.
Nils-H
On Jan 15, 2008 6:38 PM, Brian Relph <[EMAIL PROTECTED]> wrote:
> I am having trouble
I am having trouble getting a redirectAction to work. I am using
struts2-portlet-plugin-2.1.1-SNAPSHOT, i have also tried using
struts-2.0.11with no luck. Any advice? Here are my configs:
WEB-INF/index.jsp
<%
String redirectURL = "view/index.action";
response.sendRe
Hi,
I want to do a redirection to an action based on the result name of some
other action.
The problem is that I want to pass a number of parameters that I don't know
in advance how many they are (neither their values).
I have only a query string available (like ?p1=v1&p2=v2&ord=1 ...).
I have the
> > To: Struts Users Mailing List < user@struts.apache.org >
> > > Sent: Friday, October 26, 2007 6:17:22 AM
> > > Subject: Struts2 redirect-action params with ognl-expression values
> > >
> > > Hi.all.
> > > Recently,I'v encounter a proble
ute included in the form upload post via a hidden form
> field or other means?
>
> d.
>
> - Original Message
> > From: Andvar Woo <[EMAIL PROTECTED]>
> > To: Struts Users Mailing List
> > Sent: Friday, October 26, 2007 6:17:22 AM
> > Subject: Stru
Is the "id" attribute included in the form upload post via a hidden form field
or other means?
d.
- Original Message
> From: Andvar Woo <[EMAIL PROTECTED]>
> To: Struts Users Mailing List
> Sent: Friday, October 26, 2007 6:17:22 AM
> Subject: Struts2 redi
Did you try this ?
ModNews
${id}
Julien
-Message d'origine-
De : Andvar Woo [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 26 octobre 2007 12:17
À : Struts Users Mailing List
Objet : Struts2 redirect-action params with ognl-expression values
Hi.all.
Recentl
Hi.all.
Recently,I'v encounter a problem.
The problem comes as follows:
*First invoke a MdfNews Action with a news id param to init some
variables,then goes*
*to a newsModify.jsp page ,something like
http://www.comanyName.com/news/MdfNews.action?id=123*
/WEB-INF/template/newsinfo/newsModify.j
19 matches
Mail list logo