Solved

Ask for example of using Interface  RequestDispatcher in Servlet

Posted on 2000-05-05
3
516 Views
Last Modified: 2013-11-24
Can someone send me some examples of using the Interface of RequestDispatcher in Servlet? (javax.servlet.RequestDispatcher)
0
Comment
Question by:john_law70
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
Laminamia063099 earned 30 total points
ID: 2780228
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
 
LVL 1

Expert Comment

by:yogeshr
ID: 2780257
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
 
LVL 3

Expert Comment

by:Laminamia063099
ID: 2783756
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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 106
what is a "java.lang.System Property"   ? 20 65
Opening PDF on button click and fill new document 2 37
mysql jsp example issue 32 33
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question