Solved

Ask for example of using Interface  RequestDispatcher in Servlet

Posted on 2000-05-05
3
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

691 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