---
title: "What is the difference between forward and sendredirect?"  
description: "What is the difference between forward and sendredirect?"  
author: "Anonymous User"  
published: 2015-08-12  
updated: 2020-09-17  
canonical: https://www.mindstick.com/interview/12774/what-is-the-difference-between-forward-and-sendredirect  
category: "java"  
tags: ["java", "jsp"]  
reading_time: 1 minute  

---

# What is the difference between forward and sendredirect?

Both method calls redirect you to new resource/page/servlet. The difference between the two is that sendRedirect always sends a header back to the client/browser, containing the data in which you wanted to be redirected.

## Answers

### Answer by Anonymous User

Both method calls redirect you to new resource/page/servlet. The difference between the two is that sendRedirect always sends a header back to the client/browser, containing the data in which you wanted to be redirected.


---

Original Source: https://www.mindstick.com/interview/12774/what-is-the-difference-between-forward-and-sendredirect

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
