Hello again :)
Just another little one that seems to be keeping me up all night...
public void redirect(HttpServletRequest req, HttpServletResponse resp,
String page) {
try {
req.getRequestDispatcher(page).forward(req, resp);
} catch (IOException ex) {
System.out.println("IOException: " + ex);
} catch (ServletException ex) {
System.out.println("ServletException: " + ex);
}
}
This is in my little Bean that forwards me to other pages when stuff
happens. Just it doesn't do it. It returns to this page in a super loop,
until the stream is closed. I pass in data to this call like this:
redirect(req, resp, "/home/page1.html");
as being that's the page I want this one to jump to. But its just not
happening. :(
anyone tell me where ive been a muppet?
Ta
aNt
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------