Re: [OT] Tomcat vs Resin

2004-12-07 Thread Leon Rosenberg
Hi, 1) What do people think about Resin 3.x? It's very cool, and development under resin is much easier, at least till 3.0.8 (haven't tried 3.0.9 and new performance packs yet) 2) I've seen quite a few people say that Resin is faster than Tomcat. Is this still true for Tomcat 5.x (not 5.5,

Re: [OT] Tomcat vs Resin

2004-12-07 Thread Leon Rosenberg
Hi, 1) What do people think about Resin 3.x? It's very cool, and development under resin is much easier, at least till 3.0.8 (haven't tried 3.0.9 and new performance packs yet) 2) I've seen quite a few people say that Resin is faster than Tomcat. Is this still true for Tomcat 5.x (not 5.5,

RE: getting value of object in a collection via tag

2004-12-07 Thread Marco Mistroni
Hello , Thanx for the reply... I was actually wondering if following expression will work also bean:write name=myBean property=vector[0].myProperty/ ? assumed that my bean has a method called getVector which returns a Collection.. actually I am not sure if it will work if I use a

Re: getting value of object in a collection via tag

2004-12-07 Thread Yves Sy
I believe that wont work. Seems like you have two choices: 1. Extract the first element in your action and place it in request scope so you can use a simple bean:write in your jsp; 2. use logic:iterate and set the length attribute to 1: logic:iterate name-myBean property=vector length=1

RE: getting value of object in a collection via tag

2004-12-07 Thread Marco Mistroni
Hello yves, I got lucky :-) .. it worked bean:write name=productMaintenanceForm property=productContainers[0].uomRef / but unfortunately it's beginning of other problems... :-( thanx anyway for suggestions.. regards marco -Original Message- From: Yves Sy

RE: [OT]Threads and Servlets Question

2004-12-07 Thread Daniel Perry
Threads rule! Seriously though... only use threads if you know how they work :) Quartz can do a lot for you (and is a piece of cake to use in struts apps). It provides cron like functionality, and can also use persistant tasks that survive container restarts. Threads are good for simple

Re: [OT]Threads and Servlets Question

2004-12-07 Thread bryan
Object creation with modern JVM's is not that big a problem. --b On Mon, 6 Dec 2004 15:18:12 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I don't understand your response. Memory (physical and virtual) are also finite resources. Does this mean that instantiating new objects is a Bad

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Hi David, thatnks for that. I'm only starting to set up validation so my file is this simple ! form-validation formset form name=mmscContentAdaptationForm field property=accessCheckInterval depends=integer arg0 key=mmssm.mmsc.ca.accessCheckInterval/ /field /form

LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Alexander Czernay
I have a strange problem with LookupDispatchAction: I built a form displaying several entries from a db as a list. There are several buttons for editing/removing the entries an also two buttons for paging though the list. The problem is, that only one of those buttons works, while the other

Re: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Niall Pemberton
What about your struts-config.xml - do you have the validator PlugIn - can you show us the entry? If you do have the Plugin are you getting any errors when the webapp starts up - check your logs. Niall - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: Struts Users Mailing

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
And the commons-validator.jar is 1.1.3 Donie -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 10:51 To: Struts Users Mailing List Subject: RE: Exception when app goes to form which extends ValidatorForm Hi David, thatnks for that. I'm only starting

Struts-el question

2004-12-07 Thread Vinicius Caldeira Carvalho
Hi there I'm using struts-el to solve some of my indexed problems. Inb my action I have a collection of beans, assume this beans have a property of parentBean which has a name: bean.getParent().getName() would retreive what I want. on my jsp I have: html-el:form html-el:select property=idBean

Best approach to implement date dropdown

2004-12-07 Thread Ben
Hi I am using Struts with Velocity as a replacement to JSP. I would like to implement a date drop down list and love to hear your opinions on the best way to implement it. I like to have something like these on my ActionForms and use ValidatorPlugin to validate the data: [MM] [DD] [] Or

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Hi Niall plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/ set-property property=stopOnFirstError value=false/ /plug-in Here is the plugin section and there are no errors in the logs that

Re: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Niall Pemberton
Another thought. You say your using Validator 1.1.3 (and presumably Struts 1.2.4?) - I just took a quick look at the tutorial - their versions of the validator config files are for Validator 1.0 Make sure your validator-rules.xml is the latest one that ships with Struts 1.2.4 - its in the lib

Re: WAR based project layout vs Sun J2SE blueprint layout

