You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kurniawan Kuga <ku...@meruvian.org> on 2008/12/04 03:02:43 UTC

Redirect Action

hi there,,
is there a way to redirect from
http://localhost:8080/cimeng/kuga <http://localhost:8080/cimeng/beceel>
to
http://localhost:8080/cimeng/ <goog_1228353173619>profile.action?name=kuga

how to take the name "kuga"
for "profile.action?name=kuga"

thanks
-- 
Kurniawan

Meruvian
BlueOxygen Workspace Developer
One Stop Java and Enterprise OSS Provider
Technopreneurship, Training, Internship, Outsourcing and Corporate
Competency Center

Mobile: +62 856 597 797 20
YM:kuga_maxs@yahoo.com <YM...@yahoo.com>
GTalk: kurniawan.kuga@meruvian.org

Re: Redirect Action

Posted by dusty <du...@yahoo.com>.
You may want to look at the ActionMapper interface.

See here
http://www.nabble.com/URL-Mapper-Best-Pracitices-Question-td19523090.html#a19533299 
>> Jeremy's response

and here:
http://www.nabble.com/Custom-URL-in-Struts-2-td12160278.html#a12166651  >>
talks about the difference between actionmapper and URLRewrite

and here: 
http://www.nabble.com/using-CompositeActionMapper-td19695907.html#a19718153 
>> specifics on configuration for 2.1.x Struts

and here:
http://www.nabble.com/action-mapping---how-can-I-map-ALL-incoming-urls-to-one-action--td15455008.html#a15457119  
>> about how to hard code a mapping between a url and a given action (which
is like your case)

and here:  http://struts.apache.org/2.x/docs/actionmapper.html  >> docs for
ActionMapper

and here:  http://blog.rakeshxp.com/2007/08/struts2-custom-urls.html  >>
some blog post about a customActionMapper.




Kurniawan Kuga wrote:
> 
> hi there,,
> is there a way to redirect from
> http://localhost:8080/cimeng/kuga <http://localhost:8080/cimeng/beceel>
> to
> http://localhost:8080/cimeng/ <goog_1228353173619>profile.action?name=kuga
> 
> how to take the name "kuga"
> for "profile.action?name=kuga"
> 
> thanks
> -- 
> Kurniawan
> 
> Meruvian
> BlueOxygen Workspace Developer
> One Stop Java and Enterprise OSS Provider
> Technopreneurship, Training, Internship, Outsourcing and Corporate
> Competency Center
> 
> Mobile: +62 856 597 797 20
> YM:kuga_maxs@yahoo.com <YM...@yahoo.com>
> GTalk: kurniawan.kuga@meruvian.org
> 
> 

-- 
View this message in context: http://www.nabble.com/Redirect-Action-tp20825847p20826667.html
Sent from the Struts - User mailing list archive at Nabble.com.


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