?
Solved

regarding session handling

Posted on 2005-03-19
2
Medium Priority
?
185 Views
Last Modified: 2010-04-01
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
Comment
Question by:sri_mcet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 29

Accepted Solution

by:
bloodredsun earned 250 total points
ID: 13582172
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
 
LVL 29

Expert Comment

by:bloodredsun
ID: 13586852
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question