Re: How to create a No Action ActionForward

2004-02-22 Thread James Adams
I think Srikanth has hit the nail on the head, in that I am not fully utilizing what is already available with vanilla J2EE, namely security roles, authorization constraints, and error pages, all of which I can declare in the deployment descriptor of my web app. But I still want to use a Struts

How to create a No Action ActionForward for return from an Action's execute() ?

2004-02-19 Thread James Adams
I have created an Action class which does session validation by checking to see if a loggedIn flag is set in the session - if it is absent, or set to false, then I want to forward to the login page. However if it is set to true then I don't want to do anything - the execute() method should just

Re: How to create a No Action ActionForward for return from an Action's execute() ?

2004-02-19 Thread James Adams
Thanks for all of the suggestions on how to solve this problem. You have all given good ideas and introduced me to concepts that I am unfamiliar with as a beginner with Struts. To further clarify what I want to do, in case it will lead to more pointed suggestions - I am including this session

html:errors/ not displaying the errors?

2003-07-30 Thread James Adams
Hello, I'm using DynaValidatorForm to check certain form fields are entered as required. The validation is done sucessfully but I've recently added somthing that seems to have stopped html:errors/ from displaying the errors? Does anyone have any suggestions why this might have happened? is

Re: html:errors/ not displaying the errors?

2003-07-30 Thread James Adams
in the module the errors showed up. -Original Message- From: James Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:51 AM To: [EMAIL PROTECTED] Subject: html:errors/ not displaying the errors? Hello, I'm using DynaValidatorForm to check certain form fields are entered