I am trying to call a JSP from Servlet and I was able to accomplish this by using RequestDispatcher object. Now I want to call the same servlet from JSP. For that, I used javabeans. (i.e.) <jsp:useBean id="Class1" class="Page1" scope="session" /> <jsp:getProperty name="Class1" property="productInfo" />
Also I have that servlet with getProductInfo() method. When I tried to execute this JSP, I am getting a message saying that "Page1.java/class" cannot be found. Could you please let me know, what I am doing wrong.