Displaying java.util.Calendar using JSP struts tags

Displaying java.util.Calendar using JSP struts tags

My question is in regard to displaying a date whose source is java.util.Calendar and not java.util.Date. In all the examples I have found they only refer to the java.util.Date and display it as

<s:date name="todayDate" format="yyyy-MM-dd" />

where s refers to:

<%@ taglib prefix="s" uri="/struts-tags" %>

Are there any tablib out there for calendar such as:

<s:calendar name="todayDate" format="yyyy-MM-dd" />

I would really appreciate anyone's help on this.

Thanks,

JAB

View Answers

April 29, 2011 at 2:26 PM









Related Tutorials/Questions & Answers:
Displaying java.util.Calendar using JSP struts tags
Displaying java.util.Calendar using JSP struts tags  My question is in regard to displaying a date whose source is java.util.Calendar...; where s refers to: <%@ taglib prefix="s" uri="/struts-tags" %>
Displaying image using jsp and spring.
Displaying image using jsp and spring.  how to display an image stored in WEB-INF/images folder on the browser using jsp and spring
Advertisements
datasource in jsp using struts
datasource in jsp using struts  how to get the datasource object in jsp.datasource is configured in struts-config.xml
displaying a calendar of only current month in jsp on webpage using javascript
displaying a calendar of only current month in jsp on webpage using javascript  how can we display a calendar of only current month in jsp on webpage using javascript
Defining and using custom tags - JSP-Servlet
Defining and using custom tags  Hi Sir, I want to know...-defined JSP language element. When a JSP page containing a custom tag... handler. The Web container then invokes those operations when the JSP page's
reading data using struts and jsp java
reading data using struts and jsp java  how can i read data entered by user into a textbox (jsp page) into struts action class ex emp id,so that after reading emp_id it can be read into struts action class for retrieving other
struts tags
struts tags  I want develop web pages using struts tags please help.... examples of struts tags are   Hi Friend, Please visit the following links: http://www.roseindia.net/struts/ http://www.roseindia.net
Struts Logic Tags
Struts Logic Tags       Struts Logic Tags examples. Introduction to Struts Logic Tags Struts logic tags are conditional tags that replaces
displaying List of records from database in a jsp using ajax
displaying List of records from database in a jsp using ajax  Sir, I...;%@page import="com.tbss.RtChannels"%><%@ taglib uri="http://java.sun.com/jsp...; In between the <div></div> I have to display the records. I am displaying
retrive data from database using jsp in struts?
retrive data from database using jsp in struts?   *search.jsp* <%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%> <%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
Struts Logic Tags: An Introduction
Struts Logic Tags: An Introduction       Struts logic tags are conditional tags that replaces scriptlets in the jsp files. This tag library contains tags that do
Tags in struts 1
Tags in struts 1   I have problem in Include tag in Struts this tag using but it is not work Please Explain
JSP Tags
JSP Tags  Defined JSP Tags?   Tags are a vital concept in Java Server Pages (JSP). Below is a list of tags used in JSP. This section... and explanations for both. List of the tags ADS_TO_REPLACE_1 Declaration tag
struts html tags - Struts
struts html tags  creating horizontal scroll-bar in struts HTML
create,edit and delete in JSP using struts and SQL server2005 as database in jdeveloper?
create,edit and delete in JSP using struts and SQL server2005 as database... to create,edit and delete tasks: taskid, taskname, date, project in JSP and struts and SQL server2005 in JDEVELOPER. I have not worked on struts yet.How should i
displaying List of records from database in a jsp using ajax, onclick it should display the results ?? its urgent can u help me
displaying List of records from database in a jsp using ajax, onclick it should display the results ?? its urgent can u help me   displaying List of records from database in a jsp using ajax, onclick it should display the results
create,edit and delete in JSP using struts and SQL server2005 as database in jdeveloper?
create,edit and delete in JSP using struts and SQL server2005 as database... to create,edit and delete tasks: taskid, taskname, date, project in JSP and struts and SQL server2005 in JDEVELOPER. I have not worked on struts yet.How should i
struts logic tags
struts logic tags  what is the use of struts logic tag   The purpose of Struts logic tags is to alter output depending on the given...://www.roseindia.net/struts/struts-logictags/logic-tags-introduction.shtml http
Unable to bind to a hashmap from jsp using spring tags - Spring
Unable to bind to a hashmap from jsp using spring tags  Hi, I am unable to bind a hashmap from my jsp page. Here is what i want to do: I have an arraylist in a jsp page. As i loop through the array list, for each element i
need a sample project using java technologies like jsp, servlets, struts
need a sample project using java technologies like jsp, servlets, struts  Hi everybody! I have learnt core java,jdbc,jsp,servlets & struts... other project with detailed explanation using the above technologies by which i
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
How to upload multiple images in java(struts) using jsp?
How to upload multiple images in java(struts) using jsp?  I have jsp... to upload the multiple images in struts Total images storing folder in project using this jsp,but i want to CollegeAction class and CollegeForm class how to do
Displaying Date in jsp - JDBC
Displaying Date in jsp  I want to insert Date of birth of a person in a database.i am getting input value from HTML and i use jsp application to interact with database.My JSP code for inserting Date is below: String dateStr
Struts,JSP - Struts
Struts,JSP  I'm facing problem while using logic:iterate to render the data in the jsp from the Array list. javax.servlet.ServletException: Cannot find...("uname",employees); In the jsp
using ajax and jsp (struts) to login and remain on same page.
using ajax and jsp (struts) to login and remain on same page.  I am a fresher... I can forward my login page to success page using struts, but I... know how to use struts to remain on same page. What about config file:- <
jsp and struts
jsp and struts  What is the difference between jsp and struts? Does struts use jsp?   Java Server Pages (JSP) is a server-side technology... (by Apache) based on MVC concepts and developed using Servlet/JSP technology
Displaying Rows - JSP-Servlet
Displaying Rows  Hi, I need your support on how to display data from ms sql 2000 database into an html form text box and text area, using java servlet or jsp  Hi friend, This is form code, display data
how to forward select query result to jsp page using struts action class
how to forward select query result to jsp page using struts action class  how to forward select query result to jsp page using struts action class
struts,jsp - JSP-Servlet
Struts, JSP get records from database  how can i get single record from database in tabular form in struts as well as in jsp
Error in using jstl tags
Error in using jstl tags  I'm trying to use jstl tags in jsp.i've.... tag statement in jsp page <%@taglib prefix="c" uri="http://java.sun.com/jsp... DESCRIPTOR FOR http://java.sun.com/jsp/jstl/core " Please tell me where am i
Uploading a software and displaying it on the jsp page
Uploading a software and displaying it on the jsp page  I have a Downloads page in my website, I want it to display the name of softwares as soon as it is uploaded in the backend by the administrator. And the admin may be a non
JSP Tags
JSP Tags In this section we will learn about the JSP tags. This section describes you about the various aspects of JSP tags such as what is JSP tag, list of JSP tags, JSP custom tags and many more things. What is JSP Tags ?ADS
Internationalization using struts - Struts
Internationalization using struts   Hi, I want to develop a web application in Hindi language using Struts. I have an small idea... to convert hindi characters into suitable types for struts. I struck here please
Struts 2.2.1 Generic Tags
Struts 2.2.1 Generic Tags Control Tags if elseIf else append generator iterator merge sort subset Data Tags a action bean date debug i18n include param property
JSP - Struts
JSP  am using struts frame work for my project, my requirement is 1.in jsp page Class(drop down list) will take all classes in school from database at time of loading. 2 after selecting class, page will reload and it will took
JSP - Struts
JSP  am using struts frame work for my project, my requirement is 1.in jsp page Class(drop down list) will take all classes in school from database at time of loading. 2 after selecting class, page will reload and it will took
JSP - Struts
JSP  am using struts frame work for my project, my requirement is 1.in jsp page Class(drop down list) will take all classes in school from database at time of loading. 2 after selecting class, page will reload and it will took
jsp to struts 2 action conversion problem - Struts
jsp to struts 2 action conversion problem  i have one jsp page that includes 3 other jsp pages(using RequestDispactcher).how to convert that jsp page to a struts2 action?among that one jsp page is wrritten using jpivot,wct tags
using captcha with Struts - Struts
using captcha with Struts  Hello everybody: I'm developping a web application using Struts framework, and i would like to use captcha  Hi friend,Java Captcha in Struts 2 Application :http://www.roseindia.net
Problem dispalying Country, City, State in JSP using Ajax in Struts Framework - JSP-Servlet
Problem dispalying Country, City, State in JSP using Ajax in Struts Framework  Hi, In my JSP page, I have used one div that adds some rows... showing data from database using ajax, jquery.. but it is not working.. It is because
Introduction to Struts 2 Tags
Struts 2 Tags       In this section we will introduce you with the tags provided along with Struts 2 framework. It is necessary to understand all the tags provided along with Struts 2 framework
regarding tags - Struts
regarding tags  What is the difference between html:submit and nested:submit and usage of tags based on the situation
JSP-Custom tags
JSP-Custom tags  First page (HTML) should display a form to enter marks for 3 subjects. On submit, the invoked jsp with custom tags should compute the average of 3 subjects

Ads