tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guangyu zhang <com...@gmail.com>
Subject Re: error Ljavax/servlet/http/HttpServletRequest
Date Wed, 11 Jan 2006 09:41:51 GMT
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 <jallohmarju@yahoo.com>:
>  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!
>
Mime
View raw message