Meaningless Drivel is fun!
The moose likes Struts and the fly likes <s:property value= in comparison" title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<s:property value=""> in comparison" Watch "<s:property value=""> in comparison" New topic

<s:property value=""> in comparison

dips pandey

Joined: Nov 13, 2010
Posts: 4

Getting this error when i try

main.jsp is

Action class



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

Joined: Sep 11, 2006
Posts: 170

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

I agree. Here's the link:
subject: <s:property value=""> in comparison
It's not a secret anymore!