This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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