What is the difference between sendRedirect() and forward()?
in what situations do we have to use send redirect()
instead of forward().
Answer Posted / senthilraj
Using thse methods we can redirect one page to another page.
Using the sendReirect() we can connect any URL from
outide the web application.
Using forward() we can connect URL only within
the application.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is webservices in java?
Is java 100 percent pure object oriented?
What is web container in j2ee?
Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you...
Which is latest technology in java?
How to invoke stored procedure in hibernate?
What is home handle?
What is create method?
Is core java and j2se same?
Is advanced java and j2ee same?
What is the ear file?
Why is java more secure?
Is java a tool?
What is java netbeans?
What is tomcat in j2ee?