Solved

Ask for example of using Interface  RequestDispatcher in Servlet

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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:

757 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

24 Experts available now in Live!

Get 1:1 Help Now