Hi.. sencha forum member

I am having some problem with redirect to another jsp page from my java class.

I am using spring 3.0, JPA and extjs 4.0.

I am having login form which takes the username and password from the user and on server side after proper verification, I will redirect them to valid jsp page.

I am using the below code to redirect to another jsp page

private String LOGIN_PAGE = "../index.jsp";

Code:
@RequestMapping(value = "/login/GetLoginCheck.action")
	public void sitemap (HttpServletRequest request, HttpServletResponse response)  throws Exception {
		try {
			System.out.println("QUERY TO GET LOGIN");
			response.sendRedirect(LOGIN_PAGE);
			return ;
		} catch (Exception e) {
			return ;
		}
	}
but don't know why the jsp page didn't get opened instead I just get the requested full page to my firebug console as response as below image
login.jpg


so kindly please suggest me what's wrong with my above code.


Yogendra Singh
Sr. Programmer
Kintudesigns.com