You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thomas Peters <tp...@aidera.com> on 2001/04/23 18:33:48 UTC

RE:

Is there something wrong?

I see no content in any of the messages...

-----Original Message-----
From: Chris Butler [mailto:chris.butler@unsurface.com]
Sent: Monday, April 23, 2001 11:53 AM
To: struts-user@jakarta.apache.org
Subject: 




Re[2]: Forward Problem

Posted by Oleg V Alexeev <go...@penza.net>.
Hello Sridhar,

 Hm.. But why do you place validate="false" attribute to the action
 mapping? I think it switch off validate process.

     validate        Set to "true" if the validate() method of the form bean
                     should be called prior to calling this action, or set to
                     "false" if you do not want validation performed.
 

Wednesday, June 13, 2001, 10:14:23 AM, you wrote:

SS> Thank U Oleg,

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

SS> Ne more hints???

SS> -----Original Message-----
SS> From: Oleg V Alexeev [mailto:gonza@penza.net]
SS> Sent: Wednesday, June 13, 2001 1:22 AM
SS> To: struts-user@jakarta.apache.org
SS> Subject: Re: Forward Problem


SS> Hello Sridhar,

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

SS> Here is quote from struts-config.dtd -

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



SS> 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
SS> 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
SS> in
SS>> input.

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

SS>>     <action    path="/registerFormAction"
SS>>                type="net.itcube.bsts.user.register.RegisterFormAction"
SS>>                name="registerForm"
SS>>               scope="session"
SS>>              input="/Register.jsp"
SS>>            validate="false">
SS>>       <forward name="success"           path="/PostRegistration.html"/>
SS>>     </action>


SS>> Once the action is performed action.findForward returns "success" (This
SS> 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
SS> 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.




SS> --
SS> Best regards,
SS>  Oleg                            mailto:gonza@penza.net






-- 
Best regards,
 Oleg                            mailto:gonza@penza.net



RE: Forward Problem

Posted by Sridhar S <sr...@itcube.net>.
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:gonza@penza.net]
Sent: Wednesday, June 13, 2001 1:22 AM
To: struts-user@jakarta.apache.org
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>     <action    path="/registerFormAction"
SS>                type="net.itcube.bsts.user.register.RegisterFormAction"
SS>                name="registerForm"
SS>               scope="session"
SS>              input="/Register.jsp"
SS>            validate="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,
 Oleg                            mailto:gonza@penza.net




Re: Forward Problem

Posted by Oleg V Alexeev <go...@penza.net>.
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>     <action    path="/registerFormAction"
SS>                type="net.itcube.bsts.user.register.RegisterFormAction"
SS>                name="registerForm"
SS>               scope="session"
SS>              input="/Register.jsp"
SS>            validate="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,
 Oleg                            mailto:gonza@penza.net



Forward Problem

Posted by Sridhar S <sr...@itcube.net>.
Hi All,

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

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

    <action    path="/registerFormAction"
               type="net.itcube.bsts.user.register.RegisterFormAction"
               name="registerForm"
              scope="session"
             input="/Register.jsp"
           validate="false">
      <forward name="success" 		path="/PostRegistration.html"/>
    </action>


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

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

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

Can someone please throw some light on it????


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



Re: Who, what, where, how and why?

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 23 Apr 2001, Ted Husted wrote:

> < http://www.husted.com/about/struts/kickstart.html > 
> 
> might interest you. 
> 
> There are well over 1000 subscribers to this list. 
> 

As of this morning, we're up to 1222 subscribers.

Craig


Re: Who, what, where, how and why?

Posted by Ted Husted <hu...@apache.org>.
< http://www.husted.com/about/struts/kickstart.html > 

might interest you. 

There are well over 1000 subscribers to this list. 

Thomas Peters wrote:
> 
> Looking into struts...
> 
> I am interested in getting information on who is using struts. Is this
> framework well adopted?
> I'd like to know what type of applications are being developed & who is
> developing them.
> Additionally, what is the approximate size of the developer community?
> 
> Thank you.

Who, what, where, how and why?

Posted by Thomas Peters <tp...@aidera.com>.
Looking into struts...

I am interested in getting information on who is using struts. Is this
framework well adopted?
I'd like to know what type of applications are being developed & who is
developing them.
Additionally, what is the approximate size of the developer community?

Thank you.


-----Original Message-----
From: Thomas Peters [mailto:tpeters@aidera.com]
Sent: Monday, April 23, 2001 12:34 PM
To: struts-user@jakarta.apache.org
Subject: RE:


Is there something wrong?

I see no content in any of the messages...

-----Original Message-----
From: Chris Butler [mailto:chris.butler@unsurface.com]
Sent: Monday, April 23, 2001 11:53 AM
To: struts-user@jakarta.apache.org
Subject: