thanks Salil Vverma ,
but i cannot understand a couple of things & have got some errors . please clear me.
Salil Vverma wrote:servlet must be called before books.jsp only.
i have called it , as i have already mentioned in post above that i can see two cookies "JSESSIONID" and "regcookie" in browser it means cookie setting is correct(may be its not set according to requirement)
Salil Vverma wrote:I added a doGet method in regfound servlet
explain me why shall i need this i am already passng my data in "post" method.
Salil Vverma wrote:created web.xml entry for same.
well i shouldnot ask this , but how to set this
Salil Vverma wrote:private static final long serialVersionUID = 1L;
may be "JSESSIONID" should be used instead of "serialVersionUID" because i donot see "serialVersionUID" beaing used at any point of program.
Salil Vverma wrote:
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
// TODO Auto-generated method stub
doPost(req, resp);
}
}
i am not using "get" method to pass data so what i am overriding .
please clarify the doubts i am stuck here for last 2 days .
friend at last i got these errors :
i hope the next post will solve my problem
-- TUSHAR