2004-12-07 Thread Yagiz Erkan
they are deployed (trim extra whitespace from JSPs, assemble help Hi Max, Do you use an Ant task to trim whitespaces from JSPs? Thanks, - Yagiz Erkan - http://yagiz.blogspot.com http://www.erkans.com - To unsubscribe,

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Just checked that. They are OK as regards versions. I have a breakpoing in org.apache.commons.validator.Validator.java public Validator(ValidatorResources resources, String formName) { if (resources == null) { throw new IllegalArgumentException(Resources cannot be null.);

Re: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Niall Pemberton
From your log, its not picking up any properties for the ValidatorPlugin - most importantly - the pathnames one - thats why your not getting any validator resources initialized. See these lines 7 Dec 13:07:25 [DEBUG ActionServlet.807] Initializing module path '' plug ins 7 Dec 13:07:25

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Dakota Jack
You might want to look at http://www.michaelmcgrady.com/button/jsp/dispatch_util.jsp. This would mean, for example, that you could do what you want with the following code, requiring nothing else: JSP CODE (changes property=submit for example, to property=edit.dispatch) html:form

Using redirect with https and keep the current session

2004-12-07 Thread Claude Libois
Hi all, I a'm rather new in the use of struts so please be gentle even if my question seems obvious :) I'm workin on the possibility to use electronical identity card in Beligium. A user can use this card for authentication on web application. For that the web application detect if the user is

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Susan Bradeen
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: I have a strange problem with LookupDispatchAction: I built a form displaying several entries from a db as a list. There are several buttons for editing/removing the entries an also two buttons for paging though the

two step wizard like interface

2004-12-07 Thread Marc
Hi there. Help a struts rookie pls. I have successfully implemented a two step wizard like interface where I have A.jsp for the first step and B.jsp for the second step. But now I need an ability to dynamically change the jsp file at the step 2 based on a field selection during step 1 ! In

Using redirect with https and keep the current session

2004-12-07 Thread Claude Libois
Hi all, I a'm rather new in the use of struts so please be gentle even if my question seems obvious :) I'm workin on the possibility to use electronical identity card in Beligium. A user can use this card for authentication on web application. For that the web application detect if the user is

RE: tiles and message internationalization

2004-12-07 Thread You Xu
I saw your reply as follows: titletiles:getAsString name=title//title tiles:insert blah tiles:put name=title value=Duh Title O' Dis Page Here/ /tiles:insert But what do you put in the xml definition file? The problem is that you can not use tiles:getString... in the JSP page and put

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Hi niall Yes, it's definatly being deployed like that. I've looked for no-printablew codes in the text, just in case, but there are none there. What else could be stopping it from reading the properties? I've attached the full strts-config.xml, validation.xml and validator-rules.xml Thanks for

Re: two step wizard like interface

2004-12-07 Thread Paul Summers
Mark, The elegant way of doing something like this within struts is to create a separate action for each JSP. If you want the three JSP pages to use common code, simply create a base action class that each jsp's action class extends. That would be my suggestion. Paul -- Original

Re: Tiles or Frames or Both

2004-12-07 Thread Derek Broughton
On Monday 06 December 2004 17:55, Frank W. Zammetti wrote: Also, with frames you can do some tricks that you can't do otherwise. For instance, having a hidden frame with cached data and Javascript cuntions can be incredibly powerful. True... You can boost perforance by not sending that

Re: Where to store and how to retrieve Images for web app

2004-12-07 Thread bryan
1) Store them to your relational database, 2) Add oscache to your web application. 3) Change your web.xml so that it contains the following filters. filter filter-nameCacheFilter/filter-name filter-classcom.opensymphony.oscache.web.filter.CacheFilter/filter-class

Re: Best approach to implement date dropdown

2004-12-07 Thread Carlos Cajina
Good mornign Ben... I've settled for the quick easy solution: there are lots of JavaScript scripts that can handle date selection boxes :^) The thing is I don't know much about Velocity :^( As for the validation, with the Validator Framework (VF) you can validate that the dates

Re: Best approach to implement date dropdown

2004-12-07 Thread Bill Siggelkow
If your users are happy with the separate drop-downs for month, date, and year than this approach allows the greatest control. However, since the data is spread between multiple input fields, I think you will find that it is easier to implement validate() yourself instead of trying to use the

Re: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Niall Pemberton
OK I shoved your struts-config into my webapp. Firslty I got an exception telling me that the message-resources and plug-in were in the wrong order: org.xml.sax.SAXParseException: The content of element type struts-config must match

jstl and struts tag problem

2004-12-07 Thread struts lover
Hello Everyone, I have this problem related to tags. I am using c:set to set the ActionForm to some variable, and dont ask why :). And now I want to access a collection on the form for the drop down list. How do I do this? I am doing as follows : c:set var=empForm value=${employeeForm}/ Now

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Hi Niall I've done all that, checked all the jars and copied them into the lib dir from the bin distro. Replaced all the tld files in WEB-INF from the bin distro. Took the validator-rules.xml as well. Everything I have now is officail 1.2.4 with relevant jars. I'm runnign in tomcat 4.1.18

RE: Tiles or Frames or Both

2004-12-07 Thread Nadia Kunkov
Thank you. Do you know of any struts/frames examples on the web I can look at? I appreciate your advice. Nadia -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 4:56 PM To: Struts Users Mailing List Subject: Re: Tiles or Frames or Both

Re: jstl and struts tag problem

2004-12-07 Thread Alexandre Simon
Le mar 07/12/2004 à 16:56, struts lover a écrit : html:options collection=empForm.salaryList property=salaryValue labelProperty=salaryLabel/ For nested properties, you have to use nested tags. -- SIMON Alexandre - To

Re: jstl and struts tag problem

2004-12-07 Thread James Mitchell
Don't use c:set, use bean:define bean:define id=empForm property=employeeForm/ P.S. Don't ask why -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: struts lover [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Tiles or Frames or Both

2004-12-07 Thread Luiz Esmiralha
On Mon, 06 Dec 2004 16:55:43 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: I tend to give just the opposite answer :) Freedom of speech rules! :) I agree that frames can be difficult in a number of ways, however, once you get a handle on them it's really not a big deal to deal with.

Re: jstl and struts tag problem

2004-12-07 Thread Niall Pemberton
Try the html:optionsCollection tag... html:optionsCollection name=empForm property=salaryList label=salaryLabel value=salaryValue/ Niall - Original Message - From: struts lover [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: two step wizard like interface

2004-12-07 Thread Marc
Paul Summers paul.j.summers at gmail.com writes: Thanks again Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: getting value of object in a collection via tag

2004-12-07 Thread Jim Barrows
-Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 2:15 AM To: 'Struts Users Mailing List' Subject: RE: getting value of object in a collection via tag Hello , Thanx for the reply... I was actually wondering if following

RE: getting value of object in a collection via tag

2004-12-07 Thread Jim Barrows
-Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 3:13 AM To: 'Struts Users Mailing List'; 'Yves Sy' Subject: RE: getting value of object in a collection via tag Hello yves, I got lucky :-) .. it worked bean:write

RE: no sessions

2004-12-07 Thread Jim Barrows
-Original Message- From: josh [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 8:23 AM To: Struts Users Mailing List Subject: no sessions Is there a way to specify a struts app not to create a session object? THis sounds like one of those questions where we have to

Re: Tiles or Frames or Both

2004-12-07 Thread fzlists
On Tue, December 7, 2004 10:31 am, Derek Broughton said: If you're going to do something that makes it worthwhile putting the JS in the frame, you probably should be using a script file - in which case it is cached anyway and you get the same savings. What is caching it? The browser? In

RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / 19: 15 / REMINDER

2004-12-07 Thread Pilgrim, Peter
- Original Message - From: Pilgrim, Peter [EMAIL PROTECTED] ==== The next birds-of-feather London Struts Networking meet up is taking place at Wagamamas, Leicester Square serving great, fresh and nutritious [orientally asian derived rice/noodles] food

RE: Flexible ACLs using Struts

2004-12-07 Thread Joe Germuska
At 7:48 PM -0500 12/6/04, David G. Friedman wrote: How about Pow2ACL? http://pow2acl.sourceforge.net/ David, have you used pow2acl? I like the idea of a good shared ACL library, but I see some potential issues, at least with their Struts integration. First, from the website, it appears that

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Hi Niall I upgrade my tomcat to 4.1.31 and now it works as you'd expect. Ps: I had reveresed the tags that you mention in the last mail to invoke struts into an exception to double check if I was seeing errors. Sorry I forgot to re-order it before I sent it to you last time. I was adding

RE: no sessions

2004-12-07 Thread josh
This is related to an earlier email that I sent with the subject Session Invalidation in JSP The problem is the same one, I am just more specific with my question this time. In my other question I mentioned that I had designed a portal as a collection of smaller struts apps. One of these app is

RE: no sessions

2004-12-07 Thread Jim Barrows
-Original Message- From: josh [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 9:50 AM To: Struts Users Mailing List Subject: RE: no sessions This is related to an earlier email that I sent with the subject Session Invalidation in JSP The problem is the same one, I

Re: jstl and struts tag problem

2004-12-07 Thread struts lover
Thanks Niall very much. That is really nice. It works !!!. Thanks once again. :) --- Niall Pemberton [EMAIL PROTECTED] wrote: Try the html:optionsCollection tag... html:optionsCollection name=empForm property=salaryList label=salaryLabel

RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / 19: 15 / REMINDER

2004-12-07 Thread Marco Mistroni
Hello all, Sorry to say that also this time I can't make it.. I am overwhelmend by work since my company is going to release our product soon . Hopefully I see you all next time... Merry xmas and happy new year to everybody Regards marco -Original Message- From:

Re: Tiles or Frames or Both

2004-12-07 Thread Derek Broughton
On Tuesday 07 December 2004 12:34, [EMAIL PROTECTED] wrote: On Tue, December 7, 2004 10:31 am, Derek Broughton said: If you're going to do something that makes it worthwhile putting the JS in the frame, you probably should be using a script file - in which case it is cached anyway and you

Struts with Tiles in the root context

2004-12-07 Thread Elliot Long
I am having an odd problem. I've recently discovered how to setup virtual hosts in tomcat so that i can use something like local.myapp.com instead of localhost/myapp. I've done this with two apps. One works fine no problems, but the other (which uses Struts with Tiles) comes up with a

Best practice question: Properties (ShoppingCart) per user

2004-12-07 Thread Simon MARTIN
Hi, I'm currently writing a short Struts application without a database (I know that this would be better, but as it is only for teaching purposes, I don't want to 'overflow' my audience with databases and ORM). It should be a small online sales system -- I've got ShoppingItems, ShoppingUsers

RE: Best practice question: Properties (ShoppingCart) per user

2004-12-07 Thread Jim Barrows
-Original Message- From: Simon MARTIN [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: Best practice question: Properties (ShoppingCart) per user Hi, I'm currently writing a short Struts application without a database (I

Re: Best practice question: Properties (ShoppingCart) per user

2004-12-07 Thread Bill Siggelkow
Simon, Actions should not hold client-state; instead, you can create a ShoppingCart in the Action but then save it in the HttpSession. Without going into to many details, I suggest you take a look at the Struts MailReader example distributed with Struts. -Bill Siggelkow Simon MARTIN wrote: Hi,

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Susan Bradeen
On Tue, 07 Dec 2004 15:54:20 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: Susan Bradeen wrote: snip /** * Key method for mapping methods to buttons */ protected Map getKeyMethodMap() { Map map = new HashMap();

Re: Using redirect with https and keep the current session

2004-12-07 Thread Yagiz Erkan
Have you tried URL rewriting? -- - Yagiz Erkan - http://yagiz.blogspot.com http://www.erkans.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best practice question: Properties (ShoppingCart) per user

2004-12-07 Thread fzlists
PLEASE do not take offense from what I am about to say. I do not mean to be anything but constructive and helpful... I am concerned that you are trying to build an example for those you will be teaching because I can see some fundamental misunderstandings, or gaps in your knowledge. I'd be

RE: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Jim Barrows
-Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 12:07 PM To: Struts Users Mailing List Subject: Re: LookupDispatchAction doesn't lookup mapping On Tue, 07 Dec 2004 15:54:20 +0100, Alexander Czernay [EMAIL PROTECTED] wrote:

ValidatorForm bug?

2004-12-07 Thread Bala . Paranj
Hi, If there is extra space(s) in the input field, it looks like ValidatorForm does not trim() the string before checking if it is an integer or not. Has anyone else had this problem? Please confirm, I will be willing to modify the code to fix this problem. Thanks, Bala Note: The

Re: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / 19: 15 / REMINDER

2004-12-07 Thread Mark Lowe
I could have made it between the 21st and 29th when I'm back in the UK for christmas. But alas not this time. Mark On Tue, 7 Dec 2004 17:37:04 -, Marco Mistroni [EMAIL PROTECTED] wrote: Hello all, Sorry to say that also this time I can't make it.. I am overwhelmend by work since

Re: tiles and message internationalization

2004-12-07 Thread Jason Lea
An example of what you can do tiles-def.xml (.main.home defines menus and other things, and extends layout.jsp): definition name=.main.search.list extends=.main.home put name=titleKey value=Search list / put name=body value=/WEB-INF/jsp/tiles/searchlist.jsp / /definition I put the title in my

Re: Tiles or Frames or Both

2004-12-07 Thread Christian Bollmeyer
On Tuesday 07 December 2004 17:15, Luiz Esmiralha wrote: On Mon, 06 Dec 2004 16:55:43 -0500, Frank W. Zammetti Hi, When you are starting out you really can't make the decision all by yourself, can you? The only reason you presented for using frames is increasing performance. If your

ValidatorForm ???

2004-12-07 Thread Bala . Paranj
Hi, If there is extra space(s) in the input field, it looks like ValidatorForm does not trim() the string before checking if it is an integer or not. Has anyone else had this problem? Please confirm, I will be willing to modify the code to fix this problem. Thanks, Bala Note:

Wildcard Problem

2004-12-07 Thread Raphael Gallo
Hello, I got the following error Unable to clone action config, recommend not using wildcards. This error started to happen when i configured the action to use WildCard Mapping Actions like the following code: action path=/*man type=com.empresa.app.controle.AppAction

Re: Best approach to implement date dropdown

2004-12-07 Thread Ben
Hi Carlos I was meant to say ValidatorForm. Cheers Ben On Tue, 7 Dec 2004 09:42:08 -0600, Carlos Cajina [EMAIL PROTECTED] wrote: Good mornign Ben... I've settled for the quick easy solution: there are lots of JavaScript scripts that can handle date selection boxes :^) The thing is I don't

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Dakota Jack
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: The problem is, that only one of those buttons works, while the other throws a MissingResourceAction. That sounds like a typo, but the strange thing is, that it tries to lookup the button's value rather than it's

RE: Flexible ACLs using Struts

2004-12-07 Thread David G. Friedman
Joe, I tried it on a demo ages ago so I thought I'd pass it along. After rewiewing the site, I see what you mean. Regards, David -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:33 AM To: David G. Friedman; Struts Users Mailing List;

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
I would encourage this behavior, assuming, of course, that you have the appropriate knowledge of threads and containers. This is precisely the sort of thing that I think is really perfect for multi-threading. If not, I would like to know why not too. Jack On Mon, 6 Dec 2004 14:39:46 -0600,

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
For me JMS is too heavy duty for this simple task. There are simple mechanisms for coding job completion, etc. Jack On Mon, 6 Dec 2004 13:49:50 -0700, Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Sent: Monday,

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
JMS, of course, is just a Java application. JMS *is* one of these solutions. Or, do I misunderstand? Jack On Mon, 6 Dec 2004 15:03:09 -0600, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As has been noted by others, JMS would be the better solution for an asynchronous 'process'. But, if

RE: [OT]Threads and Servlets Question

2004-12-07 Thread Jim Barrows
-Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 4:39 PM To: Struts Users Mailing List Subject: Re: [OT]Threads and Servlets Question JMS, of course, is just a Java application. JMS *is* one of these solutions. Or, do I

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
The only reason for me to have any contact with the container is to make resources available to the container. Jack On Tue, 07 Dec 2004 13:41:06 +0800, Andrew Hill [EMAIL PROTECTED] wrote: snip I would never, of course, dream of grabbing a request object, or similar things, and holding it in

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
Interesting! Thanks. Jack On Tue, 07 Dec 2004 01:15:13 -0500, Erik Weber [EMAIL PROTECTED] wrote: This is covered by JMX. For example, see javax.management.timer.Timer (which can be initialized/destroyed by a ServletContextListener). The idea is that you can schedule asynchronous operations

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
Now I am getting another error after following those directions in my application logs: [INFO] PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources',

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread David G. Friedman
Mick, What is the DTD in your struts-config.xml file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 6:50 PM To: [EMAIL PROTECTED] Subject: RE: Error upgrading from 1.1 to 1.2.4 Now I am getting another error after following those

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
struts-config: == ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd; ... message-resources parameter=ApplicationResources

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread David G. Friedman
Mick, I copied your DTD's into my files (Struts-config.xml, tiles-defs.xml, validation.xml, web.xml) and could not reproduce the error (I even did this with my NIC disabled). Scratch that idea. How about this idea? Is this a valid commented out section? !--init-param

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
I just got handed a production emergency task. So maybe I will get back to this late tomorrow then let you know Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or

PropertyEditor

2004-12-07 Thread mohan.radhakrishnan
Hi, I was looking at the source of Spring and found PropertyEditors used extensively. I remember that conversion of String to various datatypes is done using custom converters in Struts. Can anybody comment on this ? Are we going to use PropertyEditors that we can register in the next

Re: [OT] Tomcat vs Resin

2004-12-07 Thread Bill Keese
With lightweight pages resins performance is double of tomcat performance (400 requests per second compared to aprox 200 requests per second) I'm just curious. What is the bottleneck with serving pages? With 400 pages/sec is your CPU pegged at 100%? Or is there a disk bottleneck? I read a