File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 14687
    
  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?
 
Similar Threads
right click on the browser
Using DOM to create HTML document?
JSP Editor
javascript library which can convert html form to an xml ?
Java and XML