• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

regarding session handling

Hi,
       we have some problems in the session handling. we have two drop down menus and one text box for selecting the the date and  time from the calendar by clicking he button.
       when we enter the page for the first time we can able to select the date from the calendar.But when we onchange the data in the drop down  from the servlet   i cannot be able to select the date from the calendar .the calendar box is not showing the details.

Please provide us solution for this problem and send us some sample programs as early as possible.

Thanks


0
sri_mcet
Asked:
sri_mcet
  • 2
1 Solution
 
bloodredsunCommented:
If the calender box data is kept in the session, check that it is not being over-written. If the data is kept in the request, it will be lost if you submit a new request to the server and do not pass this information across.
Drop downs and text boxes are form elements and can be accessed in the reviecing servlet (the one specified in the action attribute of the form tag) by using

request.getParameter("drop_down_name");

To know any more, you will have to show the html code of the submiting page and the code for the servlet.
0
 
bloodredsunCommented:
Glad to have helped Sri, but is there any reason that you gave me a C grade? EE grades are a little different from normal grades http://www.experts-exchange.com/help.jsp#hi55
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now