This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

problem in DynaValidationForm  RSS feed

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi to all

i am not getting the parameter values whlie dispalying the errors. i am providing all my code here can any one help me regarding this



Form Bean class:URformBean.java


Action class:URAction.java



Form: urform.jsp



and
sucess page after sucessfully registered

struts-config.xml



validation.xml

[code]

<formset>
<form name="URForm">
<field
property="userName"
depends="required">
<arg0
name="required"
key="userName"
resourse="true"/>
</field>
<field
property="passOne"
depends="required">
<arg0
name="required"
key="passOne"
resourse="false"/>
</field>
<field
property="passTwo"
depends="required">
<arg0
name="required"
key="passTwo"
resourse="false"/>
</field>
<field
property="age"
depends="required,range">
<arg0
name="required"
key="age"
resourse="false"/>
<arg0
name="range"
key="age"
resourse="false"/>
<arg1
name="range"
key="${var:min}"
resourse="false"/>
<arg2
name="range"
key="${var:max}"
resourse="false"/>
<var>
<var-name>min</var-name>
<var-value>25</var-value>
</var>
<var>
<var-name>max</var-name>
<var-value>50</var-value>
</var>
</field>
<field
property="email"
depends="required,email">
<arg0
name="required"
key="email"
resourse="false"/>
<arg0
name="email"
key="email"
resurse="false"/>
</field>
</form>
</formset>



all the above are different source code and im not getting any errors or exceptions
can any one tell where i am doing mistakes


regards
 
Fire me boy! Cool, soothing, shameless self promotion:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!