RE: Executive Level Blurb on why to use Struts on a new project

2002-11-01 Thread chuckcavaness
In addition, I put together this Struts presentation for AJUG two months ago. There are several slides in here geared towards convincing managers why you should use Struts. Take a look at it and feel free to use it however you need to. Chuck http://www.ajug.org/meetings/download/struts.pdf

New Struts Article posted on OnJava

2002-11-01 Thread chuckcavaness
Sorry for the self promotion, but I thought this article might help some on thes list. I wrote a Struts lessons learned article for O'Reilly that contains information that is discussed here on the list frequently, but never hurts to be explained in more detail. Here's the link to the

Re: New Struts Article posted on OnJava

2002-11-01 Thread chuckcavaness
I think that was my crappy web-mail app that did it. Sorry about that. chuck to anyone trying to reach this page, make surethat you pick up the l in html. My email program has it on the next line. Jim Berg Sr. Software Specialist PSCI 610-270-4158 [EMAIL PROTECTED] [EMAIL

Re: StoreFront

2002-10-15 Thread chuckcavaness
The chapters numbers got all screwed up when they pulled several chapters from the book. I'll send you the latest tonight. I've sent it to several people on the list already. Do me a favor, anyone that wants it, send me a message to [EMAIL PROTECTED] and just say Send Storefront and give me

Re: StoreFront

2002-10-15 Thread chuckcavaness
No, it's not out yet. I was told by the publisher that it will be out November 11. Chuck The book is out? I ordered but have seen nothing as yet. At 03:34 AM 10/15/2002 +, you wrote: I have, does that count? :) Seriously, due to the feedback that I received during the writing

Re: StoreFront

2002-10-15 Thread chuckcavaness
I should have pointed out that in the draft version of Chapter 16, there's a storefront.war file that you should be able to just drop into your web container and go. I tested it on several containers, but not WebSphere (for various reasons, but mostly laziness). Chuck The book is out? I

RE: StoreFront

2002-10-15 Thread chuckcavaness
After just scanning what's been posted there, I agree. I just sent a complete chapter16.zip to this list. It's got everything in it, WAR file, source and an updated chapter 16 (which is the packaging chapter). CHuck There is no war file in chap 16, or any other chap ??? -Original

RE: StoreFront

2002-10-15 Thread chuckcavaness
After just scanning what's been posted there, I agree. I just sent a complete chapter16.zip to this list. It's got everything in it, WAR file, source and an updated chapter 16 (which is the packaging chapter). Chuck There is no war file in chap 16, or any other chap ??? -Original

RE: StoreFront

2002-10-15 Thread chuckcavaness
No, I used Hypersonic for the beer4all app. The Storefront app can run against some fake data (which is the default), against a database using OJB, or against an EJB container. You can declaratively switch implementations in the config files. I included the fake data implementation so that

Re: StoreFront

2002-10-14 Thread chuckcavaness
I have, does that count? :) Seriously, due to the feedback that I received during the writing process, I know that many people have deployed it on various containers. I believe a few people experienced some issues on earlier versions of WebSphere, but they were documented problems with that

Re: How do I use a Customised Struts ExceptionHandler ??

2002-10-10 Thread chuckcavaness
In the struts-config.xml file, add an exception element to this action. You can also put it in the global-exceptions section if more than one action will utilize this exception handler. Here's an example action mapping using an exception element: action path=/signin

Re: Struts project

2002-10-09 Thread chuckcavaness
As Eddie mentioned, I ran out of time and the book was getting large, so a few of the chapters were cut. I've decided to go ahead and write a few of them and just make them freely available on this list and several Struts-releated sites. I'm starting with the Security chapter first and then

RE: Struts project

2002-10-09 Thread chuckcavaness
That's actually Chapter 8 of my O'Reilly book. It never got posted for review because I was writing it literally right up to my deadline. However, it is included in the book. Chuck Good work. You should also touch on taglibs which will be very useful. Thanks kirusshna -Original

RE: Struts project

2002-10-09 Thread chuckcavaness
Not exactly sure what you mean by decoder ring, but assuming you're referring to the O'Reilly book, I just got an email that it would be in stock at places on Nov. 11. However, the Mastering Struts book from James Goodwill is already out and has got some decent reviews. I think the book from

Re: Declarative Exception handling with Struts 1.1-b2

