Re: Is having serveral actions mappings to one Action bad design?

2002-08-30 Thread Ted Husted
To be clear, I don't use switch statements or anything like that in my applications. I use the parameter to either call methods (like DispatchAction) or instantiate objects (like ActionForms). I generally use only standard toolkit Actions in my apps, and hand off all the business logic to

RE: Java Server Faces and Developer Life Comments

2002-08-30 Thread Elderclei R Reami
Hi James, I guess you were talking about Avalon, which is a nice tool to model functional flow, but it's not exactly what we want. Hope we have easier life soon, or M$ will surely dominate other development niche. People using WSAD says it's extremely slow, but I've never used it. Regards,

[ANNOUNCE] Artimus 1.0 beta 2 available

2002-08-30 Thread Ted Husted
Artimus is a sample Struts application for posting news articles that uses JDBC, Lucene, and the Struts Scaffold toolkit. Artimus may be downloaded from the Struts Example Application site on SourceForge http://sourceforge.net/projects/struts Other developers with example applications that

[ANNOUNCE] MockObjects 0.4 released

2002-08-30 Thread Ted Husted
Unit testing is a hot topic among Struts developers. StrutsTestCase http://strutstestcase.sourceforge.net/ provides a slick mock object for testing Struts Actions with JUnit (or Cactus). The MockObjects projects provides a base API for creating tests for the rest of the objects in your Java

[ANNOUNCE] Struts Book Moves Ahead

2002-08-30 Thread Ted Husted
The publication date for Developing Web Applications with Struts by Ted Husted, Cedric Dumoulin, George Franciscus, and David Winterfeldt (Foreword by Craig R. McClanahan) has been advanced to October 2002. Details about the book are available at Ted Husted's Struts site

newbie question

2002-08-30 Thread anand v
Hi, I could make the strut example work on my server.. Redhat 7.1 My next goal is to just make this exmple work as it is from my site which is say http://mysite.com How can I do that?? Is that I have to copy all the struts-example directory to my site root directory?? I am using Apache

Link Question

2002-08-30 Thread Kamal . K . Kang
Hi all, I am new to Struts and I am trying to pass some parameters to the Action class when a link is clicked. I have tried many different ways but nothing works for me. I need something like following. a href=%=request.getContextPath()%/editServer.do onClick=set some data to be seen by the

RE: Link Question

2002-08-30 Thread Bartley, Chris P
Your example should work, but it could be a little more elegant. You might first try creating a global forward to your /editServer.do action. Something like this: forward name=forward.edit path=/editServer.do/ Then, you can use the html:link tag to create a link (it'll rewrite the URL for

Re: Help me shake the cobwebs out... (also http://www.computer-programmer.org/articles/struts/ is back up)

2002-08-30 Thread Craig Tataryn
That's ok Joe, I understand. The one thing I do when I subscribe to a mail group is say to myself Am I here to help myself or to help others? Nine times out of ten it ends up being both. If I respond to someone's query I only do so if I legitimately have something to contribute, I never

Create a custom tag that uses struts HTML tags?

2002-08-30 Thread John Averty
Hi, I'm a new struts user, and I couldn't find any information that helped; I'd like to create a custom tag which represents a super-componant such as a properties list tag. The idea would be to: 1) dynamically specify which fields to be renderered 2) at the same time ensure that the

Re: newbie question

2002-08-30 Thread Craig Tataryn
Hi Anand, you will not be able to run a Struts application directly under Apache web server. You need either do one of two things: 1) Dump Apache web server all together, but Apache is good for serving static pages so you may want to take option two: 2) Have Apache running along side of

JavaServer Faces and Struts

2002-08-30 Thread Sandra Cann
Craig, You'd mentioned in one email on this list more news when JSR-127 eventually goes to public draft. Now that that's happened I was wondering if you might tell us more about how you see things happening as related to a good integration between Struts and JavaServer Faces is clearly

RE: [VOTE] Should this list discontinue it's long, treasuredheri tage of relaxed fridays?

2002-08-30 Thread Martin Cooper
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 7:47 AM To: Struts Users List Subject: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long

RE: Help me shake the cobwebs out... (also http://www.computer-programmer.org/articles/struts/ is back up)

2002-08-30 Thread Jason Rosen
I created a Plug-in to initialize a connection to a proprietary Data Access layer for a CRM package I have to use. On initialization, my Plug-in just creates a connection to my datasource (using the CRM package's Java API) and stashes a reference to the connection in the ServletContext. Then I

Re: Struts Presentation at AJUG

2002-08-30 Thread James Holmes
FYI I got this info posted in CVS and when the next website update is done it will be online. -james --- [EMAIL PROTECTED] wrote: 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

Re: [VOTE] Should this list discontinue it's long, treasured heri tage of relaxed fridays?

2002-08-30 Thread Ted Husted
+1 Martin Cooper wrote: Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( ) No ( X ) Don't particularly care, as long as it's only on FRIDAY. +1 Craig R. McClanahan wrote: I'm not interested in squashing the fun. I am interested in

RE: [taglibs] Create a custom tag that uses struts HTML tags?

2002-08-30 Thread James Mitchell
Could you explain this a bit further. I've written a few tags myself, but I'm not exactly sure what you are trying to do. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original

Documentation for writing custom validators available?

2002-08-30 Thread David Geary
Is there any documentation available that shows how to implement a custom validator for a field form with the validator? I've read the section in the O'Reilly book, but I found it to be more confusing than helpful. Thanks, david -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Create a custom tag that uses struts HTML tags?

2002-08-30 Thread Eddie Bush
Have you discovered the tiles:insert tag yet? Sounds to me like this is what you're wanting ... no need to re-invent the wheel if you don't have to. (you said definition - that's tiles nomenclature - that's why I made my assumption ... ). If you're not looking at tiles, you may want to.

Re: Documentation for writing custom validators available?

2002-08-30 Thread Eddie Bush
David Winterfeldt has a site ... but I can't think of it right off. I'm reasonably certain part of the URL has part of his last name in it, but I don't remember how much -- and searching the archive for his last name would probably give an exhaustive list. *goes to check folder* ... you're

Re: is it a bug?

2002-08-30 Thread congzhebin
what you mean?do you mean you can deploy the samples successfully on weblogic6.1 or you don't use weblogic? yes,the tomcat works well with the struts1.1,i am now using the tomcat to deploy the struts1.1. - Original Message - From: Trieu, Danny [EMAIL PROTECTED] To:

<    1   2   3