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
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: 60780

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
Similar Threads
Getting name of the JSP on servlet
to set JSP HTML element values on servlet
Java program to Login a website using url and to download a file
get disabled values from HttpServletRequest parameter
compiling jsp