This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Does validator can't work with html:options tag?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Does validator can Watch "Does validator can New topic

Does validator can't work with html:options tag??

alex han
Ranch Hand

Joined: Dec 13, 2002
Posts: 46
i use struts validator framework to validate my jsp,and in my jsp,i use html ptions to display some record.
work flow is : click url ------->go to DeptLDAction ---> get some record and store them to request -- >go to a deptcreate.jsp --> submit new record..
The trouble is :if i add
in my validation.xml,when i submit record from deptcreate.jsp, i get some error like

but if i remove form definition from validation.xml,the error disapper and i can submit new record,but i also can't validate my jsp!
my action is :

my form bean is :

my javabean is:

my struts-config is

my jsp is:

Does struts validator can't work with html ptions tags???
[ February 17, 2004: Message edited by: Xiao Han ]
Have you checked out Aspose?
subject: Does validator can't work with html:options tag??
It's not a secret anymore!