This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes How to display the submited date in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to display the submited date in jsp" Watch "How to display the submited date in jsp" New topic
Author

How to display the submited date in jsp

sreedhar
Greenhorn

Joined: May 02, 2006
Posts: 20
A form is having multiple checkboxes(items) and submit button.

An end user can select one or more items and then pressed submit button.
I am trying to display the submitted date and time on browser but could not.Please any one help on this.I need to show the data and time when the user selected checkbox and submitted the submit button.

Please do the needful.
[ March 17, 2008: Message edited by: sreedhar ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"sreedhar",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Take a look at the java.util.Date object:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to display the submited date in jsp
 
Similar Threads
Two submit buttons.
How to Clean Up Multipe Selections on Display After the Form is Submitted?
I want two buttons on a page, one for "search refine", one for "submit", how to do ?
Multiple-submit prevention in JSF
storing values chosen from dropdown