You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mauricio T. Ferraz" <ma...@cilix.com.br> on 2004/01/09 21:15:29 UTC

Re: Action to JSP - Works!!!

Thanks People

Works!!!

Thanks Geeta for the solution

[]´s
Mauricio


----- Original Message -----
From: "Geeta Ramani" <ge...@cmpco.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, January 09, 2004 6:06 PM
Subject: Re: Action to JSP


> The easiest way is perhaps to simply add a "redirect=true" in your action
mapping.  However, be aware that this will kill your request attributes
(since your request
> object is no longer forwarded..)
>
> Regards,
> Geeta
>
> "Mauricio T. Ferraz" wrote:
>
> > There are a way to:
> >
> > When a click in a link in my jsp page, in address bar in my browser dont
write the name of the action, and go direct to the jsp page (defined in
action forward) ???
> >
> > Thanks.
> > Mauricio
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Action to JSP - Works!!!

Posted by Brice Ruth <br...@fiskars.com>.
be aware that this is not a good thing to do "in general" ... as you'll 
never be able to make use of the request scope for variables which 
*will* bite you at some point down the road.

If someone doesn't like the *.do at the end of the action name, then you 
really need to address a solution other than redirecting everything to JSPs.

Just my $0.02.

Mauricio T. Ferraz wrote:

>Thanks People
>
>Works!!!
>
>Thanks Geeta for the solution
>
>[]´s
>Mauricio
>
>
>----- Original Message -----
>From: "Geeta Ramani" <ge...@cmpco.com>
>To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>Sent: Friday, January 09, 2004 6:06 PM
>Subject: Re: Action to JSP
>
>
>  
>
>>The easiest way is perhaps to simply add a "redirect=true" in your action
>>    
>>
>mapping.  However, be aware that this will kill your request attributes
>(since your request
>  
>
>>object is no longer forwarded..)
>>
>>Regards,
>>Geeta
>>
>>"Mauricio T. Ferraz" wrote:
>>
>>    
>>
>>>There are a way to:
>>>
>>>When a click in a link in my jsp page, in address bar in my browser dont
>>>      
>>>
>write the name of the action, and go direct to the jsp page (defined in
>action forward) ???
>  
>
>>>Thanks.
>>>Mauricio
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>  
>

-- 
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org