I am trying to test MVC in visualage with a simple application. I have servlet whichgets the request, adds a String object in session & forwards it to JSP which just displays the Session variable... here is the code Controller Servlet String a= new String("TeStInG MvC ....."); HttpSession s = request.getSession(); s.setAttribute("test",a);
if (rd != null) rd.forward(request,response); View.jsp String a=(String)session.getAttribute("test"); out.println(a);
View.jsp is in following dir.. D:\Program Files\ibm\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\hosts\default_host\default_app\web The error i get in console is... javax.servlet.ServletException: non-HTTP request or response I dont understand what is goign wrong Plz help... Nehal.