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.

Recommended Answers

All 2 Replies

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

thanks peter_budo

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.