RE: ActionForm DB validation

2003-06-26 Thread FrenzyGNX
I think that kind of validation is better to be done in the business logic layer. --- Fedor Smirnoff [EMAIL PROTECTED] wrote: Hey, I wanted to find out if its acceptable to access database in the validation stage of SOMEActionForm. Basically when a user enters email address to subscribe,

Re: Connection Pool: JPetStore Database Layer

2003-06-26 Thread FrenzyGNX
too. Not had any problems with it. I see there was no reply to that message you quote either. Adam FrenzyGNX wrote: There is a bug in DBCP that will return closed connections, even if the validation query is set. http://www.mail-archive.com/[EMAIL PROTECTED]/msg66565.html

Re: Connection Pool: JPetStore Database Layer

2003-06-26 Thread FrenzyGNX
developer to search or add bugs to their bugzilla. FrenzyGNX wrote: So maybe you can help me with the problem? I have posted the problem in Commons list and here, but have got no answer so far. Thanks. And to be precise, the error is not closed connection, but broken pipe

Re: Connection Pool: JPetStore Database Layer

2003-06-25 Thread FrenzyGNX
on. --- Adam Hardy [EMAIL PROTECTED] wrote: FrenzyGNX wrote: My personal experience with DBCP is not good. I would avoid it in my next project. From what point of view were you disappointed? Adam - To unsubscribe

RE: Connection Pool: JPetStore Database Layer

2003-06-24 Thread FrenzyGNX
My personal experience with DBCP is not good. I would avoid it in my next project. --- Yansheng Lin [EMAIL PROTECTED] wrote: Found it. But as expected, there is only one real connection. Maybe I can use commons-dbcp package. -Original Message- From: Yansheng Lin

RE: Do u know this bug ?

2003-06-23 Thread FrenzyGNX
message /menuredirect.html description The requested resource (/menuredirect.html) is not available. Pls help me to find out the problem, thanks much -Original Message- From: FrenzyGNX [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 12:39 PM To: Struts Users Mailing

Re: Problem using message resource file

2003-06-23 Thread FrenzyGNX
Have you tried to reload the web application after you make the changes? --- Nikolay Ganev [EMAIL PROTECTED] wrote: Hi All, I use Struts rc1 and JBoss 3.2.0. I have problems using message resource properite file. Some fileds in that file are not accessible!! I checked that the file is

Re: Can I use 2 loggers (e.g. to write to 2 files) in one Action?

2003-06-23 Thread FrenzyGNX
Log4J (and most other logging packages) will log a message if its level = the defined level. So log4j.rootLogger=DEBUG, stdout, rolling will log FATAL, ERROR, INFO, DEBUG into rolling. --- Pingili, Madhupal [EMAIL PROTECTED] wrote: Hi All, Can I use two loggers in one Action? I have set the

RE: Do u know this bug ?

2003-06-23 Thread FrenzyGNX
into index.jsp and get this error), menudummy and menuredirect not be found. -Original Message- From: FrenzyGNX [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 5:20 PM To: Struts Users Mailing List Subject: RE: Do u know this bug ? Can you tell me the directory structure of your

Re: Dynamic number of properties in an ActionForm?

2003-06-22 Thread FrenzyGNX
You can use a Collection or array to hold the data and use logic:iterate or c:forEach tags to interate through the collection and display the items. You can use a Map backed form to send back the values. --- Bjorn T Johansen [EMAIL PROTECTED] wrote: I have a little question. How do I setup a

Re: Do u know this bug ?

2003-06-22 Thread FrenzyGNX
It seems that you are doing a forward after partially populating the response. Below is from Servlet Spec 2.3, SRV.8.4 - If output data exists in the response buffer that has not been commited, the content must be cleared before the the target servlet's service method is called. If the response

RE: [OT] Using different JDK in Eclipse

2003-06-20 Thread FrenzyGNX
Thanks. But this will affect all projects opened right? I would like to specify different JDK per project. --- Steve Raeburn [EMAIL PROTECTED] wrote: You can also change the current default JRE via Window/Preferences/Java/Installed JREs. Eclipse maintains JRE_LIB and JRE_SRC variables

Re: [OT] Using different JDK in Eclipse

2003-06-20 Thread FrenzyGNX
/ Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx - Original Message - From: FrenzyGNX [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 20, 2003 12:57 AM Subject: Re: [OT] Using different JDK in Eclipse

RE: [OT] Using different JDK in Eclipse

2003-06-20 Thread FrenzyGNX
, Shirish. -Original Message- From: FrenzyGNX [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 11:01 AM To: Struts Users Mailing List Subject: Re: [OT] Using different JDK in Eclipse Does that mean the default JRE's javac will always be invoked when I compile, but the classpath

[OT] Using different JDK in Eclipse

2003-06-19 Thread FrenzyGNX
Is there a way to set up different JDK for different projects in Eclipse 2.1? I have to use a different version of JDK for certain projects, because of dependency on some old packages. Thanks. __ Do You Yahoo!? Send free SMS from your PC!

Re: [OT] Using different JDK in Eclipse

2003-06-19 Thread FrenzyGNX
Thanks. However, I didn't see any place to specify different JDK home paths. Can you give more details? Thanks again. --- David Graham [EMAIL PROTECTED] wrote: Is there a way to set up different JDK for different projects in Eclipse 2.1? I have to use a different version of JDK for

RE: question about struts

2003-06-06 Thread FrenzyGNX
I use an initialization servlet to establish db and EJB server connections. How does it compare to PlugIn approach? Thanks. --- Andrew Hill [EMAIL PROTECTED] wrote: The ActionServlet has a reference to the servlet context which may be retrieved using: servlet.getServletContext() Using the

Re: SOS. How to solve this problem ????

2003-06-05 Thread FrenzyGNX
Maybe you should explain what does your application do, how did you configure your application, and what is ze file. --- Tran Nguyen Thanh Bao [EMAIL PROTECTED] wrote: Dear all, When I first try my own application with Struts (using Tomcat 4.1.18), the errors generated as follow: HTTP