can you show me the com.MyBean.java ' source code? how does class "MyBean" get the HttpServletRequest ? Have you passed the request to class MyBean?
2006/1/11, marju jalloh <[EMAIL PROTECTED]>: > I `m calling a bean from a jsp page that return HttpServletRequest > snippet > > HttpServletRequest req= myBean.getMessage(); > out.write(req.getParameter("mess")); > where mess is a variable that was set in the bean > > My problem jsp can`t compile I got the following errors > > javax.servlet.ServletException: > com.MyBean.getMessage()Javax/servlet/http/HttpServletRequest; > java.lang.NoSuchMethodError: > com.MyBean.getMessage()Javax/servlet/http/HttpServletRequest; > > can anyone help > Thanks in advance > > > > > > > --------------------------------- > Yahoo! Photos �C Showcase holiday pictures in hardcover > Photo Books. You design it and we'll bind it! >