This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes setProperty question 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 » Java » JSP
Bookmark "setProperty question" Watch "setProperty question" New topic
Author

setProperty question

Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
How do you pass HTML form element as a value to the setProperty directive.
The value must a form element

<jsp:setProperty name="" value=""/>

Thanks
H
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

Please clarify. I have no idea what you are asking.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Thanks for the reply

I am trying to stick in the document.form[0].somename.value to the value attribute in the jsp:setProperty directive
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

One is client-side and one is server-side. Or are you talking about after form submission?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setProperty question
 
Similar Threads
pass a variable in the URl
properties file
Overriding xml file
html:checkbox field is checked by default
JS variable to JAVA