Hello,
 
Let me just say that I'm struggling at times writing my first production Struts 
application.  The issue that I'm trying to wrestle with now is that part of the 
application requires security, and part of it should allow general access to 
the public.  This sounds like a case for modules (I think).  So, I separated 
the code into a main folder, and then two other folders (the secure, and 
another subsystem which is not secure).
 
If I need to have the unprotected system and the protected system SHARE some 
code as well, I'm assuming I have to keep that in the default module, since 
otherwise, a security constraint would pop up when the unauthenticated user 
tried to hit those pages.  If I'm in the authenticated module and I want to 
start a process that's defined in my default module, how would I do that?
 
That is, would it be as simple as adding a link to my JSP in my auth'd app 
pointing back to the unauth'd:
<html:link module="" path="/StartApp.do" >Start an application 
process</html:link>
 
Now, I have two users running app entry (one auth'd and one not).  If they 
start an application and cancel it, they should return to their prospective 
"subsystem".  What am I setting up in my struts-config.xml file(s) to handle 
this, and then in my action class?  Can you be specific on this (with an 
example of code)?
 
I really appreciate any help on this one - Thanks much,
 
Eric

Reply via email to