What is the difference between sendRedirect() and forward()?
in what situations do we have to use send redirect()
instead of forward().
Answer Posted / neha rajpal
forward mean forwarding the requset to some another jsp or
servlet this is done by server we have do describe the page
in the forward method's argument note thatforward method
argument accept only string ..
while sendredirect is on client side . the new request
object is created.
Is This Answer Correct ? | 13 Yes | 6 No |
Post New Answer View All Answers
What is j2ee specification?
Is java gui dead?
What is considered as a web component?
Why class is used in java?
What is a gui in java?
What should a junior java developer know?
What is jetty in java?
What is java technology stack?
What is advance java?
Why java is not 100% object oriented language?
What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?
Enlist the technologies embraced in j2ee?
What is java ee used for?
Define thin client?
What are the components of j2ee applications?