Archives: JSP

Dealing with Browser’s back Button with Headers and Javascript History Object

August 28, 2012 | By kiranbadi1991 | Comments Off on Dealing with Browser’s back Button with Headers and Javascript History Object | Filed in: Browser, Development, Environment, Others, Testing.

Quite often while coding application which has lot of forms in it, there comes a requirement where in developers needs to deal with back button functionality of the browser.Disabling the back button with Javascript is one of the options used by many sites to deal with duplicate submission of forms. Browsers maintain information about pages • Read More »

Tags: , , ,

Passing Parameter/Value from Servlet to JSP

November 24, 2011 | By kiranbadi1991 | Comments Off on Passing Parameter/Value from Servlet to JSP | Filed in: Development.

I had a hard time figuring out as how to pass value from servlet to JSP,it was always rendering me null value in the JSP though the value was showing up correctly in servlet,so writing this information in case anyone needs it, 1: int ID = 0; 2: String queryStr = “select LAST_INSERT_ID() from xxx”; • Read More »

Tags: , ,