• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 537
  • Last Modified:

Ask for example of using Interface RequestDispatcher in Servlet

Can someone send me some examples of using the Interface of RequestDispatcher in Servlet? (javax.servlet.RequestDispatcher)
0
john_law70
Asked:
john_law70
  • 2
1 Solution
 
Laminamia063099Commented:
You might already have the first link, to the documentation:
http://java.sun.com/products/servlet/2.1/api/javax.servlet.RequestDispatcher.html

Here's some example code in a Java forum with an example on redirecting a request:
http://forum.java.sun.com/forum?14@@.ee9b5eb

Also, go to http://www.javasoft.com and search the forums for RequestDispatcher and you'll find more examples than can be posted here.

By the way, this interface is implemented by the servlet engine designer, so there may be slightly different behaviors depending on the implementor.  Make sure you study your servlet engine documentation.

Good luck!

Laminamia :)
0
 
yogeshrCommented:
there is another link in which an example code of using the RequestDispatcher is been used as the interface:-
http://novocode.de/doc/servlet-essentials/chapter3.html
0
 
Laminamia063099Commented:
I'm sorry, is there any reason that I received a 'D' for my answer?  If so, please leave a comment so that I can improve the next time I answer someone's question.

Laminamia :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now