• Post Reply Bookmark Topic Watch Topic
  • New Topic

java_venkat

 
java_venkat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i was doing simple servlets just for forwarding request to jsp page by using RequestDispatcher forward() method. When i compiled my program. I was getting compile time error saying that RequestDispatcher was not found.
I want to know that RequestDispatcher in which jar file is reside.
Plz Can anybody ans to my question.
Thanks inadvance
bye
venkat
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should have something like
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The RequestDispatcher class is in the same JAR as the other servlet/jsp classes - which server are you using?
BTW "java_venkat", thanks for joining JavaRanch, but could you just take a quick look at the naming policy and edit your profile accordingly.
Thanks!
Simon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!