RE: Forward Problem

2001-06-12 Thread Sridhar S

Thank U Oleg,

But like I mentioned earlier if I remove the input tag, it gives me a page
not found error

Ne more hints???

-Original Message-
From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 1:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Forward Problem


Hello Sridhar,

Try to remove 'input' attribute from action mapping. I view
validate=false here - you are not use validate after form submitting -
why do you specify input attribute?

Here is quote from struts-config.dtd -

 input   Context-relative path of the input form to which
control
 should be returned if a validation error is
encountered.
 Required if name is specified and the input bean
 returns validation errors.  Optional if name is
 specified and the input bean does not return validation
 errors.  Not allowed if name is not specified.



Tuesday, June 12, 2001, 5:49:55 PM, you wrote:

SS Hi All,

SS We are using Struts Version 1. We are having a problem with the forward
tag
SS of the action defined in struts-config.xml.
SS No matter what is defined in the forward it is going to the page defined
in
SS input.

SS I am attaching a part of the struts-config for clarity:

SS actionpath=/registerFormAction
SStype=net.itcube.bsts.user.register.RegisterFormAction
SSname=registerForm
SS   scope=session
SS  input=/Register.jsp
SSvalidate=false
SS   forward name=success   path=/PostRegistration.html/
SS /action


SS Once the action is performed action.findForward returns success (This
we
SS checked!!!). But still the page in the above case goes to Register.jsp
SS instead of PostRegistration.html.

SS If we remove the input tag it gives a 500 page not found error.

SS We have successfully deployed a project on struts with an earlier
version
SS and never faced such a problem.

SS Can someone please throw some light on it


SS Cheers,
SS Sridhar S
SS You must be the change you wish to see in the world
SS  --- Mahatma Gandhi.




--
Best regards,
 Olegmailto:[EMAIL PROTECTED]






RE: reloading issue

2001-03-19 Thread Sridhar S



hi Ali,

A change in a jsp does not warrant a restart but the 
others do. Any change in struts-config or an action class is not reflected 
otherwise. A changed form bean will sometimes throw an exception too.
Cheers,
Sridhar 
S
Real knowledge is to know 
the extent of one's ignorance.

  -Original Message-From: Ali Ozoren 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 20, 2001 3:44 
  PMTo: [EMAIL PROTECTED]Subject: reloading 
  issue
  
  Hi 
  all, Im new in this list so please be patient. I looked into docs and mail 
  archives, and deja but couldnt find a solution to the problem. Every time I 
  make a chance in the formbean, action, jsp, or the strut-config.xml file, I 
  have to stop and restart Tomcat. Is this necessary (if yes, dang!), if not how 
  can I correct this (making every change not requiring restarting 
  Tomcat)?
  Thanks
  --a