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' [EMAIL PROTECTED]; 'Laurent PETIT' [EMAIL PROTECTED

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 : Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF SORRY, i

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

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] Sent:

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

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

2003-08-04 Thread Laurent PETIT
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. Brendan -Original Message- From: Laurent PETIT [mailto:[EMAIL PROTECTED] Sent: Monday, August

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, --

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,

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

2003-07-24 Thread Laurent PETIT
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

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

2003-07-24 Thread Laurent PETIT
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: [EMAIL PROTECTED

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. logic:iterate or c:forEach [...] but I confess I'm more concerned with writing code for humans rather than compilers. I tend to use

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 logic in

Re: DTO vs. JVT

2003-06-24 Thread Laurent PETIT
: 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, IMHO, there's a difference between DTOs and Value Objects. When I use the term Value Object, I mean an immutable object

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

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, June 20,

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 have an

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 best

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, June 19,

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

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 swear by

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 Euros