adspace
What’s the difference between forward() and sendredirect() methods?
Answer Posted / Ram Narayan
The primary difference between forward() and sendRedirect() methods in servlets is their behavior towards the client request and response. The forward() method transfers the control to another servlet within the same application (usually a JSP page), while keeping the original request and response objects intact, without modifying the HTTP headers. On the other hand, sendRedirect() creates a new HTTP redirect message, which means a new request is generated from the client to the newly specified URL, changing the state of the current request.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com