wood burning stoves 2.0
The moose likes JSP and the fly likes setting HTML element value using JSP scriptlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

setting HTML element value using JSP scriptlet

Abhishekshri Shrivastava
Ranch Hand

Joined: Jan 13, 2011
Posts: 31

using JAVA SCRIPTLETS on reload of the JSP page, i wann to set the value for various html elements present on the JSP page.
i don't wann to USE java scripts or expression tags.

I have element names and their values. (i have all the values in session variable).
please give me a sample program.You can take a hardcoded value.

:abhishek shrivastava

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63354

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: setting HTML element value using JSP scriptlet
jQuery in Action, 3rd edition