Hello!
I have Apache Web Server, Jserv1.0 and GnuJsp.
Somewhere in my servlet i do:
req.setAttribute("texto","blabla");
                        getServletConfig().getServletContext().

getRequestDispatcher("/jsp/fwdToJsp.jsp").forward(req,res);

and the get the error:

[25/11/1999 15:44:07:255 GMT] java.lang.NoSuchMethodError:
javax.servlet.ServletRequest: method
setAttribute(Ljava/lang/String;Ljava/lang/Object;)V not found
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
        at org.apache.jserv.JServConnection.run(JServConnection.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)

Strange!
Shouldn't methods like getRequestDispatcher and setAttribute be available?
Can someone please explain me what am i missing?

Thank you!

        Telmo

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to