This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes how can I modify a bean's property only by html button? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how can I modify a bean Watch "how can I modify a bean New topic
Author

how can I modify a bean's property only by html button?

Sylven Yip
Ranch Hand

Joined: Aug 30, 2007
Posts: 42
in the past,i use xmlhttprequest to do this.
can i use html element(with JSTL) or javascript to do this without send any request to another page?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

can i use html element(with JSTL) or javascript to do this without send any request to another page

JSTL is interpreted on the server side, so you can discard this option already. Javascript (without something like XmlHttpRequest ) won't help either, as javabeans live on the server, not on the client. You have to send a request.


[My Blog]
All roads lead to JavaRanch
Sylven Yip
Ranch Hand

Joined: Aug 30, 2007
Posts: 42
thanks~
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can I modify a bean's property only by html button?
 
It's not a secret anymore!