2002-10-07 Thread chuckcavaness
If you haven't already, may I suggest you download the draft of Chapter 10 from my book. It covers Struts and Exception Handling (both programmatic and declarative). Here's a link: http://www.theserverside.com/resources/strutsreview.jsp Sorry for the shameless plug, but I think the material

RE: Declarative Exception handling with Struts 1.1-b2

2002-10-07 Thread chuckcavaness
I may be misunderstanding your situation completely. If I have, I apologize ahead of time. Here's the short version of what I think. Can you not throw more specific exceptions, ones that imply a little more about what went wrong? Then setup exception elements in the global section (or in the

RE: Declarative Exception handling with Struts 1.1-b2

2002-10-07 Thread chuckcavaness
Ah, I see the confusion. The Struts framework will use the value from the key attribute in the exception element to automatically build ActionErrors for you. You just need to use the html:errors tag to display them. To see where in the framework all of this takes place, check out the source

Security Chapter from O'Reilly Struts Book

2002-10-07 Thread chuckcavaness
As many of you know, I had to cut several chapters from the book due to time and size. Unfortunately, the chapter on security is one of those that got cut. I've received many email messages asking me if I was going to include it in the next edition or write it later. I've decided to write it

RE: Declarative Exception handling with Struts 1.1-b2

2002-10-07 Thread chuckcavaness
Yea, you can't use the same exception class for different exception elements. The RequestProcessor looks up the exception element to use based on the exception type. You would need to have different exceptions specified in the type attribute for each exception element. Here's a thought.

Re: O'Reilly struts book

2002-10-04 Thread chuckcavaness
I'm reviewing the final PDF version of the book right now and will be done with that in a week. It should be heading for the printer right after that and be out very soon. Since several chapters had to be cut for size, the Table of contents was slightly reorganized and renumbered. Every

Re: beer4all under resin

2002-09-18 Thread chuckcavaness
I tested it on an earlier version of 2.1 Resin, but I don't remember which one. I'll try to check out 2.1.4 and see if I can see what's going on. Chuck Cavaness hi, has anyone got the beer4all demo working under resin2.1.4, it keeps giving me a nosuchmethod error, works under tomcat though

RE: [STRUTS USERS ID] [THIEF!!!]

2002-09-18 Thread chuckcavaness
Interesting idea. Let me know how I can help :) Chuck Now, now, I enhanced and built upon your idea. That's the Apache way right?! :-) I plan to publish anyone who cares enough to send me a decent picture and a bio. I will blatently discriminate in favour of people who's names I recognise

RE: [STRUTS USERS ID] [THIEF!!!]

2002-09-18 Thread chuckcavaness
If that's the case, nothing will ever get done :) Chuck So this will be the All4Beer website? ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 21:23 To: Struts Users Mailing List Subject: RE: [STRUTS USERS ID]

Re: [OT] Load-Testing

2002-09-10 Thread chuckcavaness
Eddie, Take a look at the performance chapter from my book. I list many of the tools and give links to them. Chuck I know different solutions have been presented for this ... and I keep all messages from the list ... but I can't seem to find any of them right now :-( Could someone

Re: [STRUTS BOOK]

2002-09-06 Thread chuckcavaness
I'm sure there is going to be some overlap, but I really think that because we (Ted, James Goodwill, James Turner and Kevin Bedell, Sue and myself) all come from a slighly different background and have different experiences, the various Struts soon available will complement each other

RE: Struts Presentation at AJUG

2002-08-29 Thread chuckcavaness
The length of the presentation at AJUG was a little over two hours. It should have lasted longer, but I had to spend up at the end because I realized how long I had been going. It was a fun presentation, I tried to keep it light and humorous. Marc Fleury actually interrupted me half way

RE: Struts Presentation at AJUG

