954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How does RequestDispatcher works?

Hi all,

I am learning j2ee with the help of this forum . First thanks for all of your replies realy that makes me to know more things .

Now i have doubt, i don't know whether it is silly or not .
How does RequestDispatcher works?
I know it transfers the control to another servlet or jsp but the thing is when saw the URL it didn't change but the content of page which i forwarded is called.

anand01
Posting Whiz in Training
225 posts since Aug 2010
Reputation Points: 12
Solved Threads: 20
 

This would be case of URL masking done through web.xml where you say that any served page will use this URL. Just search for jsp url masking and you get plenty of results, or some decent book on JSP

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

thanks peter_budo

anand01
Posting Whiz in Training
225 posts since Aug 2010
Reputation Points: 12
Solved Threads: 20
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You