File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "generate html form using servlet" Watch "generate html form using servlet" New topic

generate html form using servlet

mrutyu mona

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

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

I agree. Here's the link:
subject: generate html form using servlet
It's not a secret anymore!