actualy on my page there is action of submit button on which i am calling another servlet but as i am maintaining session so is there is any that i can perform request dispatcher on the action submit or any other alternative that i have to click submit button and also request dispatcher session variable to other page.
Anurag Verma wrote:can you please make yourself clear on what you want??
i am maintaining session for the variable so on one servlet that session variable is working beacause i am dispatching request to that page but on next page when i am clicking on submit button that session variable is not coming and giving following exception
so i want to know is there any way like request dispatcher so that i can send that variable on that page on submit button action.