File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 4419
    
    5

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: 15286
    
    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 - A Test Data Generation Platform
Siripa Siangklom
Ranch Hand

Joined: Jan 26, 2004
Posts: 79
OR

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

Joined: Feb 26, 2001
Posts: 4419
    
    5

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
 
Similar Threads
Struts checkbox problem.
how to set the <bean:message key="abc.xyz" /> into jsp:setProperty parameter
Invocation of init method failed; exception is org.hibernate.InvalidMappingException
Information lost on error.
how to use different view resolvers in spring