• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<s:property value=""> in comparison

 
dips pandey
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Getting this error when i try

main.jsp is

Action class
MainAction.jsp

ColorEntry.jsp

struts.xml



I think i have provided with all the files i just want to compare the value selected in the dropdown to some other value in this case i select banana (<s:property value="yourSearchOptions"/>) this on printing to the browser gives me 2 so i compare the value with 2.Only if i select banana should i get the other page ColorEntry.jsp
please help me...
 
vanlalhmangaiha khiangte
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Use the select box name "yourSearchOptions" in the below
instead of <s:property value="yourSearchOptions"/>)




Regards,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic