title: calling different jsp files from same java class
body: <p>I am creating a simple web-app which has a jsp login page. after validating the credentials i get the parameters using a servlet's doPost method. Now i pass these values to a simple java class(not servlet) and then using JDBC techniques i return a string which says <strong>correct password/wrong password/invalid username</strong> back to the servlet. now from the servlet i call a jsp which will print the string on the screen.</p>
  
  <p>Its working fine. now i would like to call 3 jsp's from my java class itself. eg, in the if() block for correct password id like to call a jsp called correct.jsp which already has the code to print "correct password" on the screen. likewise.</p>
  
  <p>Can you suggest me how to call jsp from java file.i just need to call the jsp and load it. no need of doing any modification with the jsp file.</p>
  
  <p>Thanks</p>