Thank all! > >-----Original Message----- > >From: Russell Gold [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, July 26, 2000 3:32 PM > >To: [EMAIL PROTECTED] > >Subject: Re: Help me please with this servlet error > > > > > >At 02:06 PM 7/26/00 +0200, you wrote: > >>Hi all: > >> > >>I�m starting with servlets and i went to WDVL (Building a > >web application > >>servlets.jsp) > >>http://wdvl.internet.com/Authoring/Java/Servlets/index.html > >and found a > >>tutorial about how to make a servlet call a .jsp. But I > >just copy.paste, > >>and is not working, here is the code and the error maybe > >you can helpme, > >>thanks. > > > >[snip] > > > >>error message: > >>D:\servlets\WDVLTut>javac -d d:\JRun\servlets *.java > >>Login.java:21: Method validateUser(java.lang.String, > >java.lang.String) not > >>found in class WDVLTut.Login. > >> String uName = validateUser(userId, password); > >> ^ > > > >You must define your own validateUser method. It is not > >built into the > >servlet API > > > >>Login.java:41: Method > >getRequestDispatcher(java.lang.String) not found in > >>interface javax.servlet.ServletContext. > >> RequestDispatcher rd = > >> context.getRequestDispatcher("/sevlets/WDVLTut/welcome.jsp"); > > > >IIRC, this method was added in Servlet API 2.1. I suspect > >that you are > >using version 2.0 of the API, which does not have the > >method. Check your > >JRun documentation. > > > >> ^ > >>2 errors > > > >_____________________________________________________________ > >______________ > >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 ___________________________________________________________________________ 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
Re: Help me please with this servlet error
Maria Elena Christensen (DXD) Wed, 26 Jul 2000 08:03:50 -0700
- Help me please with this servlet error Maria Elena Christensen (DXD)
- Re: Help me please with this servlet er... Fırat Tiryaki
- Re: Help me please with this servlet er... Russell Gold
- Maria Elena Christensen (DXD)
