RE: Struts 1.1 Release

2002-10-16 Thread Greg.Reddin
Really 1.1 is so much better then 1.02 that you should be calling it 2.0 when it is released (and the current beta releases should be something like 1.99) Of course Java is at 1.4.1. How similar is 1.4 to 1.0? And why do they call 1.2+ Java 2? Why didn't they just call it Java 2.0?

RE: Struts 1.1 Release

2002-10-16 Thread Greg.Reddin
but I want to emphasize the fact that 1.0 based apps should generally run fine in 1.1 unless you're doing some really intricate things. That's a good point. You'd hate to imply to 1.0.2 users that their stuff won't run on the next version. For future versions of Struts, I'd likely support

RE: Can't find my classes.

2002-10-16 Thread Greg.Reddin
Here's an interesting twist. When you type the .do URL for this form into the browser (i.e. http://localhost/yourapp/Logon.do) The page will load and you will be able to log in (at least it works for me). Of course, when the page comes up you'll get validation errors on the logon page

RE: [J2EE] Does struts follow Sun's Core J2EE patterns

2002-10-22 Thread Greg.Reddin
Sun's J2EE Blueprints book lists Struts as one of three frameworks of particular interest when discussing web-tier frameworks. Struts is mentioned second. The first one mentioned is the J2EE BluePrints Web Application Framework (WAF), which forms the infrastructure of the sample application. If

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Greg.Reddin
Just for a different perspective... If we took that approach we could conceivably have hundreds of actions that looked almost identical except for the value of a few variables. So, we're building a model layer that creates and invokes components in a standardized way. So, (when it's all

RE: Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Greg.Reddin
Well, I guess I'll have to look into the DispatchAction thing. I've not heard of it before today. It sounds real similar to what we're doing. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:29 PM To: Struts Users Mailing List

RE: how old is struts

2003-02-24 Thread Greg.Reddin
Are you sure? I am sure I recall a mention of a Struts 0.50 in the some time during the winter 2000/2001. Yeah, I could've sworn that I found out about Struts from a collegue who attended a BOF at the 2000 JavaOne conference. We started using it within a month from that. Maybe it was

RE: Can this kind of code work?

2003-02-27 Thread Greg.Reddin
I think I see what you're trying to do: It looks like you want to keep track of what menu item is highlighted.I don't think this information should be pushed down to the action layer. I would use a Tile to render the menu, and perhaps a Tiles controller to determine which item is

RE: set-property of form-property question

2003-03-04 Thread Greg.Reddin
What exactly does the set-property tag of the form-property tag in the struts-config file do. My understanding is that it can pass or set properties within the corresponding form-property tag class? The set-property tag allows you to set extra properties on a subclass of

RE: Please recommend a IDE

2002-06-05 Thread Greg.Reddin
Here's one a friend of mine is working on: codeSlinger: http://www.codeslinger.org -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:36 AM To: Struts Users Mailing List Subject: Re: Please recommend a IDE There are many good IDEs

RE: Session Management Methodology

2002-06-12 Thread Greg.Reddin
I think filters are the best way to handle redirection to a logon screen, but that requires Servlet 2.3. Otherwise you have to either modify the ActionServlet to redirect before calling the Action or ActionForm, or put code in the Action that checks for a valid login before continuing. I would

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Greg.Reddin
Something that has always bothered me in Struts is the disconnect between Form Beans and Model Beans. How many times do you have a Form Bean and a model bean that contain the same data? The disconnect makes some sense because you want everything that could come in from a JSP page to be

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Greg.Reddin
The PageField's internal storage is a simple String. It could easily be changed to anything else, though. If the field maps to a model bean, it handles nested and indexed properties the same way Struts does. In fact it uses BeanUtils and PropertyUtils. If the field does not map to a bean, it

RE: DynaActionForm Advantages (A different approach)

2002-07-09 Thread Greg.Reddin
The preferences for Strings in form beans is to deal with bad user input (such as typing 1a3 into a text field destined to be an integer). Any solution that does not redisplay the bad data that the user typed (just like every GUI program in the world does it) is not acceptable, IMHO.

RE: How to connect a COM environment to struts ?

2002-07-31 Thread Greg.Reddin
So VB is your front end and you want it to connect to business logic in Struts, right? We've used a browser control with some success to do this sort of thing. I think it ships with VB in the Microsoft Internet Controls package, but I'm not real sure. The variable is of type

RE: How to connect a COM environment to struts ?

2002-07-31 Thread Greg.Reddin
Is it also possible through this to do a file transfer bu your knowledge I don't know anything about that. Can you also send me a piece of your code as a reference The snippets I sent you in the last response should get you going on the VB side. I couldn't really send you any more of our

