Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generate html form using servlet

 
mrutyu mona
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic