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!
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!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What is the format of the text file?
ASKER
thanks!
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.