Hi all,
I'm trying to do the following:
I have a custom action that check if a user is logged in.
If it is not, this action forward to a login action.
Now my problem is, how can I have the login action forward back to the
page the user tried to reach before being forwarded to the login for
> But you can find couple of solutions here, I was too lazy to give a shot:
>
> http://forum.java.sun.com/thread.jspa?threadID=614714&messageID=3411424
Thanks a lot for the URL. A method that just keep
request.getRequestURI() and do a sendRedirect to this value works very
well...
--
Be
Hi all,
First of all, I'm not sure what I want to do is the right way to handle
my problem, so all suggestion, even if they are not a response to the
problem asked would be appreciate.
I'd like to implement the possibility to upload files to my
application. The uploading part is not really the
Thanks for your answers, it helps me resolved my problem.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t find that really appealing.
Is there a way to do it using only Struts?
--
Benjamin Lerman
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
Let say I have a line like this one in my struts-config.xml:
Can I change dynamically the type associated to fooForm ?
Thanks
Benjamin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
> I don't actually know.
I found out. With a ModuleConfig object you can retrieve the ActionForm
mappings and modify it.
> But why would you want to?
I want to be able to define an external module that plugs in an
existing struts application. This module must define a .jsp file and a
form to g
> can you please demonstrate how u did that? where do we use the ModuleConfig
> Object...
Well, you have two solutions to get an ModuleConfig object.
You can get it in a struct actions, using
getServletContext().getAttribute(Globals.MODULE_KEY), or in any place
that can get the ServletContext,
8 matches
Mail list logo