Link to home
Start Free TrialLog in
Avatar of alasdemarfil
alasdemarfil

asked on

How to fill a form using JSP?

hi experts,

I need to use JSP to do a small program. I have to read a text file. If the file is empty then I have to show a empty form to fill out and submit. If the files is not empty, I get the data from the file and fill the form with this data using JSP. How can I do that? I am new working with JSP, can you please help? Thanks!
Avatar of mrcoffee365
mrcoffee365
Flag of United States of America image

What jsp code do you have so far?

If you do not have any code, then you need to walk through a JSP tutorial.  There are many out there -- pick the one that looks best to you, or matches the environment in which you are running your jsp page.

Some JSP tutorials:
http://www.jsptut.com/
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

Once you have a jsp page, and you need help with it, post your jsp code and we'll work with you on that.
ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of a_b
a_b

What is the format of the text file?
Avatar of alasdemarfil

ASKER

thanks!