RE: Real World Struts

2001-08-29 Thread Greg.Reddin
We have developers who are familiar with JSP and Java and J2EE. Struts would be the only learning curve ( and it's not exactly a small learning curve ). I have to disagree with you there. I began using Struts when I had less than 6 months experience in Java, and very little experience in

RE: Error upgrading to latest struts build

2001-09-11 Thread Greg.Reddin
Sanity check: 1) Is there a struts-config.xml file in your WEB-INF directory? 2) What are the results if you take the initial / off of /WEB-INF/struts-config in your web.xml? (Mine requires the initial / so that's probably not it.) 3) Is the struts-config file being used by another

RE: JDBC development

2002-12-16 Thread Greg.Reddin
... quarks and bugs ... Somebody's been watching too much Deep Space Nine... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[Tiles] definitionsFactory problem

2002-12-19 Thread Greg.Reddin
I'm not sure if this is a user problem or a dev problem or something that should eventually be submitted as a bug. Let me know if it should really be posted to the dev list. Here's what I'm trying to do: I want to be able to parameterize Tiles definitions with values set in an ActionForward.

RE: [Tiles] definitionsFactory problem

2002-12-20 Thread Greg.Reddin
Take a look the controllerClass attribute of the definition element in the tiles config. It allows you to specify a controller class of type package org.apache.struts.tiles.Controller. This class is executed before the tile it is associated with is rendered and can be used to

RE: no getter method for property phoneList

2002-12-20 Thread Greg.Reddin
Here's some questions: 1) If you reverse the order of the iterate tags, iterating over phoneList first and addressList second, do you get the same results? 2) Does the address information render correctly if you comment out the phoneList info? 3) Do you get the same error if you comment

RE: Problem with simple welcome.jsp page

2002-12-23 Thread Greg.Reddin
Also compare the modified date of your file with the one your container has compiled. If your modified date is older than the one Tomcat is using, Tomcat will not recompile it -- assuming you're using Tomcat. Not sure how other containers behave. +1 on the delete idea. That's usually what I

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Greg.Reddin
+1 on that!! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 9:41 PM To: Struts Users Mailing List Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE On Mon, 23 Dec 2002, James Mitchell wrote: +1

Struts Productivity Survey

2003-01-09 Thread Greg.Reddin
I am conducting an informal survey to determine how difficult it is for new developers with differing skills becomve productive with Struts. This really only applies to those using 1.1x. Anyone who is willing, please answer the following questions: 1. How long did it take you to get the

RE: Struts Productivity Survey

2003-01-10 Thread Greg.Reddin
Good point. I agree. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 12:58 AM To: Struts Users Mailing List Subject: Re: Struts Productivity Survey The problem with this survey is that the results you would get would not be

RE: Struts Productivity Survey

2003-01-10 Thread Greg.Reddin
Ok, so let me pose it a different way. Put yourself in this position: You're a consultant or an architect who has been tasked with building a Struts application with 100 screens. You're actually migrating an application which was originally written as a fat client app in VB and the server was

RE: Struts Productivity Survey

2003-01-10 Thread Greg.Reddin
Well, the question was somewhat, but not entirely hypothetical. The 50 is probably more like 30. The problem is really another my framework is better than yours debate and we're pushing to use a Struts-based framework going forward instead of a home-grown. One of my tasks is to quantify how

RE: It lives....

2003-01-13 Thread Greg.Reddin
I never thought I'd say this, but it's good to hear from ya... :-) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 10:36 AM To: 'Struts Users Mailing List' Subject: It lives Hey guys! Been away from the list for awhile. Got

RE: Un Subscribe

2003-01-15 Thread Greg.Reddin
You can check out any time you like, but you can never leave... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Un Subscribe

2003-01-15 Thread Greg.Reddin
Uhh... I'm not 30 yet... -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 9:55 AM To: Struts Users Mailing List Subject: Re: Un Subscribe That was a very bad pun, and requires all users to be over 30. ;-) - Original Message

Struts Productivity Revisited

2003-01-15 Thread Greg.Reddin
Thanks to everyone who answered my infromal survey the other day. Your answers did not *necessarily* answer my questions, but did give me some very valuable information on what it takes to help others get up to speed on Struts. Here are some followup questions. 1) How much infrastructure

RE: Struts officially supported at Ford

2003-01-23 Thread Greg.Reddin
Since we're on the subject What kind of applications are being built using Struts? We're one of those big companies where many folks would rather roll our own. One of the defenses is that Struts was designed for web sites not servicing apps. Now I know that statement holds no merit, but

RE: Struts officially supported at Ford

2003-01-23 Thread Greg.Reddin
Struts is a framework which facilitates the building of browser-based applications Oh, I totally agree. The service app concept was defined as needing to maintain state for multiple instances of business objects and respond to events, like a customer call in a call center app, working a

RE: Struts officially supported at Ford

2003-01-23 Thread Greg.Reddin
Estimate the cost of doing it yourself and present the numbers to management. The problem is we've already got one, you see... However, it pretty much sucks compared to Struts and would cost millions of dollars just to get it where Struts is right now -- and we'd never really get it to

RE: Struts officially supported at Ford

2003-01-24 Thread Greg.Reddin
Joe, how many people do you have on your development team for this project and how long has it taken to develop it? Thanks, Greg -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:53 PM To: Struts Users Mailing List Subject: RE:

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Greg.Reddin
You've stated it correctly when you said that Actions are your flow controllers. In the case of your login/getAccounts example, you should have a business object that handles login, and a business object that gets accounts. You would then have a login action (use case controller) that would

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread Greg.Reddin
Ted, can you (or someone else) clarify the difference b/t action chaining and action relay? Thanks, Greg -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 5:34 AM To: [EMAIL PROTECTED] Subject: RE: design question about action

RE: Question about ActionErrors html:errors

2003-01-31 Thread Greg.Reddin
Do you have the errors.header and errors.footer properties in your ApplicationResources.properties file? I don't believe they are required, but it's something to look at. Greg -Original Message- From: Ali Khan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 4:18 PM To:

RE: design question about action chaining

2003-02-03 Thread Greg.Reddin
Thanks, Ted, for clarifying these issues for me. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 11:06 AM To: [EMAIL PROTECTED] Subject: Re: design question about action chaining In Patterns of Enterprise Application Architecture

RE: Dynaactionform

2003-02-05 Thread Greg.Reddin
You could do something like this: DynaActionForm dynaForm = (DynaActionForm) form; DynaProperty[] properties = form.getDynaClass().getDynaProperties(); for (int i = 0; i properties.length; i++){ DynaProperty property = properties[i]; // do whatever you need to do with property name

RE: Dynaactionform

2003-02-05 Thread Greg.Reddin
Not sure how I missed the getMap() method in the API. That makes the advice given below seem rather ridiculous... Greg -Original Message- From: Reddin, Greg Sent: Wednesday, February 05, 2003 10:48 AM To: 'Struts Users Mailing List' Subject: RE: Dynaactionform You could do

RE: Dynaactionform

2003-02-05 Thread Greg.Reddin
Sorry but getting a Map or parameters and generating a query string is plain enough without sending code.. Or do you sit around all day writing myForm.get(somevalue) all day.. are the life of rielly huh.. perhaps i should return to academia :) In trogloditian terms Map formMap =

RE: Article about Struts and XSLT

2002-02-08 Thread Greg.Reddin
I thought this article was very good, and probably one of the best approaches I've seen to using XSLT with Struts. If I was in a situation where I had to use XSLT, I'd probably take an approach similar to this one. However, I found the authors' contention that this solution offers a

RE: Free (or inexpensive) web hosting site for JSP/Struts/MySql?

2002-03-11 Thread Greg.Reddin
Check out http://www.webappcabaret.com/index.html. They're free for 15 days and quite affordable after that. You have access to Tomcat and Jonas as well as mySql. No offense, but you're not going to get the functionality you want for free. You must be willing to pay at least a little if

RE: /servlet is the industry standard?

2002-03-11 Thread Greg.Reddin
Let me make an idiot of myself :-) I believe /servlet is used if you do not define an entry in web.xml for your servlet. If you have the class com.stuff.servlet.AServlet in WEB-INF/classes you can type http://localhost/app-context/servlet/com/stuff/servlet/AServlet to invoke your servlet.

RE: Urgent: xml with struts

2002-04-04 Thread Greg.Reddin
If all you're trying to do is convert data between java objects and XML you might want to look at Castor or JAXB (the upcoming Java API for XML Binding). Struts does not have any built-in support for moving data between Java and XML, but you could certainly plug one of these packages in. Greg

RE: ActionBeans

2002-04-11 Thread Greg.Reddin
Is dataList an instance variable or is it defined within your Action's perform() or execute() method? -Original Message- From: Daniel Jaffa [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 1:40 PM To: [EMAIL PROTECTED] Subject: ActionBeans Ok, I just read this in the

RE: web-MVC-frameworks in question [Was: Struts vs. other Framworks.....]

2002-04-16 Thread Greg.Reddin
I may not be the best person to address your concerns, but I'll give it a shot. In our shop we've developed applications that have several hundred components and screens. There is no out-of-the-box installation for us. No two clients desire the same behavior and customizations on the fat

