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 java mobile?
What is java ee used for?
What is java netbeans?
What is the preferred size of a component in java?
what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface?
What is j2ee technology?
What is instance in java?
What is cascade delete?
What is authorization?
What is a gui in java?
How does event listener work in java?
What is non primitive data type in java?
What id url?
Why do we use j2ee?
What is application client?