RE: textfield with Date object

2010-03-31 Thread Wick, Dan
e a consistent locale request setting both for the first request > (rendering the form and the current value in the textfield) and the > second request (processing the submitted form). > > - René > > Wick, Dan schrieb: > > I accept your answer, but Struts2 should just hand

RE: textfield with Date object

2010-03-31 Thread Wick, Dan
ss that simplify getting the users Locale and DateFormat. > Depending on the app the users Locale may come from a Login object or > the browser request (which Struts can retrieve) or from a cookie. > > On Tue, Mar 30, 2010 at 10:34 AM, Wick, Dan > wrote: > > Does a

textfield with Date object

2010-03-30 Thread Wick, Dan
Does anyone know how to change the format of dates coming in on a text input being backed by a java.util.Date in the Action? If I enter dates in US format (ex: 3/31/2010 for March 31, 2010) everything is fine. This requires a different style input though, using Day/Month/Year (31/3/2010). I s

disadvantage by not using the default execute() method for ActionClass?

2009-03-10 Thread Wick, Dan
We're trying to decide as a team what conventions we are going to follow. Does anyone know if there's anything we lose by not calling the default "execute()" method in our actionsopting for specifying another class name in the struts config xml? For example, executeView() and executeDo() cal

RE: trouble deploying struts2 app to tomcat 1.5.0.05 *FIXED*

2009-02-09 Thread Wick, Dan
and I'd look > for known issues with the HP-UX JVM. > > Dave > > Wick, Dan wrote: > > Ok, to make the problem more simplified...I took the > > struts2-blank-2.0.12.war application & deployed it to my > local tomcat. > > That works. > > >

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-06 Thread Wick, Dan
Ok, to make the problem more simplified...I took the struts2-blank-2.0.12.war application & deployed it to my local tomcat. That works. Took the same war & deployed it to my server environment tomcat - FAILS. Note that I have commented out every other application running there, so it's a 1 to 1 co

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-05 Thread Wick, Dan
> Musachy Barroso wrote: > > at all. Can you check the file permissions on the libs, and > make sure Against better judgement, changed permissions to 777 on everything in the app. User that owns the files is the same as the user that tomcat runs as...so should be set there. > > they are readab

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-05 Thread Wick, Dan
> > Is there a way to make the framework itself log more? > > Set the log levels on S2, XW, and OGNL to DEBUG. Where do I set the log levels? Sorry, this is my first strut2 app..so am a noob 2 it! > >> Can you reproduce the problem with a minimal WAR you can host > >> somewhere? Well, I know

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-05 Thread Wick, Dan
> Do you have devMode turned on? Is logging turned all the way up? Dev mode is on. Logging for the context (server.xml) is set to 10. Is there a way to make the framework itself log more? > > What version of Tomcat are you *actually* using--5.0.15? Tomcat is specifically 5.0.15 on HP-UX (UNI

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-05 Thread Wick, Dan
n Source) at org.apache.catalina.core.StandardEngine.start(Unknown Source) > -Original Message- > From: Dave Newton [mailto:newton.d...@yahoo.com] > Sent: Wednesday, February 04, 2009 8:33 PM > To: Struts Users Mailing List > Subject: Re: trouble deploying struts2 ap

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-04 Thread Wick, Dan
factory.jar naming-resources.jar ojdbc14.jar servlet-api.jar Any ideas where else to look? --Dan > > musachy > > On Wed, Feb 4, 2009 at 9:41 AM, Wick, Dan > wrote: > >> $ unzip -l your_war_name.war | grep lib > >> > >> and post the output. > >

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-04 Thread Wick, Dan
the jars, the struts and xwork jars > were not in lib. Drop to a shell and run > > $ unzip -l your_war_name.war | grep lib > > and post the output. > > musachy > > On Tue, Feb 3, 2009 at 3:45 PM, Wick, Dan > wrote: > > Is there a way to get a good log of wh

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-03 Thread Wick, Dan
start(Unknown Source) at org.apache.catalina.core.StandardEngine.start(Unknown Source) at org.apache.catalina.core.StandardService.start(Unknown Source) at org.apache.catalina.core.StandardServer.start(Unknown Source) > -Original Message- > From: Wick, Dan [mai

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-02-02 Thread Wick, Dan
Date: Fri, 30 Jan 2009 22:40:29 +0100 > > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05 > > From: lukasz.len...@googlemail.com > > To: user@struts.apache.org > > > > 2009/1/30 Wick, Dan : > > > I've developed an application using struts2 (2.0.1

RE: trouble deploying struts2 app to tomcat 1.5.0.05

2009-01-30 Thread Wick, Dan
Lenart [mailto:lukasz.len...@googlemail.com] > Sent: Friday, January 30, 2009 3:40 PM > To: Struts Users Mailing List > Subject: Re: trouble deploying struts2 app to tomcat 1.5.0.05 > > 2009/1/30 Wick, Dan : > > I've developed an application using struts2 (2.0.12 to be > exact).

trouble deploying struts2 app to tomcat 1.5.0.05

2009-01-30 Thread Wick, Dan
All, I've developed an application using struts2 (2.0.12 to be exact). It works on my local windows box, on Tomcat via Eclipse, but not as a war when I put it up on a server. I get the following stack, which I can't see anything wrong...although I'm sure it's something I did! **