Solved

Ask for example of using Interface  RequestDispatcher in Servlet

Posted on 2000-05-05
3
512 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 62
java jdbc batch example 8 22
Opening PDF on button click and fill new document 2 21
Configure a Bean in an XML file 4 12
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now