Re: Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF

2003-08-09 Thread Laurent PETIT
Can't you be more explicit about the error ? Did you try to view the source of the html produced ? ( And, oh, please, just DON'T CRY ! ) - Original Message - From: "Laurent MARQUEZ" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'"

Re: Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF

2003-08-08 Thread Laurent PETIT
Hi, you can't do that. Your welcome file must be accessible directly via http://yourserver/yourwebappcontext/common/index.jsp, without involving the pattern matching mechanism -> so it must not be in the WEB-INF directory. Just put a single index.jsp at the root of your webapp, with a (for exam

Re: Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF

2003-08-08 Thread Laurent PETIT
, -- Laurent - Original Message - From: "Laurent MARQUEZ" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>; "'Laurent PETIT'" <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 2:37 PM Subject:

Re: Model and Business in Struts

2003-08-07 Thread Laurent PETIT
hi, expresso may hit the target. -- Laurent - Original Message - From: "Mehdi Bizhani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 8:15 AM Subject: Model and Business in Struts > > Hi, > > Please introduce me a Struts-compatible and complete framewor

Re: [OT] - [TOPIC] - [VOTE]

2003-08-05 Thread Laurent PETIT
nope, too. - Original Message - From: "Mark Galbreath" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, August 05, 2003 12:50 PM Subject: RE: [OT] - [TOPIC] - [VOTE] nope -Original Message- From: Puneet Agarwal [mailto:[EMAIL PROTECTED] Se

Re: [OFF TOPIC] Book recommendations (J2EE, Struts, JUnit, EJB, Weblogic)

2003-08-04 Thread Laurent PETIT
ation Archectecture". "Unit testing in Java" sounds interesting. I too am in search of a WebLogic book. I have one on my desk, and have perused the Amazon comments. I plan to visit a bookshop later this week and buy one. I will try to post a review view once I have read one. B

Re: [OFF TOPIC] Book recommendations (J2EE, Struts, JUnit, EJB, Weblogic)

2003-08-04 Thread Laurent PETIT
Hello, I'm looking for a good book related to the "Test first driven development" area. I browsed the amazon customer reviews for the classical books on the subject (Kent Beck, ...) but was still afraid of something : are this book really connected to reality when you have to deal with "real" pro

RE: How to activate Reset method in ActionForm?

2003-07-28 Thread Laurent PETIT
Hello, AFAIK, reset() method is always called for your ActionForm defined in the action mapping. The process is well defined : - the ActionForm instance is created or fetched from the scope defined by the scope attribute of the actionmapping in struts-config.xml - the reset() method of the Ac

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Laurent PETIT
Hello, one way to solve it is not to duplicate code in different Action classes, but have many ActionMapping entries in your struts-config.xml file. This way you keep the navigational part of your application away from Action classes, but still avoid code duplication in Actions. HTH, -- Laure

[idiomatic Struts] how to fill automatically an ActionForm property which is a List of some other Bean ?

2003-07-24 Thread Laurent PETIT
you please tell me what the Struts idiomatic solution to this problem is ? Thanks in advance, -- Laurent PETIT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [OT]Persistance Layers

2003-07-24 Thread Laurent PETIT
uot;Martin Fowler's Patterns catalog" way, the iBatis DAO framework is writtent in the "Core J2EE Patterns" way. My 0.02 EUR, -- Laurent Petit - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" &

[idiomatic Struts] how to fill automatically an ActionForm property which is a List of some other Bean ?

2003-07-24 Thread Laurent PETIT
ut faced some other problems with setting manually the nested lists using the basic DynaActionForm api ...) Could you please tell me what the Struts idiomatic solution to this problem is ? Thanks in advance, -- Laurent PETIT. - T

Re: OT: JSR-168 is available for review

2003-07-24 Thread Laurent PETIT
Hello, I'm quite new in the Java / J2EE sphere, and so I don't really know the typical behaviors I'm supposed to have in some circumstances ? ;-) Is it quite normal to blame the JCP specs, even without giving any reason for that ? Or is there such a historical life of bad specs from the JCP, that

Re: Using JSTL tags instead of Struts tags

2003-07-11 Thread Laurent PETIT
From: "Mark Lowe" <[EMAIL PROTECTED]> > I'd be interested in any research comparing the readability of the two > and seeing which site builders prefer. > or > [...] but I confess I'm more concerned with writing code for humans > rather than compilers. > I tend to use > > rather than > > > ..bu

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread Laurent PETIT
Hello, From: "David Graham" <[EMAIL PROTECTED]> > No, it doesn't encourage poor programming. Anyone can abuse the tags but > it's up to your designers to use them for view logic. If you provide > beans that perform the business logic, the page designers will have no > reason to implement that lo

Re: DTO vs. JVT

2003-06-23 Thread Laurent PETIT
ent > > cheers :-) > > > - Original Message - > From: "Laurent PETIT" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, June 24, 2003 9:23 AM > Subject: Re: DTO vs. JVT > > > > Hello,

Re: DTO vs. JVT

2003-06-23 Thread Laurent PETIT
Hello, IMHO, there's a difference between DTOs and Value Objects. When I use the term Value Object, I mean an immutable object, such as a String, a Date, a Money, those things who are best designed as immutable if you want to take it easy with the sharing problems ... When I use the term DT

Re: How much should Struts be aware of my persistence system

2003-06-20 Thread Laurent PETIT
Hello, Take a look at Mapper, a new project in the Commons-Sandbox at apache : http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/mapper/ -- Laurent - Original Message - From: "Michael Thompson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, Ju

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
From: "David Graham" <[EMAIL PROTECTED]> > For some reason the "POJO" term really irritates me. I'm not sure why we > need a special nomenclature for Java objects. Well, that said, why do you think guys the term POJO was invented for ? I was told that it was invented because some people only swe

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
Original Message - From: "Mike Jasnowski" <[EMAIL PROTECTED]> > POJO = Plain Ole Java Object POJO = Plain Old Java Object ( nothing to do with Ole & M$, just a typo ) -- Laurent - To u

Re: Struts and database

2003-06-19 Thread Laurent PETIT
Hello, Take a look at Commons-Scaffold on the apache-jakarta site, it uses externalized SQL statements in properties files. My 0.02 Euros ;-) -- Laurent - Original Message - From: "Yansheng Lin" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, J

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
OK, found ! It's in the cvs section of the site. - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 4:18 PM Subject: Re: design issue MVC - forms, EJB, data marshalling > >I am starting a new app and trying to work out the

Re: design issue MVC - forms, EJB, data marshalling

2003-06-19 Thread Laurent PETIT
From: "David Graham" <[EMAIL PROTECTED]> > There's a project in the commons-sandbox called Mapper that may help you. > It allows you to plugin persistence layers without your app knowing or > changing (sort of like commons-logging). Hello, I can't find the Mapper project in the website, do you ha

Re: The Back button on on multi-page forms ??????

2003-03-11 Thread Laurent PETIT
From: "Edgar Dollin" <[EMAIL PROTECTED]> Hello, > [ ... ] I have found the complete removal of the > back button a relatively high user frustration issue. Yes, and in fact, it is not much safer as managing input validation with only javascript code. "Never trust the client (browser)" ! My 0.02