File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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