printing in pre-printed sheet.

hai.

i am new to java. i am trying to develop a web-based project using servlet,jsp,html and javascript

for that. i have to print content for taking report in a pre-printed sheet. but i don't know how to print in a pre-printed sheet.

please give me suggestions to do above job.

[305 byte] By [jd_sekara] at [2007-11-27 3:31:15]
# 1
What you meant by pre-printed.Do you need something like this?Name : Mike Email : mike@somewhere.comThis Name: and Email: are Static things for the Page.But Mike and the mike@somewhere.com is getting dynamically from database or flat files.
Ajaxranda at 2007-7-12 8:34:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

yes. think like that only.

but what i need is. i had a papers which are printed partially.

like

Name:_

AccNo:

ppno:__ address:__

country:_

in this i have to print in required area only.

Name:_Johnson__

AccNo:_1002_

ppno:__Ap232323 address:_London

country:__UK_

like this i have to print.

so plz give me some idea to do.

jd_sekara at 2007-7-12 8:34:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

for doGet() method of your servlet print the Staic text areas of the servlet.

example:

Name : .............................................

then you have to get the records for the blank fields. if you wish to get this records from a Database table pass the search criteria using a form and for doPost() method retrive the record values and print it.

Name : Mike Jordan

Ajaxranda at 2007-7-12 8:34:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...