Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-07 Thread s
Yep..That's what I did But the question is, why it retains time information, if there is no validation error...? -Original Message- From: "J. Garcia" [jogaco...@gmail.com] Date: 06/07/2012 12:21 PM To: "Struts Users Mailing List" Subject: Re: Struts 2 losing timestamp in java.util

Struts2Builder 0.4.0 has been released

2012-06-07 Thread Thomas Sattler
Greetings all. Struts2Builder version 0.4.0 has been released. Struts2Builder is a Java code generation system that can automatically build a real, live, functioning Struts2 / Hibernate / Spring system for any existing PostgreSQL or MySQL database. Struts2Builder will log into the database, exam

Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-07 Thread J. Garcia
Try using date formatting like this: J. On Wed, Jun 6, 2012 at 11:08 PM, s wrote: > Here's an JSPs, action class and struts.xml > > http://localhost:8080/Sample/student_edit.action calls form/jsp > studentDetails. > > Erase name and submit form, this will result in validation being fail

Re: Problem in struts2 project setup.

2012-06-07 Thread Dave Newton
>> jar:file://apache-tomcat-6.0.29/lib/struts2-core-2.0.11.jar! That's from your log file. On Thu, Jun 7, 2012 at 11:24 AM, vivek mishra wrote: > Thanks for the reply guys. But I couldn't find any duplicate struts2 > file in tomcat lib. I tried running this application with jboss as > well but n

Re: Problem in struts2 project setup.

2012-06-07 Thread vivek mishra
Thanks for the reply guys. But I couldn't find any duplicate struts2 file in tomcat lib. I tried running this application with jboss as well but no luck. As the war has been deployed perperly but while accessing the URL, its giving 404 error: " The requested resource (/VFS/LoginAction.do) is not a

Re: Problem in struts2 project setup.

2012-06-07 Thread Dave Newton
It *is* included in the web-app directory. The problem is that there's *also* an S2 library in the Tomcat lib directory, where there shouldn't be one. Remove the old library from the tomcat lib directory. Dave On Thu, Jun 7, 2012 at 10:40 AM, CyberCom wrote: > com.opensymphony.xwork2.**Object

Re: Problem in struts2 project setup.

2012-06-07 Thread CyberCom
com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file://apache-tomcat-6.0.29/lib/struts2-core-2.0.11.jar! /struts-default.xml:30:72 - bean - jar:file://apache-tomcat-6.0.29/webapps/VFS/WEB-INF/lib/ struts2-core-2.2.3.1.jar!/struts-default.xml:29:72

Re: Problem in struts2 project setup.

2012-06-07 Thread vivek mishra
Hi Dave, Here's the log: java] Jun 7, 2012 8:15:54 AM org.apache.catalina.startup.HostConfig deployWAR [java] INFO: Deploying web application archive VFS.war [java] Jun 7, 2012 8:15:54 AM org.apache.catalina.loader.WebappClassLoader validateJarFile [java] INFO: validateJarFile(\apa

Re: Problem in struts2 project setup.

2012-06-07 Thread Dave Newton
Is that the *only* information available in the logs? Dave On Thu, Jun 7, 2012 at 10:01 AM, vivek mishra wrote: > Hi Folks, > > While setting up new project using struts2, I am facing this error : > > Unable to load configuration. - bean - > jar:file:/E:/sp639u/apache-tomcat-6.0. > > 29/webapps/

Problem in struts2 project setup.

2012-06-07 Thread vivek mishra
Hi Folks, While setting up new project using struts2, I am facing this error : Unable to load configuration. - bean - jar:file:/E:/sp639u/apache-tomcat-6.0. 29/webapps/VFS/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72 I googled it as well but couldn't find any solution. I has se

struts2.0.14's date time picker tag

2012-06-07 Thread Amol Ghotankar
A issue I am facing with struts2.0.14's date time picker tag The problem is that struts2 datetimepicker displayformat attribute must always be set to format of tomcat server date time format else the submitted values are null. *Change Date time setting by in Win 7:* 1. RightClick bottom right