my dog learned polymorphism*
The moose likes Struts and the fly likes Validator no firing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator no firing" Watch "Validator no firing" New topic
Author

Validator no firing

charu latha
Ranch Hand

Joined: Aug 20, 2002
Posts: 67
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator no firing
 
Similar Threads
Help me about html:select
Struts IE render problem
SEVERE: No action instance for path /xxxx ould be created java.lang.ClassCastExcepti
ClassCastException in struts - urgent! :(
Struts validation not working