I have a servlet which retrieves a brand name from a model class and displays the result using PrintWriter . However , when i am using RequestDispatcher to redirect it to JSP it is not working , i mean the JSP page is getting displayed . Can anyone help me with it .
My code for the servlet is as follows:-
Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information.
Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.