You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Anja Fischer, IBE" <an...@ibe.med.uni-muenchen.de> on 2007/07/05 14:18:28 UTC
Problems known using ValidatorActionForm?
Hi all,
I'm experiencing some problems using ValidatorActionForm. At this moment
I have already spent some hours looking for the cause, but before
posting my code in this list I want to ask if there are apps out there
using it successfully. Please send me a short message.
Best wishes,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Problems known using ValidatorActionForm?
Posted by "Raghupathy, Gurumoorthy" <Gu...@nielsen.com>.
Did that work?
If yes {
Welcome ... this is not actually a struts issue...
Classes in default package seems to have issues in tomcat.
} else {
Let me know if it worked ...
}
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 14:20
To: 'Struts Users Mailing List'
Subject: AW: Problems known using ValidatorActionForm?
Hi Guru,
nice trick. Thank you very much.
Anja
-----Ursprüngliche Nachricht-----
Von: Raghupathy, Gurumoorthy [mailto:Gurumoorthy.Raghupathy@nielsen.com]
Gesendet: Donnerstag, 5. Juli 2007 14:53
An: Struts Users Mailing List
Betreff: RE: Problems known using ValidatorActionForm?
Put everything in a package forms.Userform and then try ... I hope this
helps
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:44
To: 'Struts Users Mailing List'
Subject: AW: Problems known using ValidatorActionForm?
Hi Guru,
the response is a 'Servlet action is not available' Message, every time
I do some changes to the example validation.xml.
struts-config.xml
------------------
<action path="/checklogin" name="UserForm" type="actions.CheckLogin"
scope="request" validate="true" input="/index.jsp">
<forward name="Success" path="/start.do"/>
<forward name="LoggedOut" path="/loggedout.jsp"/>
<forward name="Failure" path="/index.jsp"/>
</action>
...
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
validation.xml
---------------
<formset>
<form name="/checklogin">
<field
property="username"
depends="required">
<arg key="form.username"/>
</field>
<field
property="password"
depends="required">
<arg key="form.password"/>
</field>
</form>
</formset>
and UserForm is derived from ValidatorActionForm.
Any ideas?
Anja
-----Ursprüngliche Nachricht-----
Von: Raghupathy, Gurumoorthy [mailto:Gurumoorthy.Raghupathy@nielsen.com]
Gesendet: Donnerstag, 5. Juli 2007 14:22
An: Struts Users Mailing List
Betreff: RE: Problems known using ValidatorActionForm?
What is the problem you are facing ... we have a big application running
well on struts 1.3 ...
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:18
To: user@struts.apache.org
Subject: Problems known using ValidatorActionForm?
Hi all,
I'm experiencing some problems using ValidatorActionForm. At this moment
I have already spent some hours looking for the cause, but before
posting my code in this list I want to ask if there are apps out there
using it successfully. Please send me a short message.
Best wishes,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
AW: Problems known using ValidatorActionForm?
Posted by "Anja Fischer, IBE" <an...@ibe.med.uni-muenchen.de>.
Hi Guru,
nice trick. Thank you very much.
Anja
-----Ursprüngliche Nachricht-----
Von: Raghupathy, Gurumoorthy [mailto:Gurumoorthy.Raghupathy@nielsen.com]
Gesendet: Donnerstag, 5. Juli 2007 14:53
An: Struts Users Mailing List
Betreff: RE: Problems known using ValidatorActionForm?
Put everything in a package forms.Userform and then try ... I hope this
helps
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:44
To: 'Struts Users Mailing List'
Subject: AW: Problems known using ValidatorActionForm?
Hi Guru,
the response is a 'Servlet action is not available' Message, every time
I do some changes to the example validation.xml.
struts-config.xml
------------------
<action path="/checklogin" name="UserForm" type="actions.CheckLogin"
scope="request" validate="true" input="/index.jsp">
<forward name="Success" path="/start.do"/>
<forward name="LoggedOut" path="/loggedout.jsp"/>
<forward name="Failure" path="/index.jsp"/>
</action>
...
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
validation.xml
---------------
<formset>
<form name="/checklogin">
<field
property="username"
depends="required">
<arg key="form.username"/>
</field>
<field
property="password"
depends="required">
<arg key="form.password"/>
</field>
</form>
</formset>
and UserForm is derived from ValidatorActionForm.
Any ideas?
Anja
-----Ursprüngliche Nachricht-----
Von: Raghupathy, Gurumoorthy [mailto:Gurumoorthy.Raghupathy@nielsen.com]
Gesendet: Donnerstag, 5. Juli 2007 14:22
An: Struts Users Mailing List
Betreff: RE: Problems known using ValidatorActionForm?
What is the problem you are facing ... we have a big application running
well on struts 1.3 ...
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:18
To: user@struts.apache.org
Subject: Problems known using ValidatorActionForm?
Hi all,
I'm experiencing some problems using ValidatorActionForm. At this moment
I have already spent some hours looking for the cause, but before
posting my code in this list I want to ask if there are apps out there
using it successfully. Please send me a short message.
Best wishes,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Problems known using ValidatorActionForm?
Posted by "Raghupathy, Gurumoorthy" <Gu...@nielsen.com>.
Put everything in a package forms.Userform and then try ... I hope this helps
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:44
To: 'Struts Users Mailing List'
Subject: AW: Problems known using ValidatorActionForm?
Hi Guru,
the response is a 'Servlet action is not available' Message, every time
I do some changes to the example validation.xml.
struts-config.xml
------------------
<action path="/checklogin" name="UserForm" type="actions.CheckLogin"
scope="request" validate="true" input="/index.jsp">
<forward name="Success" path="/start.do"/>
<forward name="LoggedOut" path="/loggedout.jsp"/>
<forward name="Failure" path="/index.jsp"/>
</action>
...
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
validation.xml
---------------
<formset>
<form name="/checklogin">
<field
property="username"
depends="required">
<arg key="form.username"/>
</field>
<field
property="password"
depends="required">
<arg key="form.password"/>
</field>
</form>
</formset>
and UserForm is derived from ValidatorActionForm.
Any ideas?
Anja
-----Ursprüngliche Nachricht-----
Von: Raghupathy, Gurumoorthy [mailto:Gurumoorthy.Raghupathy@nielsen.com]
Gesendet: Donnerstag, 5. Juli 2007 14:22
An: Struts Users Mailing List
Betreff: RE: Problems known using ValidatorActionForm?
What is the problem you are facing ... we have a big application running
well on struts 1.3 ...
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:18
To: user@struts.apache.org
Subject: Problems known using ValidatorActionForm?
Hi all,
I'm experiencing some problems using ValidatorActionForm. At this moment
I have already spent some hours looking for the cause, but before
posting my code in this list I want to ask if there are apps out there
using it successfully. Please send me a short message.
Best wishes,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
AW: Problems known using ValidatorActionForm?
Posted by "Anja Fischer, IBE" <an...@ibe.med.uni-muenchen.de>.
Hi Guru,
the response is a 'Servlet action is not available' Message, every time
I do some changes to the example validation.xml.
struts-config.xml
------------------
<action path="/checklogin" name="UserForm" type="actions.CheckLogin"
scope="request" validate="true" input="/index.jsp">
<forward name="Success" path="/start.do"/>
<forward name="LoggedOut" path="/loggedout.jsp"/>
<forward name="Failure" path="/index.jsp"/>
</action>
...
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
validation.xml
---------------
<formset>
<form name="/checklogin">
<field
property="username"
depends="required">
<arg key="form.username"/>
</field>
<field
property="password"
depends="required">
<arg key="form.password"/>
</field>
</form>
</formset>
and UserForm is derived from ValidatorActionForm.
Any ideas?
Anja
-----Ursprüngliche Nachricht-----
Von: Raghupathy, Gurumoorthy [mailto:Gurumoorthy.Raghupathy@nielsen.com]
Gesendet: Donnerstag, 5. Juli 2007 14:22
An: Struts Users Mailing List
Betreff: RE: Problems known using ValidatorActionForm?
What is the problem you are facing ... we have a big application running
well on struts 1.3 ...
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:18
To: user@struts.apache.org
Subject: Problems known using ValidatorActionForm?
Hi all,
I'm experiencing some problems using ValidatorActionForm. At this moment
I have already spent some hours looking for the cause, but before
posting my code in this list I want to ask if there are apps out there
using it successfully. Please send me a short message.
Best wishes,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Problems known using ValidatorActionForm?
Posted by "Raghupathy, Gurumoorthy" <Gu...@nielsen.com>.
What is the problem you are facing ... we have a big application running
well on struts 1.3 ...
Regards
Guru
-----Original Message-----
From: Anja Fischer, IBE [mailto:anja.fischer@ibe.med.uni-muenchen.de]
Sent: 05 July 2007 13:18
To: user@struts.apache.org
Subject: Problems known using ValidatorActionForm?
Hi all,
I'm experiencing some problems using ValidatorActionForm. At this moment
I have already spent some hours looking for the cause, but before
posting my code in this list I want to ask if there are apps out there
using it successfully. Please send me a short message.
Best wishes,
Anja
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org