
1>>>I have 2 page. 1st page is for registration & 2nd page is for server side validation of registration page
Now, I want to direct access element of the registration page and display the error message on that page
2>>>Please know me about document object and how use document object? how i can get document & elements of registration page?

Hi Friend,
Please visit the following links:
http://www.roseindia.net/jsp/javascriptpagerefresh.shtml
http://www.roseindia.net/jsp/user-registration-form-using-jsp.shtml
Thanks