This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

alex han
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic