Re: html:text for Date property

2004-04-10 Thread Joe Hertz
I don't think most people get annoyed that the Struts UI can't deal with Dates. They get mad because BeanUtils can't! BeanUtils.copyProperties ignores Dates (for obvious reasons). Anyone using BeanUtils will have to deal with those properties themselves, and grumble the entire time. Once I t

Re: Question about throwing an exception in the ValidatorForm validate method.

2004-04-10 Thread Niall Pemberton
No, you can only specify a RequestProcessor for different modules. You could put something in your struts-config.xml to indicate to the RequestProcessor that it shouldn't check the session for a particular mapping. The only thing is the processPreprocess() method is done before the mapping is dete

Re: Question about throwing an exception in the ValidatorForm validate method.

2004-04-10 Thread Niall Pemberton
My mistake, there's an easier way to use change the default ActionMapping class to use, set the type on the Niall - Original Message - From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, April 10, 20

[FRIDAY] "Struts Survivor" Trivia Quiz

2004-04-10 Thread Ted Husted
It's been desperately long since I've done this. But, frankly, it was a busy quarter and it's been tough coming up with questions. But Spring is in the air, and the creative juices are flowing, so welcome to ... ** THE STRUTS SURVIVOR WHO-WE-ARE QUIZ ** In honor our moving (slowly) to a top-lev

Re: [FRIDAY] "Struts Survivor" Trivia Quiz

2004-04-10 Thread Ted Husted
On Sat, 10 Apr 2004 08:56:32 -0400, Ted Husted wrote: > To play, submit answers to THREE or more of the questions. Everyone > submitting a correct response to < [EMAIL PROTECTED] > will be > entered in the drawing for an autographed copy of Struts in Action > or JUnit in Action (just by Ted I'm afr

Re: [slightly OT] Any advice for 'jsp.error.useBean.duplicate' ?

2004-04-10 Thread bOOyah
Joe Hertz wrote: The old 'alternating-table-row-color' trick. No doubt there's a better way of doing that too. Thought about using the "one minus 1|0" trick? Initialize some int to 1 or 0: int index = 0; Then in your loop do: index = 1 - index; And set the color based upon some two element

Re: Struts with Tomcat and Apache

2004-04-10 Thread Paul Thomas
On 09/04/2004 20:55 Ralf Schneider wrote: Hi, I'm new to Struts and I'm trying to install Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The documentation only talks about Tomcat 3.x. My first try was to follow these instructions for Tomcat 3.2.1. I copied the war files included with the binary

Re: monkeys-bunches-bananas design issue - not Friday

2004-04-10 Thread Paul Thomas
On 08/04/2004 12:24 Adam Hardy wrote: I've got a design issue re nested beans and DTOs from EJB, the classical (if that's not stretching it) monkeys-bunches-bananas situation. I was wondering how people solve the issue of putting the nested beans together from the data in the database. I am cre

RE: Custom attribute on

2004-04-10 Thread Igor Antonacci
Not exactly. I'm trying to bind a textbox to a MS DataSource (DSO) on browser side; Just downloading a XML (DSO) as part of HTML, I can bind every field (html controls) of my HTML table to it. It results in a simple EditList managment (as it's restricted to MS browser). As I want to use Struts fe

Nested Validations

2004-04-10 Thread Duggal, Sanjay
Hi All, I want to know if I can use the Struts Validator for nested validations. I have a javabean that i'm using within my form bean & there are properties nested in that java bean that i'm using on my jsp & that need to be validated. Please advise if I can use the Struts Validator for this purpo

Re: [FRIDAY] "Struts Survivor" Trivia Quiz

2004-04-10 Thread Martin Gainty
Apache Committer that started IntelliJ was Brett Porter The others Im working on... ~Martin~ "Thats why I ALWAYS have Chocolate Donuts on my training table" - John Belushi - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent:

Re: Struts with Tomcat and Apache

2004-04-10 Thread Ralf Schneider
Am Samstag, 10. April 2004 15:30 schrieb Paul Thomas: > I supect that you're trying to use the old mod_jk connector. Try mod_jk2 > instead. No, I use mod_jk2. The connection between Tomcat and Apache works now. But the next problem is that I get an error when trying to access the struts example

Problem with Struts example apps

2004-04-10 Thread Ralf Schneider
Hi, after copying the example apps that come with struts 1.1 into the webapps directory of my Tomcat 5.0.16, I wanted to try them. But when I try to access them (e.g. struts-blank) I get the following error: exception javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(

validator-rules.xml

2004-04-10 Thread Duggal, Sanjay
Hi All, Where can i download the latest version of validator-rules.xml ?? Thanks. Sanjay This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only fo

Re: [FRIDAY] "Struts Survivor" Trivia Quiz

2004-04-10 Thread Ted Husted
It's better to reply only to me, rather than clutter up the list. I'll summarize the answers later. And, the answer to any of the questions would be one or more of the active STRUTS Committers :) -Ted. On Sat, 10 Apr 2004 11:14:03 -0400, Martin Gainty wrote: Apache Committer that started Intel

struts and tiles seem not to like each other

2004-04-10 Thread Marc Tinnemeyer
Hi, After diving into the world of struts I decided also to include tiles in my app. But there seems to be something that keeps me from doing this. Here are the steps I have taken so far: checked struts-config.xml for tiles-stuff (as I copied that file from struts-blank everything was already the

Re: validator-rules.xml

2004-04-10 Thread Niall Pemberton
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/conf/share/ - Original Message - From: "Duggal, Sanjay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 10, 2004 4:24 PM Subject: validator-rules.xml > Hi All, > > Where can i download the latest version of validator-r

Re: Custom attribute on

2004-04-10 Thread Curtis Taylor
Hi Igor, The "datafld" is, IIRC, an IE-only DOM property. I believe Struts only supports the W3C DOM. HTH, Curtis -- c dot tee at verizon dot net Igor Antonacci wrote: Not exactly. I'm trying to bind a textbox to a MS DataSource (DSO) on browser side; Just downloading a XML (DSO) as part of HTM

Re: struts and tiles seem not to like each other

2004-04-10 Thread Christian Bollmeyer
On Saturday 10 April 2004 18:36, Marc Tinnemeyer wrote: Hi, didn't check if your overall configuration is correct, but the first thing I'd suggest is moving the part to a normal ForwardAction like this and refer to that in your index.jsp: This should work. I never researched why Struts gl

RE: Question about throwing an exception in the ValidatorForm validate method.

2004-04-10 Thread Stephan Jones
I solved my problem with extending the RequestProcessor and overriding the processValidate with my own method To this method I added * if (request.getSession().isNew()) return (true); As the first check in the method. This makes the validate method be skipped if a new session is detected. This

Jar order in classpath

2004-04-10 Thread J.R. Heisey
What is the proper order for the jars in the class path. Sometimes I get the error org.apache.commons.logging.impl.Jdk14Logger.class does not implement Log class. Sometimes I do not get the error. I can just restart Tomcat and the exception goes way. Is there some unsychronized threading issue in t

Re: Jar order in classpath and Exception Jdk14Logger does not implement Log class

2004-04-10 Thread J.R. Heisey
[EMAIL PROTECTED] wrote: What is the proper order for the jars in the class path. Sometimes I get the error org.apache.commons.logging.impl.Jdk14Logger.class does not implement Log class. Sometimes I do not get the error. I can just restart Tomcat and the exception goes way. Is there some unsych

Re: Struts with Tomcat and Apache

2004-04-10 Thread Michael McGrady
Not sure what you have done, but I had to get an outside startup script to get things going. I suspect you are running into the same difficulty. I like to run the application without using System to set the environmental variables, so that may be a different thing than you face. At 06:30 AM 4

Re: Jar order in classpath

2004-04-10 Thread Craig McClanahan
J.R. Heisey wrote: What is the proper order for the jars in the class path. Sometimes I get the error org.apache.commons.logging.impl.Jdk14Logger.class does not implement Log class. Sometimes I do not get the error. I can just restart Tomcat and the exception goes way. Is there some unsychronized

Re: Jar order in classpath

2004-04-10 Thread Christian Bollmeyer
On Saturday 10 April 2004 19:24, J.R. Heisey wrote: Hi, 1. Considering the CLASSPATH issue: 'first come, first serve'. I would suspect you may have multiple, different versions of commons.logging in your CLASSPATH. How that's set up exactly in your environment(s) (Tomcat uses a separate one), I c

Re: Struts with Tomcat and Apache

2004-04-10 Thread Christian Bollmeyer
On Saturday 10 April 2004 19:36, Michael McGrady wrote: Well, after downloading the binaries, for me it was nearly kind of out-of the box, after having worried a lot of time with the tomcat-connectors package shipped with SuSE 9.0 (which obviously doesn't work with TC5). The only thing I finally h

Re: struts and tiles seem not to like each other

2004-04-10 Thread Marc Tinnemeyer
Thanks a lot for your jit response, now struts and tiles talk to each other :-) Nochmals besten Dank ! und natuerlich schoene Feiertage. Gruss, Marc On Sat, 10 Apr 2004 18:58:56 +0200 Christian Bollmeyer <[EMAIL PROTECTED]> wrote: > On Saturday 10 April 2004 18:36, Marc Tinnemeyer wrote: > >

[OT] Clustering Application Scope Objects

2004-04-10 Thread Mike Duffy
I've read documentation for The Tomcat 5 Servlet/JSP Container: Clustering/Session Replication HOW-TO http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html I understand clustering for individual user sessions. Are there any correlated methods for clustering application scope objects

Re: [OT] Clustering Application Scope Objects

2004-04-10 Thread Christian Bollmeyer
On Saturday 10 April 2004 21:48, Mike Duffy wrote: Hi, > I've read documentation for The Tomcat 5 Servlet/JSP Container: > Clustering/Session Replication HOW-TO > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html > > I understand clustering for individual user sessions. Are ther

Re: [OT] Clustering Application Scope Objects

2004-04-10 Thread Mike Duffy
Thanks Christian, Let me give you a specific example of what I am trying to do. I have several different sets of label/value pairs that are stored in database tables. These label/value pairs make up the select options and other interface options for web pages in the application. The options d

Re: [OT] Clustering Application Scope Objects

2004-04-10 Thread Matt Sgarlata
Hi Mike, Your JMS approach sounds fairly sophisticated; could take a while to implement ;-) Hibernate provides some out-of-the-box cacheing implementations, some of which take on this problem. I think you'll find this portion of their user guide fairly relevant: http://www.hibernate.org/hib_

