posted 16 years ago
Hello there,
Since redirection of the request creates a new request and sends it to the path you specify in the sendRedirect method, you'll not be able to retrieve the request/form-field values in the next servlet. So, before you redirect you need to fetch all the necessary information you want to save and put it in session or application scope (setting session/application attributes may help), based on the requirement.
You can try putting the required values in a Map or something like that and store it in a session/application object by calling setAttribute() methods on them.
Hope this will help.
Regards,
VaruNarang.
Your computer system is like AC, it's of no use when you open Windows ;)