Hi,
Is there a Stripes equivalent to the Struts SwitchAction to switch between
modules or another way to switch contexts from a ActionBean using the
RedirectResolution?
I have 5 applications that are deployed to JBoss, and use one login for all.
After the user logs in, they get to an url called say:
localhost:8080/myapp/Login.action
I'd like if they get an email with an url to be able to paste in the their
browser and get to a different context starting from the root context after
going through LoginAction that authenticates them. Say:
localhost:8080/mystore/Buy.action
How do I switch from the context /myapp to /mystore while I am in the
LoginActionBean? I tried RedirectResolution with prependContext=false but I'd
need something that gets the root context first not the current context;
another approach would be:
response.sendRedirect(response.encodeRedirectURL
("localhost:8080/mystore/Buy.action"));
These solutions don't look ideal though. Is there a simpler way?
Thanks in advance.
John
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development