How many ways are available to ger RequestDispatcher object?

Answer Posted / venkat

there are two ways.


RequestDispatcher rd=req.getRequestDispatcher("\a.jsp");

RequestDispatcher rd=sc.getRequestDispatcher("\a.jsp");

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain is servlet mapping?

582


What is the difference in between the httpservlet and generic servlet?

607


Explain the features are in servlet 3?

603


What is a web application and what is it’s directory structure?

585


What do you understand by mime type?

561






What are the disadvantages of storing session state in cookies?

630


What are different ways for servlet authentication?

567


What are all the ways for session tracking?

593


How to upload a file to the server using servlet?

533


What is the difference between servlet and filter?

531


Explain servlet life cycle?

619


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2283


Explain the architechure of a servlet?

605


What is meant by session? Tell me something about httpsession class?

602


How can you use a servlet to generate a plain text instead of html?

595