This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes generate html form using servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "generate html form using servlet" Watch "generate html form using servlet" New topic
Author

generate html form using servlet

mrutyu mona
Greenhorn

Joined: Mar 10, 2004
Posts: 1
i have a database which has info of x posn, y posn, width and height info for a html textbox. i want to retrieve those values and print an html form basing on that data using servlet
thanks in advance
Saj
Greenhorn

Joined: Dec 03, 2003
Posts: 5
hi Mona,
Fetch the details from the database & while printing the result, format the form objects with the the properties.
Steps Involved
---------------
1) Fetching the data from the database & store it in some variables.
2) While printing the response, use these data for formatting the Form object.
i.e; if u have a textbox & u want set the size depending on the data comming from the backend, while giving the response back to the client,
use the below mentioned code

Sajesh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: generate html form using servlet
 
Similar Threads
How to close a child window through the servlet?
How to display values from database to html page using servlet
Passing data to two servlets?
Servlets JRUN
Parameters