This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP setProperty without value? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP setProperty without value?" Watch "JSP setProperty without value?" New topic
Author

JSP setProperty without value?

vishvar hariraman
Greenhorn

Joined: Apr 04, 2006
Posts: 20
Hi everybody

I use a bean from jsp file and I m going to use jsp actions - setProperty as below.

<jsp : setProperty name="beanname" property="somecolor" >

I just left it without giving value or param.
Whether it will compile or will it take value as NULL?
Wat wil happen?

pls help me regarding this.

THX
VISHNUVARDHAN.H
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

Why not just try it and see what it does?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP setProperty without value?
 
Similar Threads
what is the use of java bean
jsp:useBean Doubt?
confused about the usage of JSP tags
setProperty and useBean
How to use a jsp:useBean inside a Servlet