• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validator no firing

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My JSP page - partly included

<td colspan="2" bgcolor="#ffffff">
<table cellspacing="0" cellpadding="3" width="98%" align="center" summary="" bgcolor="#EEEEEE" border="0">
<tbody>
<tr bgcolor="#ffffff">
<td width="24%">
<div align="right">First Name<span class="rank">*</span></div>
</td>
<td width="25%"><b><html:text property="firstName" /></b></td>
<td width="25%">
<div align="right">Country<span class="rank">*</span></div>
</td>
<td width="26%"><b><html:select property="country">

My Config file partly

<form-bean name="registerationBean" type="com.zerodegrees.struts.forms.auth.RegisterFormBean" />
<action path="/register"
type="com.zerodegrees.struts.actions.auth.RegisterAction"
name="registerationBean"
scope="request"
validate="true"
input="/views/auth/registration.jsp">
<forward name="success" path="/views/auth/registerConfirm.jsp" />
</action>

My application resources - partly
prompt.remember=Remember Me
prompt.forgotpassword=Forgot Password?
prompt.signup=Sign Up Now!
prompt.firstname=First Name
prompt.lastname=Last Name
prompt.company=Company
prompt.title=Title
prompt.industry=Industry

My form bean extends the validator form and has all the getter and setter methods.

So why would my validator not fire at all.
 
Something about .... going for a swim. With this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic