aspose file tools*
The moose likes Struts and the fly likes combining struts tags and jsp tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "combining struts tags and jsp tags" Watch "combining struts tags and jsp tags" New topic
Author

combining struts tags and jsp tags

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I'm trying to set the value to the value property dynamically using jsp expression. it' not working properly.why

<logic:notEqual name="listingcinemas" property="cinemaname" value="'"+<%= cinema%>+"'">
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4714
    
    7

wouldn't you just want

value="<%= cinema %>"

? I don't think you need to give the quotes as part of the value unless you want to include the quotes in your comparison. If you want to include the quotes in the value to be compared, do this:

value='<%= "'" + cinema + "'" %>'
[ September 03, 2004: Message edited by: Junilu Lacar ]

Junilu - [How to Ask Questions] [How to Answer Questions]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

raj,

You've been asked once already to change your display name and comply with our Naming Policy. I am asking you politly to please change your display name.

Thanks, I hope that you'll do your part and also continue to be part of this great community.


GenRocket - Experts at Building Test Data
Siripa Siangklom
Ranch Hand

Joined: Jan 26, 2004
Posts: 79
OR

value="'<%= cinema %>'"
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4714
    
    7

Originally posted by Siripa Siangklom:
OR

value="'<%= cinema %>'"


Are you sure? I don't think that will work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: combining struts tags and jsp tags