2002-08-29 Thread chuckcavaness
I was thinking of your beer stories as I was putting it together :) Chuck Hey Chuck - Love page 8 of your presentation! Wish I had been there. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:07 PM To: [EMAIL

Re: struts provider ?

2002-08-28 Thread chuckcavaness
Not sure if anyone has mentioned this list, but there are several listed here: http://jakarta.apache.org/struts/resources/hosts.html Chuck You might try : http://www.mycgiserver.com Or do a search on Google using keywords free jsp hosting. John - Original Message - From:

Struts Presentation at AJUG

2002-08-28 Thread chuckcavaness
For anyone that is interested, the presentation and demo Struts application that I gave at the Atlanta Java Users Group (AJUG) this month is available for download. The presentation is 115 slides and is in PDF format. The demo application uses OJB and Hypersonic. Note: make sure to read the

Re: trouble with DynaValidatorForm

2002-08-26 Thread chuckcavaness
Have you added the Validator plugin to the struts-config file? Chuck Hey guys, I'm still experimenting with the Dyna stuff. I'm trying out the DynaValidatorForm, following the recipe in chapter 11 of Chuck's (?) book from theserverside. The form bean is capturing my data, hooray, but it does

Re: Classloader issue with Weblogic 6.1sp3

2002-08-22 Thread chuckcavaness
Are you using any type of XML parser in your extensions? I was just thinking about something I read on the BEA site? Chuck I'm having a problem deploying an application on Weblogic(WL) 6.1sp3, using Struts, and extending MessageResourcesFactory and MessageResources in my webapp. I found a

Re: javax.servlet.ServletException: Cannot retrieve definition for form bean Logon

2002-08-19 Thread chuckcavaness
The framework might not be able to create the Logon form bean. Is the Logon class in the classpath and have you specified the correct package? All you have is Logon, which seems to indicate you're using the default package. If it's something like com.foo.Logon, then you need to specify the

Re: javax.servlet.ServletException: Cannot retrieve definition for form bean Logon

2002-08-19 Thread chuckcavaness
Chriz, I thought about that, but Darren's using extension mapping. The docs for Form tag say that if extension mapping is being used (see his web.xml), that the extension should be included. I was half way through my email when I realized it and thought about the Form bean issue. Chuck

Re: javax.servlet.ServletException: Cannot retrieve definition for form bean Logon

2002-08-19 Thread chuckcavaness
Darren, I'm not sure where you are with this (if you've fixed it or not), but the new error messages is telling you that the requestId attributes are different. Notice in your Logon form, the attribute is requestId and in the tag attribute, you have requestid. The i capitalization is

RE: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-08-16 Thread chuckcavaness
The chapters got reshuffled after I had to cut several due to time and size. Which chapter topic are you referring to? If you are referring to Logging (chapter 18 before renumbering), it is not chapter 15 and can be downloaded from http://www.theserverside.com/resources/strutsreview.jsp

RE: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-08-16 Thread chuckcavaness
It was supposed to be now. I'm a terrible editor of my own writing, as most of you can attest :) Chuck 18 before renumbering), it is not chapter 15 and can be ^^^ Was that not or now? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta,

Re: Handling exceptions in Action class

2002-08-13 Thread chuckcavaness
Take a look at my draft chapter on ExceptionException and see if that sheds any light on the topic. You can download it here: http://www.theserverside.com/resources/strutsreview.jsp It's Chapter 10. You will need to register, but it's free. Chuck Hi all: Can anyone kindly suggest, if i

RE: Logging in 1.1b2 - help me obi-wan

2002-08-13 Thread chuckcavaness
I'm surprised that downloading the newest version of log4j doesnt' fix your problem. The root cause in your stack trace: [org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log] implies that the version of the log4j installed in your web app isnt' the latest. Are you

Re: Declarative Exception handling using the Tiles RequestProcesso an d the SubApp feature of Struts1.1

2002-08-13 Thread chuckcavaness
The path attribute is supposed to be module-relative. Are you getting a 404? Are you using 1.1b2 or just the latest 1.1b1? Chuck Chuck, What is your take on this? When I throw and Exception within and Action, Struts found my declared Exception alright. But it doesn't seems to find the

RE: Logging in 1.1b2 - help me obi-wan

