Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-12 Thread Mark Bennett
Rick, I believe that he is referring the the JPetStore download from the iBatis site. I am also using the additional struts helper package that comes in that demo. So no, it really doesn't have anything to do with iBatis except that it probably came from that web site. Pham, if you continue to

RE: Problem with hot deployment

2005-03-23 Thread Mark Bennett
For anyone who experiences this problem there is a fix. http://forums.bea.com/bea/message.jspa?messageID=202463602&tstart=0 Mark -Original Message- From: Mark Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:04 PM To: Struts-Users Subject: Problem with hot deploy

Problem with hot deployment

2005-03-22 Thread Mark Bennett
I'm trying to use hot deployment on an exploded archive with Weblogic 8 and struts 1.2. Whenever I modify and recompile an Action I get an exception. Does this look familiar to anyone? Thanks! Mark java.lang.ClassCastException at org.apache.struts.action.ActionServlet.getProcessorForM

Re: java.util.Date vs java.sql.Timestamp

2005-02-23 Thread mark . bennett
Awesome, Thanks! >-- Original Message -- >Reply-To: "Struts Users Mailing List" >Date: Tue, 22 Feb 2005 16:30:38 -0600 >To: "Mark Bennett" <[EMAIL PROTECTED]>, >"Struts-Users" >From: Joe Germuska <[EMAIL PROTECTED]> >Su

RE: Tiles Tabs Example - Has anyone used this?

2005-02-22 Thread Mark Bennett
Hmmm. It doesn't seem to be on my machine :) 'localhost' -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 4:15 PM To: Struts Users Mailing List Subject: Tiles Tabs Example - Has anyone used this? Hi again Yes, I'm obsessed with Tiles.

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
ing the appropriate converter. My choice however is FormDef, precisely because of reason #1 (I use Hibernate with it) http://formdef.dev.java.net -Original Message- From: Mark Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:46 PM To: Struts Users Mailing List Subject:

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
and there are tools for that. FormDef does a really nice job, especially if you have to deal with international date formats. -Original Message----- From: Mark Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:27 PM To: Struts Users Mailing List Subject: RE: java.ut

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
ublic setMyDate(String myDateString) { //i dont remmember the date format try { SimpleDateFormat format = new SimpleDateFormat(); java.sql.Timestamp myDate = format.parse(myDateString); this.myDate = myDate; } catch(Exception exc) { } } --- Mark Bennett <[EMAIL PROTECTED]> wrote: > How can

java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
How can I have struts put a java.util.Date object into a Bean? I have found that I can set a Timestamp object into a bean. THIS DOES WORK (below). However, if I change the type on the bean to java.util.Date then I get a stack trace (also below). I've also tried different formatting like: value=

RE: ActionForm vs. DynaActionForm

2005-02-21 Thread Mark Bennett
The DynaActionForm is great if you like to write scripting type code. I'd rather use encapsulation. Otherwise you'll have the same code repeated in a lot of your actions. -Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:04 AM To: stru

RE: Proper n tiered exception handling

2005-02-15 Thread Mark Bennett
I think you are missing out on some usefull features by using this. You can't use the ActionMapping Parameter property to distinguish operations and you will have to reimplement a solution if you use DispatchAction. I think there are benefits to declaritive exception handling, flexibility. Mar

custom controls

2005-02-14 Thread Mark Bennett
I am looking for a good date picker along with other convenient web controls. Does anyone recommend anything other than struts-layout? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE