Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
When I call Application.forward from a PSP file I get a 404 error from
Apache that the redirected page cannot be found. This is because the forward
method's url rewriting code appears to be geared toward use of a .cgi module
So, for example in source.psp, the statement app.forward(trans,
'target.psp') results in '404 source.psp/var/www/html/target.psp not found.'
I understand how this would be correct if I was using a
I'm trying to implement the SecureCountVisit example (from WebKit/Examples)
but using PSP instead of servlets.
It seems like in the example code, that the forward method is able to cause
the login form to be displayed without setting an action parameter on the
form and without actually changing the servlet from SecureCountVisits to
LoginPage. This has the effect of having the form's action parameter refer
to itself (which causes the SecureCountVisit servlet to be called to handle
How do you make Application.forward write the correct url when using PSP
instead of directly calling servlets? I think I can see how sendRedirect
could be used to work around this but I'd like to avoid this if possible
since it seems like I'd have to write more code to pass variables around in
the request object so that the state stays correct.