Re: Beginner ClassNotFoundException

2002-10-09 Thread Carlos Henrique Righetto Moreira
I got it, but the classes directory is in the classpath (D:\tomcat\webapps\myproject\WEB-INF\classes). And I don't have classes in packages. I'm forgetting something, newbie stuff I guess. Regards Carlos - Original Message - From: Sri Sankaran [EMAIL PROTECTED] To: Struts Users Mailing

[OT} - Decoder Rings - RE: Struts project

2002-10-09 Thread micael
Everyone at the time remembers waiting for these rings. A good reminiscence, for you older coders, is in: http://www.irememberhamlet.com/captainmidnight.html. The Captain Midnight decoder ring (which is an encoder ring as well) allows you to do a simple substitution cipher. It usually has

RE: [OT - BeanUtils.populate] 'Case' of property name

2002-10-09 Thread Jerry Jalenak
Thomas - THANK YOU! Even my overpaid Oracle DBA's couldn't figure this one out! Using the escaped double quotes worked like a charm! Thanks again! Jerry -Original Message- From: Gideon, Thomas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 1:44 PM To: 'Struts Users

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper
Do you have common-digester in jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: 09 October 2002 19:00 To: Struts Users Mailing List Subject: RE: JBoss-3.0.3_Tomcat4_1_12 Exact same setup

Re: Beginner ClassNotFoundException

2002-10-09 Thread Craig R. McClanahan
On Wed, 9 Oct 2002, Carlos Henrique Righetto Moreira wrote: Date: Wed, 9 Oct 2002 16:04:31 -0300 From: Carlos Henrique Righetto Moreira [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Beginner

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread James Mitchell
Yes, I do. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Theo Harper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:25 PM To: 'Struts Users Mailing List' Subject: RE: JBoss-3.0.3_Tomcat4_1_12 Do you have

Anyone Using Struts 1.1b2 in Their Products

2002-10-09 Thread David Lee
Since I don't know when Struts 1.1 will be released officially, I am kind of hesitant to use it in my new product release. Is anyone using Struts 1.1b2 in his/her web application for product release? If so, how comfortable are you with it? David -- To unsubscribe, e-mail: mailto:[EMAIL

[OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread David Graham
I read somewhere that you should use http://java.sun.com/jstl/core for the taglib uri in your web.xml file for the JSTL libraries (as opposed to something you make up like jstl-core). The author stated that using that full uri would allow a container to optimize those tags like you mentioned.

Robustly handle double-submit?

2002-10-09 Thread Jerome Jacobsen
Hi, I've seen the Struts 1.1b2 example's use of the Token for transaction control technique. This is in EditRegistrationAction and SaveRegistrationAction. However, I'd like to know if there is a more robost solution to this problem. I'd like the ability to ignore the second posting and still

NEWBIE: Getting Tiles to work with web logic 7

2002-10-09 Thread Alistair Cairns
Hi I am new to using struts and have been getting up to speed on it over the last few days. I have a number of actions, action forms, and the validator up and running fine in a simple web app. I then tried to plug in tiles. my struts-config.xml has the following: plug-in

RE: Anyone Using Struts 1.1b2 in Their Products

2002-10-09 Thread Chappell, Simon P
David, We are using 1.1b2 in our internal Distribution Centre Packing System. The system is currently going through QA and the project sponsors are smiling! (And hence, so are the developers! :-) They even gave us shirts with a project logo on it. (Funny that, working at Lands' End and

Re: Beginner ClassNotFoundException

2002-10-09 Thread Eddie Bush
Try putting them into packages :-) they really should be anyway. at least make one package (carlos) and put everything in that. Some things are getting to where they ignore the default package nowadays. Carlos Henrique Righetto Moreira wrote: I got it, but the classes directory is in the

RE: Robustly handle double-submit?

2002-10-09 Thread Brad Rhoads
I think I posted a client side, JavaScript solution here - just don't let the user hit submit more than once. Let me know if you don't find it. -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 2:54 PM To: Struts User Subject:

RE: Anyone Using Struts 1.1b2 in Their Products

2002-10-09 Thread David Lee
Simon, Thanks for your info. I would really appreciate it if you can share your wonderful experience using Struts 1.1b2 in your application. David -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 4:00 PM To: Struts Users Mailing

Re: ArrayList in Options

2002-10-09 Thread Pavel Kolesnikov
On Wed, 9 Oct 2002, Cohan, Sean wrote: I'll have an ArrayList of beans in my ActionClass. Can I set the ArrayList in the html:options collection property? Yes. The doc says the collection attribute is interpreted as the name of a JSP bean, in some scope. ??? If I can do this, how do

Re: NEWBIE: Getting Tiles to work with web logic 7

2002-10-09 Thread Eddie Bush
I believe your RequestProcessor should extend the Tiles RequestProcessor - that's probably the problem. protected void initRequestProcessorClass( ApplicationConfig config ) throws ServletException { snip/ // Check if specified request processor is compatible with Tiles. try

RE: ArrayList in Options

2002-10-09 Thread Cohan, Sean
Very cool. Thanks. -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 4:19 PM To: Struts Users Mailing List Subject: Re: ArrayList in Options On Wed, 9 Oct 2002, Cohan, Sean wrote: I'll have an ArrayList of beans in my

Re: Beginner ClassNotFoundException

2002-10-09 Thread Carlos Henrique Righetto Moreira
Now it works and I've made two things at same time. Put my classes in packages and updated Tomcat to 4.0.4 (the other was 3.3). Maybe just put the classes in packages is the solution. Thank you all! Regards, Carlos - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts

RE: Anyone Using Struts 1.1b2 in Their Products

2002-10-09 Thread Chappell, Simon P
When I know how much I can share I'll do just exactly that. :-) -Original Message- From: David Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:12 PM To: Struts Users Mailing List Subject: RE: Anyone Using Struts 1.1b2 in Their Products Simon, Thanks for your info.

Re[2]: Access JSP in the WEB-INF

2002-10-09 Thread Rick Reumann
On Wednesday, October 9, 2002, 2:25:58 PM, James wrote: JM (I *actually* have a separate JM folder in Outlook for saving useful emails, and under it I have another JM folder called Gurus which I keep copies of old emails from the Strut's JM Best.) Funny you mention that:) Actually, what

RE: Anyone Using Struts 1.1b2 in Their Products

2002-10-09 Thread Dennis Doubleday
We are using 1.1b in our product, SpendMetrix, which is purchasing performance analysis tool intended for large corporatations that purchase a variety of direct materials from a variety of vendors. Our product is about to enter beta and we have no problems to report with Struts 1.1b (we haven't

html:errors - how do you make a bulleted error list

2002-10-09 Thread Doug Bryant
Hello, We are trying to display a list of errors at the top of a page. We are trying to make each error bulleted, but are running into difficulty. I looked through the 1.1b2 examples and saw that there were a couple of examples using errors.prefix and errors.suffix to wrap errors in bullet

Re[2]: Access JSP in the WEB-INF

2002-10-09 Thread James Mitchell
Wow, thanks, that's quite a compliment. I haven't considered myself a guru, one developer trying to help out (where and when I can). Have a good one! James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Rick Reumann [mailto:[EMAIL

Re: html:errors - how do you make a bulleted error list

2002-10-09 Thread David Graham
Do any of your error messages show up, or just the header and footer? It will only print the prefix if there are errors to display. Dave From: Doug Bryant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: html:errors

Re: xml, jsp, DOM

2002-10-09 Thread Eddie Bush
Yes - but it's Stxx he's talking about. I think he already cleared Struts. Brian Hickey wrote: Frederic, I can give you the business case for Struts. Read on if you dare... -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Eddie Bush
It shouldn't matter. That shouldn't even have a chance to affect a web-app -- that's in the server's private classloader path. Theo Harper wrote: Do you have common-digester in jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar? -- Eddie Bush -- To unsubscribe,

Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread micael
Teresa, Just think, we have taken twice the time it would have taken to make money to find out how to lose it to someone else. What a team! Micael At 04:51 PM 10/9/2002 -0500, you wrote: It shouldn't matter. That shouldn't even have a chance to affect a web-app -- that's in the server's

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Craig R. McClanahan
On Wed, 9 Oct 2002, David Graham wrote: Date: Wed, 09 Oct 2002 13:54:32 -0600 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] Re: Avoid Heavy Use of Logic Tags ??? I read somewhere that you should use

RE: Struts Validator doesn't seem to be working

2002-10-09 Thread Robert Leland
So am I the only one having trouble with struts-validator.war on Tomcat 4.1.12? If someone has recently had success deploying and running it, I would appreciate knowing. If it's working for everyone else it must be something in my configuration No, there is a bug in the Validator that

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper
Indeed it shouldn't, but for some reason whilst loading the configuration from WEB-INF, JBoss/Tomcat decides to use the Digester class loaded using the system class loader and not the web app's class loader. I walked through the deployment code and the class loader for the Digester is null. My

class loader problem???

2002-10-09 Thread Marc-André Thibodeau
Hello! We just solved a problem we simply do not understand... Found nothing in the archive about this. Here it is: - Problem happens on Tomcat and Weblogic, - Using Struts 1.0.2, - bean is correctly declared and referenced in struts-config.xml (checked a thousand times...), - property name

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Assenza, Chris
My struts app deploys fine with the distribution posted on JBoss' site; however, my Jasper 2 or (perhaps JBoss' Catalina service) seems to be doing some crazy things with my JSP pages. Apparently, custom tags nested within an iterator are being interpreted more then once...in fact they're

RE: JBoss-3.0.3_Tomcat4_1_12 [typo correction]

2002-10-09 Thread Assenza, Chris
my Jasper 2 or (perhaps JBoss' Catalina service) seems to be doing some crazy things with my JSP pages. That should be THE Jasper 2... not my Jasper 2. Although it should be obvious that is a typo, I didn't want anyone out there to assume that I had been modifying Jasper or developing my

Problems loading message resources

2002-10-09 Thread Matt Sales
Hello, I've got a fresh new tomcat 4.1.12/Struts 1.1.b2 installation on RedHat 7.2. I ported some webapps that were on TC4.1.10/Struts 1.1.b1 to this new installation, and I'm having problems starting them (they're marked not available). The case holds true for the struts-example.war, as well.

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Kevin . Bedell
In my book, Struts Kick Start, one of the chapters (ch 18, I believe) provides detailed step by step instructions for integrating JBoss 3.0.3 and Tomcat 4.1.12. There's a detailed sample app and design pattern discussion as well. (JBoss 3.0.3 and Tomcat 4.12 will be on the included CD-ROM -

Re: xml, jsp, DOM

2002-10-09 Thread V. Cekvenich
I like it. I would add that Struts also allows for a project to focus on solving the business issue, and not dilute or lose focus of resources on solving the potentially endless technology issues. .V Brian Hickey wrote: Frederic, I can give you the business case for Struts. Read on if you

Radio buttons inside an iterate tag?

2002-10-09 Thread Wendy Smoak
I can't find an example of this one: logic:iterate id=resView name=foundPersons html:radio property=key value=??? / bean:write name=resView property=key filter=true/ /logic:iterate What I really need for the radio button is something like: html:radio property=key value=%

Re: Radio buttons inside an iterate tag?

2002-10-09 Thread Will Jaynes
Wendy, Your example with the scriptlet is just what you need to do. This is a case where scriptlets are still necessary. JSTL will be the way to do it in the future, but you don't need to move to them before you are ready. And to use JSTL now in a struts tag like html:radio you would need to

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread David Graham
Thanks for the info Craig. I didn't know you didn't have to list them in the web.xml file and put the tlds in your app. Does this apply to any taglib on a servlet 2.3 compliant container as long as you use the uri given in the tld? Also, I switched from bean:message to fmt:message but then

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Kris Schneider
Sure, as in: %@ taglib prefix=bean uri=http://jakarta.apache.org/struts/tags-bean-1.0.2; % %@ taglib prefix=html uri=http://jakarta.apache.org/struts/tags-html-1.0.2; % David Graham wrote: Thanks for the info Craig. I didn't know you didn't have to list them in the web.xml file and put the

about reload configuration file in struts 1.1 b2

2002-10-09 Thread caowei
hi, there is a ReloadAction in struts1.0, but no in struts1.1. i try to extend ActionServlet to reload by myself,the code is below: - public void reload() throws IOException, ServletException { // Shut down our existing environment

Re: Beginner ClassNotFoundException

2002-10-09 Thread Eddie Bush
... update to (at least) 4.0.5, if you can at all :-) there was a security/bug-fix to 4.0.4 (resulting in 4.0.5). Note that 4.1.10 is no longer the current release for the 4.1-series Tomcat either -- 4.1.12 is. It had the same security vulnerability and ... there were some minor tweaks put

DynaValidatorForm with bean property

2002-10-09 Thread Parmar, Dipakkumar
Hi, I search the archive but could not find the answer. I'm getting IllegalArgumentexception when struts try to populate the DynaValidatorForm properties. Jsp File snippets: Blah html:image src=images/btn_addto.gif property=addImageButton border=0 altKey=add / Blah--- snippets from

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread Eddie Bush
That functionality is no longer available :-( Use your container's built-in facilities to reload the app. -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

html:file inside logic:iterate: is this possible?

2002-10-09 Thread Alexandre Sorokine
Hi All! I am writing an application where user will be presented with a form that has several File Select fields. The list of input fields is generated using logic:iterate. It works fine for all input field types except for File Select. In that case I am getting Argument type mismatch

RE: html:file inside logic:iterate: is this possible?

2002-10-09 Thread Andrew Hill
Afaik , you cant have indexed file fields (I hope Im wrong and someone corrects me on this!) ie: setFoo(FormFile[] files) Least it didnt work when I tried experimenting with it. (Same error as you got) If each of those file fields has its own unique setter then it will be ok - of course that

about reload configuration file in struts 1.1 b2

2002-10-09 Thread caowei
hi, there is a ReloadAction in struts1.0, but no in struts1.1. then how to reload configuration file in struts1.1? Regards, badi

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread caowei
hi, in my application ,there is the requirment to reload confiuration file but didn't restart the app server. could u give me advice? tks a lot... Regards, badi - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread caowei
hi, and i find the server.xml can only reload class file and jsp file,can reload web.xml,struts-config.xml and tiles-defs.xml.how to reload them? Regards, badi - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: html:file inside logic:iterate: is this possible?

2002-10-09 Thread Alexandre Sorokine
Andrew, Andrew Hill wrote: Afaik , you cant have indexed file fields (I hope Im wrong and someone corrects me on this!) ie: setFoo(FormFile[] files) Least it didnt work when I tried experimenting with it. (Same error as you got) It does not seem that this behavior is documented. This page

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread Eddie Bush
Which servlet container are you using? Can you not instruct the servlet container to reload the app? The way you do it would be container-dependant. Tomcat (4.1+) has ant tasks which can do it - and there's a manager/admin application you can use to reload it. caowei wrote: hi, there is a

Re: Pop-up from with Nested loop

2002-10-09 Thread Arron Bates
On Wed, 2002-10-09 at 07:55, Rea, Ron wrote: Has anyone ever used a pop-up form to fill data with a nested:iterate section? Many times. Good for me, huh? :P I am displaying several rows of data using a JSP and the nested:iterate tag. On each row, I want to create a link or button that,

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Craig R. McClanahan
On Wed, 9 Oct 2002, David Graham wrote: Date: Wed, 09 Oct 2002 18:27:02 -0600 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ??? Thanks for the info Craig. I didn't

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread Craig R. McClanahan
On Thu, 10 Oct 2002, caowei wrote: Date: Thu, 10 Oct 2002 09:19:34 +0800 From: caowei [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: about reload configuration file in struts 1.1 b2 hi, there is a ReloadAction in struts1.0,

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread Craig R. McClanahan
On Thu, 10 Oct 2002, caowei wrote: Date: Thu, 10 Oct 2002 11:37:04 +0800 From: caowei [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: about reload configuration file in struts 1.1 b2 hi, in my

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread caowei
hi, i use tomcat4.0,and i find tomcat can't restart struts-config.xml and tiles-defs.xml. i only want to reload the configuration file about struts,i don't know whether is not it depended on different app server? tks a lot Regards, badi - Original Message - From:

Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Peter A. J. Pilgrim
Theo Harper wrote: Looks like there's a problem with JBoss's integration with Tomcat 4.1.12. I tried the standard structs blank example and that would not deploy, although it would deploy on a vanilla tomcat 4.1.12. I have posted a bug report for JBoss and reverted to 4.0.4 for now, but

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread James Mitchell
Well, this is interesting. I just wasted an hour trying to figure out why JBoss wouldn't load my app. I kept getting ClassNotFoundException for some validator classes. I verified the jar was there and after redeploying the struts-example.war (stock 1.1b1) a few times and restarting

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread caowei
hi, more: when i use http://localhost:8080/manager/reload?path=/test to restart my application,servletContext and session missed!and i must input my username/password to get the manager role authorization in tomcat. i don't want these.how to deal with these problem? Regards,

Re: about reload configuration file in struts 1.1 b2

2002-10-09 Thread Eddie Bush
I'd highly recommend reading the documentation for Tomcat :-) In order to let you restart the app, Tomcat is going to force you to authenticate yourself. If authentication weren't required, anyone could reload it -- and I don't think you'd want that! I'm not going to go into details about

<    1   2