2002-08-13 Thread chuckcavaness
) Seemed out of place for that to be the problem. Could it be that the commons-logging is detecting the log4j jar file and trying to use that instead of the simple logging it comes with? -Original Message- From: chuckcavaness [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13

Re: Declarative Exception handling using the Tiles RequestProcesso an d the SubApp feature of Struts1.1

2002-08-13 Thread chuckcavaness
Danny, A couple things: First, the path attribute should begin with a /. When the ExceptionHandler has its execute() method called, if the path is specified, it creates an ActionForward on the fly using the path attribute that you specify. Otherwise, the input attribute is used from the

Re: strusts + log4j

2002-08-08 Thread chuckcavaness
Make sure your log4j.properties looks like the one that I've attached. I've also attached my commons- logging.properties file. The other thing to check is to make sure you have the latest log4j.jar. Get something like 1.2.4. Chuck Chuck, I went through the logging chapter and configured

[ANN] O'Reilly Struts book available for ordering

2002-08-04 Thread chuckcavaness
Many of you have emailed me and asked me to let you know when the book was available for pre-ordering. My apologies for spamming the list. Here's the link to Amazon, although it will eventually be available on bookpool.com and others. chuck

Re: strusts + log4j

2002-08-03 Thread chuckcavaness
Take a look at the draft logging chapter in my upcoming struts book. I cover Struts and log4j. You can find it here: http://www.theserverside.com/resources/strutsreview.jsp chuck Craig, I did and it didn´t tell me very much. Anyway, as I explained later there appeared to be a mix-up with

Re: validating existence of session attributes in all Actions

2002-07-30 Thread chuckcavaness
Take a look at the processPreprocess() method in the RequestProcessor class. I have seen this method used for similar types of purposes. Just a suggestion, chuck Do RequestProcessors stack like filters? This is a point I'm not clear on. My reason for suggesting he subclass Action is

Re: validating existence of session attributes in all Actions

2002-07-30 Thread chuckcavaness
Troy, It's funny that you wrote this and asked the question. I started to respond earlier when the question came up, but decided not to to prevent myself from being yelled out :) Here's my answer to your question regarding to extend or not to extend? Struts is a framework and frameworks

RE: DynaValidatorActionForms

2002-07-22 Thread chuckcavaness
I'll make that section more clear. Chuck It is the value of the path attribute in the action element in the struts-config.xml file. If you look at the DynaValidatorActionForm source you will see the following in the validate(). Validator validator =

RE: Struts OReilly Book....

2002-07-22 Thread chuckcavaness
I just posted a message on the site explaining what's going on. The book WILL cover the tags. The problem is that I've rewritten this chapter twice now because I'm having a difficult time coming up with an approach that I like. I don't want to just regurgitate the user's guide on the tags,

[ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread chuckcavaness
Chapter 18 Logging in a Struts Application has been posted on theserverside.com. http://www.theserverside.com/resources/strutsreview.jsp The EJB Chapter is finished and will be posted within the next day or so, followed by Tiles and the Performance chapter. Chuck -- To unsubscribe,

[ANN] Chapter 20 of the O'Reilly Struts book now available

2002-07-10 Thread chuckcavaness
Chapter 20 Packaging your Struts Application has been posted on theserverside.com. http://www.theserverside.com/resources/strutsreview.jsp Chuck -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[ANN] Chapter 11 of the O'Reilly Struts book now available

2002-07-09 Thread chuckcavaness
Chapter 11 Using the Struts Validator has been posted on theserverside.com. http://www.theserverside.com/resources/strutsreview.jsp Chapters 8 and 20 will also be posted this week. As always, I look forward to the feedback. Chuck -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: struts-config deployment descriptor file syntax

2002-07-09 Thread chuckcavaness
Sandra, Chapter 4 of my O'Reilly Struts book covers both the neccessary web.xml modifications that you have to do for Struts as well as complete coverage of the 1.1 struts config file. Give it a read and feel free to provide feedback to me. You can get Chapter 4 here:

RE: Validator

2002-07-09 Thread chuckcavaness
It would also be great if you could read my chapter on the Validator and provide some feedback on how helpful it was to you. You can download the draft chapter from here: http://www.theserverside.com/resources/strutsreview.jsp The perspective from someone new to it would be very helpful,

Re: DynaActionForm vs ActionForm

2002-07-03 Thread chuckcavaness
Sandra, One source of information on the subject is Chapter 7 from my Struts book that I'm currently writing. It might not be able to answer all of your questions, but it should get you started in the right direction on it. You can download the draft chapter from here:

[ANN] Chapter 9 of the O'Reilly Struts book now available

2002-06-24 Thread chuckcavaness
Chapter 9 Extending the Struts Framework has been posted on theserverside.com. For all of you have have been asking for chapter 8 as well, it will also be posted very soon. I've struggled with what to do with that chapter because I just didn't want to regurgutate the Struts user guide.

Re: Confused about exception handling design, 1.1 beta

2002-06-05 Thread chuckcavaness
Roy, Have you read my exception handling chapter on theserverside.com? If that doesn't answer this question, than I've failed and I need to rewrite that chapter. Take a look at it and send me some feedback if it doesn't answer your question enough and I'll fix it. Here's a link:

Re: Confused about exception handling design, 1.1 beta

2002-06-05 Thread chuckcavaness
Yea, it's in MS Word format. This is the same file that I have to give to O'Reilly and in this exact format. One of the reaons that Word was chosen, other than it's what I have at home and what I turn into O'Reilly, is the track changes feature. This allows reviewers to write directly into

RE: Confused about exception handling design, 1.1 beta

2002-06-05 Thread chuckcavaness
I like the idea, except there are probably two issues: 1) Since these are draft chapters, I have to manage how they are released to the public, because I need to ability to quickly pull them when new chapters are finished. It's not good to have old, typo-ridden, chapters on various sites,

RE: Exception Handling - Chapter 10

2002-06-05 Thread chuckcavaness
Mark, I don't have chapter 10 in front of me and I'm too lazy to go and download it, but if my memory is correct, that's the exception chaining example. The constructor should take a Throwable, which is the root cause of the exception. So the constructor just allows a new exception to be

RE:Struts is Overkill?

2002-05-30 Thread chuckcavaness
For what it's worth to this discussion, people that say these off-the-cuff statements truly have never used or just don’t understood the concept of a Framework. If you don't take advantage of a framework, Struts or any other, you only end up repeating over and over the same classes,

RE: stuts-config.xml file

2002-05-20 Thread chuckcavaness
Muka, I would also recommended if you haven't done so, read chapter 4 from my O'Reilly Struts book. It covers the web.xml and DTD in detail. Here's a link where you can download the chapter. http://www.theserverside.com/resources/strutsreview.jsp Chuck Thanks Mark. That was very helpful.

RE: stuts-config.xml file

2002-05-20 Thread chuckcavaness
Sorry, I meant Muki. My apologies :) Chuck Muka, I would also recommended if you haven't done so, read chapter 4 from my O'Reilly Struts book. It covers the web.xml and DTD in detail. Here's a link where you can download the chapter.