Re: [OT] Clustering Application Scope Objects

2004-04-10 Thread Curtis Taylor
Hi Mike, This is an interesting question. Using the PlugIn interface to store "semi-static" data in the app context is a commonly accepted pattern (we use it in the project I'm working on now). However, there's no mechanism currently available in Struts to allow for data model change event noti

Problem with Struts example apps

2004-04-10 Thread Ralf Schneider
Hi, after copying the example apps that come with struts 1.1 into the webapps directory of my Tomcat 5.0.16, I wanted to try them. But when I try to access them (e.g. struts-blank) I get the following error: exception javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(

Re: Struts with Tomcat and Apache

2004-04-10 Thread Ralf Schneider
Am Samstag, 10. April 2004 15:30 schrieb Paul Thomas: > I supect that you're trying to use the old mod_jk connector. Try mod_jk2 > instead. No, I use mod_jk2. The connection between Tomcat and Apache works now. But the next problem is that I get an error when trying to access the struts example

Re: Problem with Struts example apps

2004-04-10 Thread Craig McClanahan
Ralf Schneider wrote: Hi, after copying the example apps that come with struts 1.1 into the webapps directory of my Tomcat 5.0.16, I wanted to try them. But when I try to access them (e.g. struts-blank) I get the following error: You wouldn't by any chance have an old copy of servlet.jar in