aspose file tools*
The moose likes JSP and the fly likes Registration and validation using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Registration and validation using JSP" Watch "Registration and validation using JSP" New topic
Author

Registration and validation using JSP

Cornelius Alba
Greenhorn

Joined: Jun 07, 2012
Posts: 1
Hi

I don't have any experience with JSP and Servlets, and I have a question: In my project I need to include users registration (after submitting form data is validated, if it's correct, it's written into XML file. If there are errors, approperiate message is displayed, also if username is already taken). And my question is - what is the best way to implement this, I mean the architecture of the application (where should i save the data into XML file, how to return error message to the JSP page that contains a form if the username is already in use etc.).

I would be really, really glad if someone explained me how it should be done properly.

PS. Sory for my English.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Please read this article for information on properly structuring web applications.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Registration and validation using JSP