Re: Forward to action without jsp

2006-09-29 Thread Albert L. Sapp
hoice is: Edit My Profile (for example), which invokes the action from #1 public ActionForward execute( ) throws ... { String userId = request.getParameter("userId"); UserProfile up = service.getProfile( userId ); BeanUtils.copyProperties( form, up ); return &quo

Re: Forward to action without jsp

2006-09-29 Thread Andy.de
Frank W. Zammetti wrote: > > Just do: > > Frank > Hi Frank, that was the hint i needed, thx Regards, Andy -- View this message in context: http://www.nabble.com/Forward-to-action-without-jsp-tf2350751.html#a6562710 Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Forward to action without jsp

2006-09-28 Thread Venkata Phani Kumar
- Original Message - From: "Andy.de" <[EMAIL PROTECTED]> To: Sent: Thursday, September 28, 2006 6:25 PM Subject: Forward to action without jsp > > Hi all, > how can i forward to an action without input (jsp) ? > The path attribute of action tag in struts-config must point to jsp's. To

RE: Forward to action without jsp

2006-09-28 Thread Andy.de
uccess"; > } > > 3. The user ends up on the profileEdit.jsp page with the data filled into > the form bean. > > -Original Message- > From: Andy.de [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 28, 2006 10:07 AM > To: user@struts.apache.org > Subje

Re: Forward to action without jsp

2006-09-28 Thread Frank W. Zammetti
On Thu, September 28, 2006 10:07 am, Andy.de wrote: > Hi Wendy, > i have an action 'load object from database', on execute() the form bean > is filled with values from database. On success i want to forward to the > jsp > to > display the object. The user can change the values and submit the jsp,

RE: Forward to action without jsp

2006-09-28 Thread Givler, Eric
oops! return mapping.findForward("success"); -Original Message- From: Givler, Eric [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 10:23 AM To: Struts Users Mailing List Subject: RE: Forward to action without jsp I'm not sure I understand what's wron

RE: Forward to action without jsp

2006-09-28 Thread Givler, Eric
m: Andy.de [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 10:07 AM To: user@struts.apache.org Subject: Re: Forward to action without jsp Wendy Smoak-3 wrote: > > On 9/28/06, Andy.de <[EMAIL PROTECTED]> wrote: > >> how can i forward to an action without input (j

Re: Forward to action without jsp

2006-09-28 Thread Andy.de
Wendy Smoak-3 wrote: > > On 9/28/06, Andy.de <[EMAIL PROTECTED]> wrote: > >> how can i forward to an action without input (jsp) ? > > I'm not sure what you're asking. What do you want the user to be able to > do? > > In general, any URL that maps to an Action will execute the action, > whet

Re: Forward to action without jsp

2006-09-28 Thread Wendy Smoak
On 9/28/06, Andy.de <[EMAIL PROTECTED]> wrote: how can i forward to an action without input (jsp) ? I'm not sure what you're asking. What do you want the user to be able to do? In general, any URL that maps to an Action will execute the action, whether or not there is any 'input' (request pa