my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
Error in building an application using Struts2
s:radio and display tag
HTTP Status 500 -org.apache.jasper.JasperException: /Success.jsp(35,52) quote symbol expected
New to Struts 2 framework
passing form parameters such us textfield values using url tag