WebSphere Portal Server - Struts redirect to url mapping

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2007 > Struts redirect to url mapping





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Struts redirect to url mapping

2007-06-08, 7:21 pm

Hello-

I'm having problems redirecting to a url mapping (/client/admin). In the performAction method I would normally use

return new Actionforward("/index.jsp", true)

while staying in the context. This does not work with the following

/wps/myportal/client/admin or
/client/admin

since struts stays within the application context.

So I tried the compelete path

http://localhost/wps/myportal/client/admin

in

response.sendRedirect("http://localhost/wps/myportal/client/admin");
return null;

and I get a

"400 unable to include ..." error. Which seem to be specific to IBM struts.


So...

Does anybody have a way to redirect to a url mapping through struts?


Thanks for any help,
E


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com