I've got a typical struts application up and running. Certain actions check to see if the user is logged in, and if not, forward to a login JSP. That JSP then posts to a LoginAction. The LoginAction then forwards back to the originally requested action.
The problem I have is that currently, this stuff is really hacked up. The login JSP has a hidden field indicating the desired action, and the action has to append a ".do" to that value, etc. The original action puts a request attribute in (the result of it calling mapping.getPath()). Surely, there is a much cleaner way to do this, one that works for both Actions and JSPs, and that works without special code to handle the URL mapping for actions. TIA, -- Rick -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

