RE: Struts + MVC Philosophical question

2002-07-10 Thread Ade Barkah
To nitpick... In a strictly philosophical terms, in MVC, the View *may* (and should!) directly access the Model, and on startup one *may* go straight to a View without passing through a Controller. Also, the Model *may* populate its own data without the help of a Controller. Of course when apply

Struts 1.1 Final - Just asking!

2002-07-10 Thread Eddie Bush
Obviously, the "standard answer" when someone asks for an ETA is: "When it gets here." I respect that - I do. It would be helpful to me though if someone could give a "very rough" guestimation of when that possibly might be =) I won't hold you to it - I know it's a "moving target". I'm sim

RE: Struts + MVC Philosophical question

2002-07-10 Thread Martin Cooper
> -Original Message- > From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 6:40 PM > To: [EMAIL PROTECTED] > Subject: Struts + MVC Philosophical question > > > Subject: Struts + MVC Philosophical question > From: "André Augusto de Oliveira Aragão" <[EMAIL

RE: Check boxes in a table

2002-07-10 Thread Martin Cooper
> -Original Message- > From: Dave Johnson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 6:04 PM > To: [EMAIL PROTECTED] > Subject: Check boxes in a table > > > > Part of my Roller app is a bookmark management interface. > I show all of the bookmarks in an HTML table with

Struts + MVC Philosophical question

2002-07-10 Thread @Basebeans.com
Subject: Struts + MVC Philosophical question From: "André Augusto de Oliveira Aragão" <[EMAIL PROTECTED]> === HI! I'm using struts to develop an application. I have an action, that has an input page, and a result page. However, the input page needs information that is in the model. Following mvc

DynaActionForm values disappear

2002-07-10 Thread Daniel Kehoe
I'm using a DynaActionForm and instantiating it and populating it with initial values in a servlet 2.3 Listener sessionCreated() event. When I use the DynaActionForm in a form on a JSP page, the populated values have disappeared. I've searched the archives and various FAQs and combed through t

Check boxes in a table

2002-07-10 Thread Dave Johnson
Part of my Roller app is a bookmark management interface. I show all of the bookmarks in an HTML table with links to edit and remove the bookmarks. The page looks like this: http://rollerweblogger.org/userguide/edit-folder.gif Currently, I use a custom tag to emit the HTML for the bookmark tab

Problems running struts 1.1b1 with Jbuilder 6

2002-07-10 Thread andrew . cochrane
Hi, I'm upgrading my project from struts 1.0 to struts 1.1 but am having a few problems when I run it from Jbuilder. (everything works fine from JBoss). Is there something special I have to do with the jar files in struts 1.1? When I try to run the project I get the following errors: 2002-07-1

RE: cannot find action mapping

2002-07-10 Thread Clay Graham
more info: mysql version:MySQL 3.23.36 running on localhost JDBC driver:mm.mysql-2.0.14-bin.jar has anyone had problems with this combo? clay -Original Message- From: Clay Graham [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 3:15 PM To: '[EMAIL PROTECTED]'; '[EMAIL P

An XDoclet approach (was: DynaActionForm Advantages)

2002-07-10 Thread Dave Johnson
[EMAIL PROTECTED] wrote: >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? > In Roller, I solved this problem by using XDoclet. I use an abstract class

RE: MessageResources problem under JBoss 3.0

2002-07-10 Thread Brian Topping
For the record, it turns out that the problem was related to a struts form from my web war being found in my ejb jar. This played tricks on the mind of the UCL, having it look in the wrong jar for the properties. Be very careful about keeping your web and ejb classes exclusively in one or the

RE: Re: Struts + EJB ?

2002-07-10 Thread Brian Topping
> -Original Message- > From: Manfred Wolff [mailto:[EMAIL PROTECTED]] > Subject: AW: Re: Struts + EJB ? > > I use Struts, Tomcat, JBoss, XDoclett, PostgreSQL, Ant, Log4J > in a 5 "person > year" project (not large but not small also) and it works really fine. Manfred, Are you using Xdo

[off topic] how to define array to jsp

2002-07-10 Thread Billy Ng
I have a array that needs to pass from the Action page to jsp. e.g. Agent[] agents = getAgents(); session.setAttibute("agents", agent); In jsp, I try to do this, but it doesn't work Would anybody please tell how to define the array object in jsp, thanks! Billt Ng

RE: Migration from 1.0.2 to 1.1

2002-07-10 Thread Martin Cooper
The first time I did that, I did it the same way you did. However, what I do now is use a base class for all my actions that does the authentication check before calling my perform/execute-equivalent method to do the real work. It looks something like this: public abstract class AuthenticatedActi

Re: Migration from 1.0.2 to 1.1

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, Struts Newsgroup wrote: > Date: Wed, 10 Jul 2002 14:55:02 -0700 > From: Struts Newsgroup <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Migration from 1.0.2 to 1.1 > > Subject: Re: Migration from 1.0.2 to

Re: html:base misunderstood, broken, or misleading?

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, Struts Newsgroup wrote: > Date: Wed, 10 Jul 2002 14:10:02 -0700 > From: Struts Newsgroup <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: html:base misunderstood, broken, or misleading? > > Subject: Re: htm

RE: Migration from 1.0.2 to 1.1

2002-07-10 Thread Jason Rosen
Heritier, If you are subclassing the RequestProcessor to override processPreprocess (used to be in ActionServlet), then your subclass will have access to the inherited protected methods processPath and processActionForward. Protected access within a class allows subclasses access to the inherited

RE: cannot find action mapping

2002-07-10 Thread Clay Graham
Just a follow up, I figured out the problem, basically the datasource is failing. When I look at the log file for the context I get the following error: 2002-07-10 18:13:42 WebappLoader[/test]: Deploying class repositories to work directory /home/tomcat/jakarta-tomcat-4.1.3/work/Standalone/lo

RE: Readonly on

2002-07-10 Thread Chilukuri, Pratap N Mr USAREC
Netscape 4.71 -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 6:18 PM To: Struts Users Mailing List Subject: RE: Readonly on What browser are you using? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minde

RE: Readonly on

2002-07-10 Thread James Mitchell
What browser are you using? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Chilukuri, Pratap N Mr USAREC > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 1

Readonly on

2002-07-10 Thread Chilukuri, Pratap N Mr USAREC
I have a and trying disable="true" and readonly = "true". It looks like none of these properties work. Is there a way to disable a text field using tag. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Using Reset to Load Drop Downs?

2002-07-10 Thread Ted Husted
An Action should be used to populate anything needed by the form. In this case, the input parameter should point to the Action that will populate the controls rather than straight back to the JSP. -- Ted Husted, Husted dot Com, Fairport NY US -- Java Web Development with Struts -- Tel: +1 585 737

Re: Migration from 1.0.2 to 1.1

2002-07-10 Thread @Basebeans.com
Subject: Re: Migration from 1.0.2 to 1.1 From: "Heritier Arnaud" <[EMAIL PROTECTED]> === Thx for your help Martin. In struts 1.0.2 I subclassed the ActionServlet to define a processPreprocess method which verify the user authentification. I needed to use the processPath to determine if the user

cannot find action mapping

2002-07-10 Thread Clay Graham
STRUTS people, this is bizzare, but I have come to expect this in my travels. so any hints as to what the problem may be would be great! I am using tomcat 4.1.3 I have a struts application in $CATALINA_HOME/webapps/test, it has the following stuff in it... >test home.jsp inde

Re: Does anyone have something to dump a sessions contents in a JSP?

2002-07-10 Thread Kevin Henrikson
Or just use the logging tags. 4 quick lines of code: <%@ taglib uri="http://jakarta.apache.org/taglibs/log-1.0"; prefix="log" %> PAGE: REQUEST: SESSION: APPLICATION: -kevin "Tero P Paananen" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > This would be handy if someone ha

Re: html:base misunderstood, broken, or misleading?

2002-07-10 Thread @Basebeans.com
Subject: Re: html:base misunderstood, broken, or misleading? From: Eric Rizzo <[EMAIL PROTECTED]> === Craig R. McClanahan wrote: > This sounds like a bug in Jetty. > > The Struts code that computes the URL simply calls > request.getRequestURI(). After a forward, this is supposed to give you > t

Re: Using Reset to Load Drop Downs?

2002-07-10 Thread Adam Hardy
Sorry, I was wrong - I don't load my dropdown lists in the form-reset method - I load my nested beans in the form reset. I load my dropdowns in beans instantiated in the JSPs. I call them list beans and pretend that they're a justifiable exception (or extension) to the model to deal with the d

RE: Using Reset to Load Drop Downs?

2002-07-10 Thread Joseph Barefoot
When we discovered this problem, we said "screw automatic validation", turned it off for all action mappings, and resorted to calling the validate method(s) in our ActionForm from the action itself, passing in an ActionErrors object to be populated by these validate methods. If the ActionErrors o

RE: Using Reset to Load Drop Downs?

2002-07-10 Thread Graham Lounder
Yeah, that is what I started to do, loading my drop downs in the get method if the list is null. In the reset method I set my drop down lists to null. I thought about putting them in the session and came to the same conclusion as you, no way to determin when to get rid of them. Does anyone have

Re: Struts throws ServletException when parsing in Borland Enterprise Server 5.0 - works great in Tomcat

2002-07-10 Thread @Basebeans.com
Subject: Re: Struts throws ServletException when parsing in Borland Enterprise Server 5.0 - works great in Tomcat From: "mark" <[EMAIL PROTECTED]> === I had a similar problem running the struts examples under BES 5.0. When investigating the root cause I found that the problem was resolving DTDs

RE: Problem with form submission

2002-07-10 Thread James Mitchell
Take a look at the struts-example. I know its been part of it since at least Struts 1.0 ...specifically, look at SaveRegistrationAction.java Good Luck!!! James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlan

RE: earth to validator

2002-07-10 Thread James Mitchell
You might get a quicker response if you ask on (or cross post to) the jakarta-users list since the validator originated as a contribution to that project. (or the jakarta-developers list if its related as such) What exactly do you need? James Mitchell Software Engineer\Struts Evangelist Struts

Re: Using Reset to Load Drop Downs?

2002-07-10 Thread Adam Hardy
I do that. The problems include getting error messages out when something goes wrong, and potentially fetching huge lists if the parameters are wrong. Can't think of any others. I used to get the dropdown lists in the action, and store them in the session, but I couldn't think of a way of gett

RE: Bean Utils Problems transferring Indexed Properties.....String []-->Integer []

2002-07-10 Thread Rajesh Kalluri
Craig, I have this Integer[] as part of a bean and String [] as part of a form bean Do i have to register custom describe to transfer data from a bean having a string[] to an Integer in order to use BeanUtils.populate(). If so do you have an example. // I am trying to transfer liek this. Map

Re: Tiles fowarding from struts-config

2002-07-10 Thread Developer
t; > > > Greetings, > > > > I'm currently having difficulties forwarding to a definition > > from the config files. Is there anything I should be looking out for. > > > > Struts 1.1nightly - 20020707, 20020708, 20020709, 20020710. > > Tomcat 4.0.

Re: DynaActionForm Advantages (A different approach)

2002-07-10 Thread Adam Hardy
[EMAIL PROTECTED] wrote: > beans. Each JSP page has a bean that holds its data. The data is > contained in a list of PageField objects. The PageField has > getFieldValue() and setFieldValue() methods that return and take Strings > respectively. The PageField also has a mapping that will map th

Re: Bean Utils Problems transferring Indexed Properties.....String []-->Integer []

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, Rajesh Kalluri wrote: > Date: Wed, 10 Jul 2002 14:31:10 -0400 > From: Rajesh Kalluri <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Bean Utils Problems transferring Indexed Propert

Validator error

2002-07-10 Thread Chilukuri, Pratap N Mr USAREC
I am getting "500 Servlet action:unable to service request: Servlet action threw the exception:java.lang.NoSuchFieldError:org.apache.commons.validator.Validatior :field SERVLET_CONTEXT_KEY not found" if I validate my screen againt 2 date fields. The names match on the validation.xmlfile and the

RE: Controller UML class diagram (HTML version)

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, Dan Cancro wrote: > Date: Wed, 10 Jul 2002 11:38:14 -0700 > From: Dan Cancro <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Controller UML class diagram (HTML version) > > Ni

RE: Struts architecture performance

2002-07-10 Thread Nelson, Laird
> -Original Message- > From: pierre jauffret [mailto:[EMAIL PROTECTED]] > We heard about Struts, and we would like to know if the > struts architecture based on 1 Servlet Controler(MVC) is > better than a classical architecture based on several > Servlets(MVC also): and for what reasons

Bean Utils Problems transferring Indexed Properties.....String []-->Integer []

2002-07-10 Thread Rajesh Kalluri
Hi I am trying to commons-beanutils to transfer data from a String [] in a form-bean to a data bean with a Integer[]. My String[] has three elements when it comes from the ActionForm. BeanUtils.populate(bean,map); copys only the first element of the String[] into the integer array. I searche

Re: Nested Classes problem

2002-07-10 Thread Adam Hardy
This is a nested tags gotcha. I fell into it. I've seen lots of people fall into it. In fact there's alot of posts in the archives about it, which is probably why you didn't get a response til now, but essentially your problem is this: the nested beans turn to null between form presentation an

RE: Controller UML class diagram (HTML version)

2002-07-10 Thread Dan Cancro
Nice job. Is there 1 RequestProcessor subclass?/instance? per Application or 1 per Sub-Application? Thanks, Dan > -Original Message- > From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 8:40 AM > To: [EMAIL PROTECTED] > Subject: Re: Controller UML class

RE: Tiles: pass "title" value to header page

2002-07-10 Thread Jerry Jalenak
I've posted a similar question to this today - I'm trying to use in a 'header.jsp', but keep getting the following message: [ServletException in:/WEB-INF/tiles/layouts/header.jsp] Error - tag.getAsString : attribute 'function' not found in context. Check tag syntax' I've assumed that it is bec

RE: Tiles: pass "title" value to header page

2002-07-10 Thread Michael Connor
I think I know what your issue is here because I had a problem with this a couple of days ago. When I went to use the title attribute in the header, it was null. I had to do this in my basicLayout page... It didn't really make sense to me why the title attribute didn't trickle down

RE: Tiles fowarding from struts-config

2002-07-10 Thread Martin Cooper
sers Mailing List > Subject: Tiles fowarding from struts-config > > > Greetings, > > I'm currently having difficulties forwarding to a definition > from the config files. Is there anything I should be looking out for. > > Struts 1.1nightly - 20020707, 20020708, 2

RE: Struts architecture performance

2002-07-10 Thread Clay Graham
well there is allways the powered by page... http://jakarta.apache.org/struts/resources/powered.html there are a number of commercial applications by big players. also there is a very good new article that could help explain why struts is good for big projects: http://www.scioworks.net/devnew

Tiles fowarding from struts-config

2002-07-10 Thread Developer
Greetings, I'm currently having difficulties forwarding to a definition from the config files. Is there anything I should be looking out for. Struts 1.1nightly - 20020707, 20020708, 20020709, 20020710. Tomcat 4.0.4, 4.1.7 I have the TilesRequestProcessor in struts-config.xml an

Re: VIRUS_WARNING_[RE:_[ARTICLE]_How_Do_I_Use_Jakarta_Struts_With_JDeveloper]

2002-07-10 Thread bryan hansen
Oh the virus wasn't Oracle and/or JDeveloper? --- [EMAIL PROTECTED] wrote: > Delete the attachments in my previous message. I got > it bounced back from > others saying it had a virus. > > I just did a send link, but outlook put in the > attachments. Sorry about > that. > > -Original Mes

Re: How ActionForm Populate Form Variables

2002-07-10 Thread Craig R. McClanahan
On Sun, 10 Feb 2002, Kasinath wrote: > Date: Sun, 10 Feb 2002 16:03:19 - > From: Kasinath <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > Kasinath <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: How ActionForm Populate

RE: can i create a tree structure using struts????

2002-07-10 Thread Jacob Hookom
How would I go about setting up or running a profiler? Is there a link you could point me to? Thanks, Jake -Original Message- From: Jason Rosen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 10:41 AM To: 'Struts Users Mailing List' Subject: RE: can i create a tree structure

Struts architecture performance

2002-07-10 Thread pierre jauffret
We are looking for a proved web architecture that can support a billion pages call per month. We heard about Struts, and we would like to know if the struts architecture based on 1 Servlet Controler(MVC) is better than a classical architecture based on several Servlets(MVC also): and for wha

RE: FW: Checkbox Issues

2002-07-10 Thread Kamholz, Keith (corp-staff) USX
Thanks a lot for the help. I'll have to check with my boss about going to 1.1, or maybe I'll make an action that forwards to the jsp. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 12:34 PM

[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: For additional commands, e-mail:

Tiles 'getAsString' in included Tile

2002-07-10 Thread Jerry Jalenak
I'm getting an error when I try to use inside my 'header.jsp'. My template looks like this: Header has the following:

Re: RE : [ANNOUNCE] Struts Console v2.0 Problem with roles attribute in Struts-Config.xml

2002-07-10 Thread James Holmes
The roles attribute was added to the Struts 1.1 DTD on June 28, 2002 and thus will only work for nightly builds after that. If you are trying to use the roles attribute with 1.1b1 or nightly builds before June 29 it will not work. There have been many changes to the DTD for 1.1 since it is still

RE : [ANNOUNCE] Struts Console v2.0 Problem with roles attribute in Struts-Config.xml

2002-07-10 Thread Jean-François Brassard
Hi James, You add roles attributes for struts-config.xml 1.1 but when i compile a found this errors: - Parse Error at line 43 column 138: : XML-0137: (Error) Attribute 'roles' used but not declared. org.xml.sax.SAXParseException: : XML-0137: (Error) Attribute 'roles' used but not declared.

RE: Struts 1.0.2 errors

2002-07-10 Thread Schneider, Eric
Sorry Craig, Unfortunately, there aren't any errors that are generated. Here's an example of what I've been running into: I invoke an action that creates an ActionForm and forwards it to a form page. Within the form tags I have a hidden value named artistName. Now, if I misspell the value f

Re: Struts 1.0.2 errors

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, Schneider, Eric wrote: > Date: Wed, 10 Jul 2002 06:39:54 -0600 > From: "Schneider, Eric" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: Struts 1.0.2 errors > > Hi, > > Maybe I'm

Re: FW: Checkbox Issues

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, Kamholz, Keith (corp-staff) USX wrote: > Date: Wed, 10 Jul 2002 08:35:06 -0400 > From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "Struts (E-mail)" <[EMAIL PROTECTED]> > Subject: FW: Checkbox Iss

VIRUS WARNING [RE: [ARTICLE] How Do I Use Jakarta Struts With JDeveloper]

2002-07-10 Thread brhoads
Delete the attachments in my previous message. I got it bounced back from others saying it had a virus. I just did a send link, but outlook put in the attachments. Sorry about that. -Original Message- From: Brad Rhoads [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 11:19 AM

Re: ActionServlet question

2002-07-10 Thread Craig R. McClanahan
On Wed, 10 Jul 2002, rainer juenger wrote: > Date: Wed, 10 Jul 2002 12:08:48 +0200 > From: rainer juenger <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: ActionServlet question > > Hi Craig, > > > >

RE: Problem with form submission

2002-07-10 Thread Nilan Shakya
Thank you James. I am still not sure where to put saveToken(request) and isTokenValid(request, true) is not taking. It is not accepting as valid method. I am hoping that you will give me some clue for that. Thank you, Nilan -Original Message- From: James Mitchell [mailto:[EMAIL PROTEC

[ARTICLE] How Do I Use Jakarta Struts With JDeveloper

2002-07-10 Thread Brad Rhoads
Struts and Oracle9i JDeveloper Here's a cool new article with detailed instructions on how to configure and use the Jakarta Struts open source Model-View-Controller framework with Oracle9i JDeveloper. http://otn.oracle.com/products/jdev/howtos/jsp/StrutsHowTo.html How Do I Use Jakarta Strut

Re: [ARTICLE] Issues in Struts Adoption

2002-07-10 Thread Craig R. McClanahan
NOTE: It is considered polite to start a new thread (by sending a new message instead of replying), with a different subject, when you want to ask a different question. On Wed, 10 Jul 2002, Phani wrote: > Date: Wed, 10 Jul 2002 11:05:41 +0530 > From: Phani <[EMAIL PROTECTED]> > Reply-To: Struts

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

2002-07-10 Thread Robert Taylor
Thanks William. I'll give it a go. robert > -Original Message- > From: William W [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 11:46 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: [ANN] Chapter 11 of the O'Reilly Struts book now available > > > Hi Rober

Re: Struts dependencies

2002-07-10 Thread Craig R. McClanahan
Nightly builds of Struts are always compiled from the latest source code in CVS -- both for Struts itself and for all of the commons-x dependencies. There are definitely features and bugfixes in the commons libraries that the current code in Struts depends on. The only exception for Apache c

RE: can i create a tree structure using struts????

2002-07-10 Thread Martin Cooper
Arron must be on vacation. Otherwise, he wouldn't pass up an opportunity to plug his Tree tutorials using the Struts nested tags. ;-) So I'll plug it for him: http://www.keyboardmonkey.com/pilotlight/index.jsp?content=yesplease -- Martin Cooper > -Original Message- > From: Phani [mailt

RE: Controller UML class diagram (HTML version)

2002-07-10 Thread Heligon Sandra
Emmanuel has given me advices that are very interesting. 1. It is better to add new unit to have java classes like servlet (use the files.cat in the directory C:\Program Files\Rational\Rose\framework\frameworks\shared components\j2ee_servlet.cat). 2. For Struts class it is better to do a reverse

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

2002-07-10 Thread William W
Hi Chuck, Sorry for my mistake. I will send you my sugestion. William. >From: Chuck Cavaness <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Re: [ANN] Chapter 11 of the O'Reilly Struts book now avail

RE: Migration from 1.0.2 to 1.1

2002-07-10 Thread Martin Cooper
Depending on why you were subclassing ActionServlet in Struts 1.0.2, you may find that you don't need to do so in Struts 1.1. Or, you can subclass RequestProcessor instead, or use a PlugIn to do what you need. If you can tell us more about why you needed to subclass in 1.0.2, we should be able to

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

2002-07-10 Thread William W
Hi Robert, I don't know if this is the best but it is doing the job. My solution : I did a class MyValidator with two methods (verifyMethod and validateRequired) --- private static boolean verifyMethod( Object bean, ValidatorAction va, Field field, ActionErrors errors,

RE: Controller UML class diagram

2002-07-10 Thread Martin Cooper
FYI, if you pick up the latest nightly build of Struts, you'll find UML diagrams for all of the packages in Struts. -- Martin Cooper > -Original Message- > From: Heligon Sandra [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 6:02 AM > To: '[EMAIL PROTECTED]' > Subject: Contr

RE: Does anyone have something to dump a sessions contents in a J SP?

2002-07-10 Thread Susmita Pati
Works like a charm Thanks susmita -Original Message- From: Bartley, Chris P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 11:33 AM To: 'Struts Users Mailing List' Subject: RE: Does anyone have something to dump a sessions contents in a J SP? I include the attached file immed

RE: can i create a tree structure using struts????

2002-07-10 Thread Jason Rosen
You may want to try using a Java profiler to see what objects you have instatiated at a given time and how much memory each uses. You may be able to find objects that still have references (not available for garbage collection), but are no longer used by your app, thus hogging memory and causing

Re: Controller UML class diagram (HTML version)

2002-07-10 Thread emmanuel.boudrant
Here a version more readable, in HTML. Please do not reply with attachement, my yahoo account is going to explode ;) -Emmanuel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com S

RE: Struts dependencies

2002-07-10 Thread Martin Cooper
There was an extensive discussion about this on the commons-dev list a while ago. One of the problems with putting the version number in the name is that people have to change their build files to pick up an upgrade. The solution agreed upon, if I remember correctly, was to put the version number

RE: Struts dependencies

2002-07-10 Thread Martin Cooper
> -Original Message- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 4:33 AM > To: Struts-Dev (E-mail); Struts Users Mailing List (E-mail) > Subject: Struts dependencies > > > Hi guys. > > I downloaded the last nighty build of struts. > > I would li

RE: Does anyone have something to dump a sessions contents in a JSP?

2002-07-10 Thread Bartley, Chris P
I include the attached file immediately before the closing tag, like this: ... It displays all request parameters and the contents of the request, session, and application scopes. It's one giant ugly hack of a scriptlet, but works great for what i need. ;) Enjoy. chris >

Re: why is better mapping /do/* than *.do

2002-07-10 Thread Andy Lewis
I've tried a variety of different mappings, and one of th e things I encountered that bothers me is that Struts (at least the released version) doesn't deal well if your URLs contain no "." Any suggestions for that? (I'm fairly new to Struts, so this might be a stupid quesiton) > One argument

RE: Does anyone have something to dump a sessions contents in a JSP?

2002-07-10 Thread Fabien Modoux
If you are using Log4j, the Log Tag library (http://jakarta.apache.org/taglibs/doc/log-doc/intro.html) from the Jakarta Taglibs project has "dump" tag that displays all variables in the specified scope (http://jakarta.apache.org/taglibs/doc/log-doc/index.html#dump) Hope this helps, Fabien -

Re: Switching the locale(language)

2002-07-10 Thread Marco Maier
see also http://www.mail-archive.com/struts-user@jakarta.apache.org/msg30863.html Marco Jon.Ridgway wrote: > Hi All, > > Ok more info, I'v tried this and it's of the top of my head so... > > Add some JavaScript similar to this... > > >