Re: info on form-property tag, dynaactionform...

2002-05-09 Thread chuckcavaness
Download chapter 4 from here: http://www.theserverside.com/resources/strutsreview.jsp It covers alot of this. Chuck I can't seem to find an exhaustive treatment that lists all the tags (and its attribute) that one can use in the struts configuration file (for example, the form-property

Re: ActionForm Design Thoughts..

2002-04-29 Thread chuckcavaness
I'm working on a project where we faced a similar situation. We don’t have as many pages as you, but nonetheless. Here’s what we have done, maybe there’s some ideas in here for you. We built two builder classes that contain a single static method in each (FormBuilder and ViewBuilder). We

Re: Action + Session Beans + JMS

2002-04-26 Thread chuckcavaness
I didn't mean to be so matter of fact. A session bean is surely not the only way to façade enterprise resources, such as a security service. Here’s where I thought the design would not work. When the client published a message to the JMS Queue, the EJB container would automatically pull a

RE: logic equals problem

2002-04-26 Thread chuckcavaness
This may be a stupid question, but is there a / at the end of the opening logic:notEqual tag? Should that NOT be there. Doesn't that close the tag? Chuck logic:notEqual name=data property=sortColumns.currencyCode value=%=currencyBlock%/ is it possible this is comparing string

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread chuckcavaness
I replied to Peter directly, but let me copy the relevant parts to the group so that everyone sees the response. I'm using a message from the resource bundle That looks like this: The {0} is required for login The substitution parameter {0} can be anything you want and you can pass it

Re: Example App for Struts?

2002-04-18 Thread chuckcavaness
You can also take a look at the chapter 3 that's available on theserverside.com. I used ant to build the example banking app using Ant and one of the deployment environments that I tested it on was WebLogic. Look at the build.xml file included. Chuck Simon, I am trying to use ant to

Re: Preview OReilly Struts Chapters Online - Soon

2002-04-02 Thread chuckcavaness
I actually have a complete shopping cart type application that I'm using throughout the book, as well as an online banking application. I will make these available for download as well. Hi I vote for chapters 13 (EJB), 19 (Performance) and 21 (Design). What about a complete web Application