Yipes, that's dated...
Quoting Rick Reumann <[EMAIL PROTECTED]>:
> Kris Schneider wrote:
>
> > "Schneeder"? Hm, sounds familiar,
>
> he he sorry about that Kris:) Just don't beat me... you were sort of a
> bad ass as the superintendent on "One Day At A Time.":)
>
> --
> Rick
--
Kris Schne
Kris Schneider wrote:
"Schneeder"? Hm, sounds familiar,
he he sorry about that Kris:) Just don't beat me... you were sort of a
bad ass as the superintendent on "One Day At A Time.":)
--
Rick
-
To unsubscribe, e-mail: [EMAIL PRO
"Schneeder"? Hm, sounds familiar, but... Anyway, forgetting JSTL for a second
(gasp!), you're saying you've got something like:
ApplicationResources_en.properties:
dateFormat=...
ApplicationResources_fr.properties:
dateFormat=...
Yes? If so, then maybe this is what you're looking for:
This wi
Nathan Coast wrote:
How do I set locale specific date formats? I tried setting
org.apache.struts.taglib.bean.format.date with format strings within
locale specific applicationResources.properties but the format keeps
coming out the same
Fri Nov 21 16:46:05 CST 2003
any ideas?
For displaying
Hi
How do I set locale specific date formats? I tried setting
org.apache.struts.taglib.bean.format.date with format strings within locale
specific applicationResources.properties but the format keeps coming out the same
Fri Nov 21 16:46:05 CST 2003
any ideas?
cheers
Nathan
--
> you may need to import java.text first.
>
> I hope it can help to you too... it works for me.
>
> -Original Message-
> From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 10:33 AM
> To: 'Struts Users Mailing List
ope it can help to you too... it works for me.
-Original Message-
From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:33 AM
To: 'Struts Users Mailing List'
Subject: RES: Date format
java.util.Date
-Mensagem original-
De: T
java.util.Date
-Mensagem original-
De: Tamia Ramírez [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 1 de agosto de 2003 13:33
Para: Struts Users Mailing List
Assunto: RE: Date format
with type is your date, java.sql or java.util?
-Original Message-
From: Silverio Wagner
with type is your date, java.sql or java.util?
-Original Message-
From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:27 AM
To: 'Struts Users Mailing List'
Subject: Date format
A beginner question:
When my date field is shown in
A beginner question:
When my date field is shown in my jsp it appears in a different way,
although my Locale object is correctly set.
Anyone knows how to solve this problem?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
On Fri, 7 Mar 2003 15:26:49 +0100
Søren Blidorf <[EMAIL PROTECTED]> wrote:
> Yes, it's a good point, but the only place my date is a String, is in
> the ActionForm.
>
> Would you store the date as long there?
With all due respect to apachep2 I would store myDate as a String in an
ActionForm bea
Yes, it's a good point, but the only place my date is a String, is in
the ActionForm.
Would you store the date as long there?
-Oprindelig meddelelse-
Fra: apachep2 [mailto:[EMAIL PROTECTED]
Sendt: 7. marts 2003 15:22
Til: 'Struts Users Mailing List'
Emne: RE: date format
Never try to store a date as a string. It creates a lot of date format
problems. As I have said, store it as a long so that you can easily do
the conversion.
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: March 6, 2003 6:42 PM
To: 'Struts Users Mailing
03 3:14 PM
> > To: Struts Users Mailing List
> > Subject: Re: date format problems
> >
> > 2003. március 6. 16:06 dátummal Søren Blidorf ezt írtad:
> > > Hi.
> > >
> > > I have an action that gets a date from the MS SQL 2000 in
> >
&
That did it, Thanks a million.
It looks almost like what I did, but I found my mistake.
-Oprindelig meddelelse-
Fra: Michael Cardon [mailto:[EMAIL PROTECTED]
Sendt: 7. marts 2003 00:50
Til: Struts Users Mailing List
Emne: RE: date format problems
Here is what I do. The client enters a
ch (ParseException pe) {
throw new java.text.ParseException("Date Of Birth:",
pe.getErrorOffset());
}
}
}
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 3:42 PM
To: 'Struts Users Ma
List'
Emne: RE: date format problems
The "standard" for an actionForm is to have every field as String.
All conversion (which should really be thought of as business logic)
should
occur in the Action classes or further down the food chain. If this is
not
possible in your case or does
On Thu, 6 Mar 2003 10:39:08 -0500
"apachep2" <[EMAIL PROTECTED]> wrote:
> You are not alone.
>
> Re the original posting, I have another thought.
>
> 1. Date can be displayed using format string.
> 2. Date can be saved as long.
>
> Will that reduce your conversion?
I think he wants to use Bean
On Thu, 6 Mar 2003 16:14:26 +0100
Gemes Tibor <[EMAIL PROTECTED]> wrote:
> 2003. március 6. 16:06 dátummal Søren Blidorf ezt írtad:
> > Hi.
> >
> > I have an action that gets a date from the MS SQL 2000 in
> > -MM-dd. I convert it with simpledateformat as dd-MM- and put
> > it in a jsp for
Users Mailing List
Subject: RE: date format problems
I'm no expert at struts but I convert and validate my dates in my
Action or Business Class instead of the Form. I could be completely
off-base here in my interpretation of the struts ActionForm
though
-Original Message-
Make sure it is a java.sql.Date during conversion using ConvertUtil.
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]
Sent: March 6, 2003 10:14 AM
To: Struts Users Mailing List
Subject: Re: date format problems
2003. március 6. 16:06 dátummal Søren Blidorf ezt írtad:
>
you
please give more details?
-Tim
-Original Message-
From: Kandi Potter [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 10:21 AM
To: Struts Users Mailing List
Subject: RE: date format problems
I'm no expert at struts but I convert and validate my dates in my Action or
Sent: Thursday, March 06, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: date format problems
Hi.
I have an action that gets a date from the MS SQL 2000 in -MM-dd. I
convert it with simpledateformat as dd-MM- and put it in a jsp form.
When submitting the form the date must be coverted back to
2003. március 6. 16:06 dátummal Søren Blidorf ezt írtad:
> Hi.
>
> I have an action that gets a date from the MS SQL 2000 in -MM-dd. I
> convert it with simpledateformat as dd-MM- and put it in a jsp form.
> When submitting the form the date must be coverted back to -MM-DD
> before anot
Hi.
I have an action that gets a date from the MS SQL 2000 in -MM-dd. I
convert it with simpledateformat as dd-MM- and put it in a jsp form.
When submitting the form the date must be coverted back to -MM-DD
before another actions update the db.
I am trying to convert the date value in
t> cc:
Subject: RE: date format
19/02/2003 04:03
Use the SimpleDateFormat to do it so. Refer this webpage
http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html
-Original Message-
From: usha [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 3:38 AM
To: [EMAIL PROTECTED]
Subject: date format
Hi
i need to
Hi
i need to display the date fields on the jsp in the format dd/MMM/.
is there any simple way i can get this like configuration or writing any
class etc.. if anybody has any ideas plz help me
Thanks
usha
-
To unsubscribe
=
DateFormat.getDateTimeInstance(DateFormat.LONG,DateFormat.SHORT);
return df.format(getDate());
}
From: "John Espey" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Su
the JSTL format parseDate tag will do the trick for you
-Original Message-
From: Swish [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 7:34 PM
To: Struts Users Mailing List
Subject: Date format question
Hello,
I was wondering if there is a way to use the tag to convert
Hello,
I was wondering if there is a way to use the tag to convert a string in
sql time stamp format to a format of my choosing. I believe one can write a Date
object out using , but can I convert a string
"2002-12-25 00:00:00" to 12/25/2002. Thanks in advance for your suggestions!!!
Hi All-
A little while ago someone on this list emailed me directly with a question
and I didn't have the answer he wanted. In the intervening days, I lost
this person's email, so I'm going to post to the list hoping that he will
get this message.
You asked me how one could use Rick Reumann appr
RE: [OT] Date formatWith SimpleDateFormat you specify the format as a String. You
surely should be able to display that string.
What I am looking for is how to display the *format*, and not how to
display a date in a given format. (snip)
ED]]
Sent: Friday, 17 January 2003 22:42
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: [OT] Date format
Hi,
What I am looking for is how to display the *format*, and not how to
display a date in a given format. So, there doesn't seem to be anything
provided with the AP
January 2003 11:41
To: Struts Users Mailing List
Subject: RE: [OT] Date format
Your best bet is to use the static factory methods in the DateFormat class.
ie:
Locale locale = getLocale(request); //Use struts Action method to get locale
dateTimeFormat =
ateFormat.getDateTimeInstance( DateFormat.SHORT
s me DateFormat and not
SimpleDateFormat.
Suresh
>-Original Message-
>From: Andrew Hill [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 17, 2003 9:11 AM
>To: Struts Users Mailing List
>Subject: RE: [OT] Date format
>
>
>Your best bet is to use the static factory m
dagalla [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 16 January 2003 22:56
To: [EMAIL PROTECTED]
Subject: Date format
Hi,
Please excuse me for the off-topic question, I need this urgently, so
posting it.
How can I get the current date format? (style: DateFormat.SHORT, locale:
Default)
I used:
S
Check out java.util.Calendar. Particularly the constants.
Mark
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 9:56 AM
How can I get the current date format? (style: DateFormat.SHORT, locale:
Default)
--
To unsubscribe, e-mail
y 16, 2003 9:55 AM
Subject: Date format
Hi,
Please excuse me for the off-topic question, I need this urgently, so
posting it.
How can I get the current date format? (style: DateFormat.SHORT, locale:
Default)
I used:
SimpleDateFormat formatter = new SimpleDateFormat() ;
Hi,
Please excuse me for the off-topic question, I need this urgently, so
posting it.
How can I get the current date format? (style: DateFormat.SHORT, locale:
Default)
I used:
SimpleDateFormat formatter = new SimpleDateFormat() ;
String format = formatter.toPattern() ;
It gives:
M/d/yy hh:mm
Wednesday, December 18, 2002 9:52 AM
> To: Struts Users Mailing List
> Subject: date format
>
>
>
> Hi:
> I have a problem with date format. I appreciate your help.
> Using , the web
> page displayed the day as Sun Nov 30 00:00:00 EST 1980 . To
> format the day,
Try
customer.day.format=dd/MM/
mm = minutes in hour
MM = months
-= J
> -Original Message-
> From: Doug Ogateter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 9:52 AM
> To: Struts Users Mailing List
> Subject: date format
>
>
>
>
Hi:
I have a problem with date format. I appreciate your help.
Using , the web page displayed the day as
Sun Nov 30 00:00:00 EST 1980 . To format the day, I added formatKey, so the above tag
bean:write tag becomes . In my ApplicationResources.properties, I have
customer.day.format=dd/mm/
9/23/2002 04:05:09 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To:Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:Re: bean:write and Date format
Jeff:
I am using struts1.1. I tried use formatKey as you discribed, but the who
1.1 then I guess you could a helper method is the form bean that formats the
date called
String getDateFormatted() ..
Cathy Osekizoglu on 09/23/2002 03:17:42 PM
Please respond to "Struts Users Mailing List"
To: [EMAIL PROTECTED]
cc:
Subject: bean:write and Date format
Using ,
cc:
Subject:bean:write and Date format
Using , I got the date as:"
Fri Aug 24 23:42:00 EDT 2002."
How can I change it to " Fri Aug 24 02 23:42 " using struts tag?
Thank you for your help.
Cathy
-
Post your free ad now! Yahoo
Using , I got the date as:" Fri Aug 24
23:42:00 EDT 2002."
How can I change it to " Fri Aug 24 02 23:42 " using struts tag?
Thank you for your help.
Cathy
-
Post your free ad now! Yahoo! Canada Personals
47 matches
Mail list logo