aspose file tools*
The moose likes Servlets and the fly likes about hidden from fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "about hidden from fields" Watch "about hidden from fields" New topic
Author

about hidden from fields

sharma anurag
Greenhorn

Joined: Aug 29, 2007
Posts: 16
HI
I am facing some problem i am having to servlet one for login and another one is for registration,in login servlet i am having to two textfields that is one is username and another one is password in that i am checking whether username is correct or not if both are correvt than it will go to the registration servlet in which if it is valid than no problem but it is the new user than it will goes to the registration.html page in which he had to fill all the details given in the fields and after that all values is storing in my table called user3 but when i am using this hidden form fields concept i am not getting my desired output..please help me out from this .!!!

This is the Code also of both login and registration servlet..please do the modification in this and apply the hidden form fields concept in this please and reply me as soon as possible...
Thanks in advance.!!!
loginServlet.java

And this is The RegisterServlet.java

[ September 13, 2007: Message edited by: Bear Bibeault ]
poorna prakash parvathala
Greenhorn

Joined: Dec 18, 2006
Posts: 20
the hidden form fields are not different from the normal form fields except user didnt enters a value instead the value is hard written (usually) while generating the page.

could you please post the client html/Jsp !


Poorna Prakash<br /> <br />SCJP 1.4 (90%), SCWCD (planning)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about hidden from fields