• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

plz, need y'r help

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello ,
i m having following error while compiling the servlet could anybody can tell me where is the problem bcoz i am sure that i have entered all the settings correctly .
i m using linux 9 , tomcat 4.1,jsdk1.4 ,JDBC2.0 .
javac netBankLoginServlet.java
netBankLoginServlet.java:51: cannot resolve symbol
symbol : method setAttribute (java.lang.String,test.richa.welcomeDetailViewBean)
location: interface javax.servlet.http.HttpServletRequest
request.setAttribute("welViewBean",welViewBean);
^
netBankLoginServlet.java:58: cannot resolve symbol
symbol : method setAttribute (java.lang.String,java.lang.String)
location: interface javax.servlet.http.HttpServletRequest
request.setAttribute("errormessage","Error ..... ");
^
netBankLoginServlet.java:87: cannot resolve symbol
symbol : method getRequestDispatcher (java.lang.String)
location: interface javax.servlet.http.HttpServletRequest
rd=request.getRequestDispatcher(nextPage);
^
3 errors
thanks.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The code seems to be fine. You need to download servlet.jar and put it in ur classpath.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Translation:
plz = please
y'r = your
bcoz = because
i m = I'm
ur = your, or sometimes you're
Please don't be lazy. The Ranch gets visitors from all around the world and for many English is not their first language. Combine this with typing errors and occasional poor grammar and it makes an awful mess. Please try to write your posts to make communication easier, not harder.
Thanks,
Dave.
reply
    Bookmark Topic Watch Topic
  • New Topic