RE: off topic: software development quality/standards

2002-04-18 Thread Greg.Reddin
Pretty good paper. I think that the last 3 levels: maintainability, usability, and performance (especially the last two) are not strictly hierarchical. In some environments performance takes on a much higher priority and performance may be achieved before usability. But I totally agree that

RE: xslt transformation + utf-8

2002-04-18 Thread Greg.Reddin
XML, XSL and also Transformer's setOutputProperty is set to UTF-8 Does that mean you have this at the top of your XML and XSLT?: ?xml version=1.0 encoding=UTF-8? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Multi-Lingual support

2002-04-18 Thread Greg.Reddin
Go to Tools/Internet Options... Click on the Languages button. If Chinese is on the list move it to the top. If not, click the Add button and follow the instructions. HTH Greg -Original Message- From: Yibing Li [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 9:22 AM

RE: xslt transformation + utf-8

2002-04-18 Thread Greg.Reddin
but maybe I should set it somehow already in Document while creating elements? That's what we used to do. We'd create a document with the String: ?xml version=1.0 encoding=UTF-8?\nDocument/ or something like that. There's probably a better way, but we never bothered to find it. You can

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Greg.Reddin
I beleive you are correct. Do you have a form bean that is being populated? If not, and the taglib is useful to you without the controller, is there any reason for you to use the controller in this case? A controller doesn't really buy you anything if you have no business logic to invoke and

RE: Auto-Replies

2002-05-10 Thread Greg.Reddin
He'll get better. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 1:10 PM To: 'Struts Users Mailing List' Subject: RE: Auto-Replies Could we turn him into a newt? -Original Message- From: Craig R. McClanahan

RE: xml-xslt v jsp

2002-05-14 Thread Greg.Reddin
isn't teaching a designer XSLT to modify a schema into HTML easier than teaching them to not break your java code inside of a jsp? No, it's not. XSLT *is* a programming language and you have to know XPath to really do anything practical with XSLT. I would never try to teach designers XSLT

RE: xml-xslt v jsp

2002-05-14 Thread Greg.Reddin
Someone else could probably do a better job than me, but... 1) If transforms are done on the client, processing is distributed. The server does not have to process transformations for all of the concurrently connected clients. DOM processing takes a lot of memory and overall application

RE: xml-xslt v jsp

2002-05-14 Thread Greg.Reddin
I aggree that it's very difficult to debug and is non-portable, but our experience was that we could never find a server environment with adequate performance. The performance issue outweighed the portability and support issues for us. Of course, we're talking about an intranet application

RE: html taglib usage slooow

2002-05-22 Thread Greg.Reddin
Since this is your first Struts app, I suspect that you can't say for sure how it will perform on Tomcat or any other container. I'd suggest that you find out what your exact requirements are and then figure out what you'll need to properly address them. Here's the approach I would take: 1.

RE: html taglib usage slooow

2002-05-22 Thread Greg.Reddin
Unfortunately, a profiler will not be an option here, so it will have to be System.currentTimeMillis() placed throughout. I'd say that's acceptable. We do some of that as well. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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

2002-08-30 Thread Greg.Reddin
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No ( ) Hell No I almost voted for Pat Buchannon because of the dis in front of continue :-) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: Java Server Faces and Developer Life Comments

2002-09-03 Thread Greg.Reddin
I guess this thread is mostly dead g, but I felt compelled to offer my 2c. I recently had to do an analysis of development software I'm using for my boss to ensure that our licenses are up to date and whatnot. I was blown away by the fact that there's not a single piece of software critical to

RE: SQL Query Builder [Off Topic]

2002-09-17 Thread Greg.Reddin
DBVisualizer? -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 11:29 AM To: 'Struts Users Mailing List' Subject: RE: SQL Query Builder [Off Topic] yep - but I'd be willing to bet someone has written a Swing query engine.

RE: [FRIDAY] Tee Time

2002-09-27 Thread Greg.Reddin
(likes the 19th the best) ++1 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: DanaFormBean and Non Primative property type

2002-10-04 Thread Greg.Reddin
It looks like you're trying to code a class that would be used in a form bean and accessed from your page. You do that like this: public class MyFormBean... { private Duns duns; public Duns getDuns() { return duns; } } public class Duns { public Duns(); public Duns(String

RE: Can't find my classes.

2002-10-15 Thread Greg.Reddin
Does your LogonForm class have a default constructor? Maybe you could post the code for that. I assume you've gotten the Struts example apps to run? Greg -Original Message- From: Gekka [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 5:03 PM To: [EMAIL PROTECTED]