RE: first action

2003-01-10 Thread Emmanuel Bridonneau
- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 6:55 PM To: Emmanuel Bridonneau Subject: Re: first action great, thanks. how do you declare it in the web.xml? Emmanuel Bridonneau wrote: You usually want to do this whilst initializing you app. In this case, simple

RE: first action

2003-01-09 Thread Emmanuel Bridonneau
You usually want to do this whilst initializing you app. In this case, simple and pretty much standard would be to write a servlet (generic if you don't want to be tied to http) as part of your web-app. All you do is implement its init() method and declare it in your web.xml. Only once init is

RE: Illegal target of jump or branch w/Tomcat

2002-11-21 Thread Emmanuel Bridonneau
: Wednesday, November 20, 2002 2:04 PM To: Struts Users Mailing List Subject: Re: Illegal target of jump or branch w/Tomcat On Wed, 20 Nov 2002, Emmanuel Bridonneau wrote: Date: Wed, 20 Nov 2002 12:30:27 -0800 From: Emmanuel Bridonneau [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

Illegal target of jump or branch w/Tomcat

2002-11-20 Thread Emmanuel Bridonneau
Some double talk, so I ran into this JVM exeption after switching from the oh you're too expensive for me Weblogic to you're great for a free software JBoss. Turns out that Tomcat (used in conjunction w/JBoss) has a 64kb limitation whilst generating the servlet code from a JSP. I intend to

RE: Entity Usage

2002-10-10 Thread Emmanuel Bridonneau
Even a basic cvs source code management system merges files more than adequatly. If you run into conflicts so often that you find cumbersome to use only one single struts_config file is more the result of your frustrastion with your in-house process than with Struts approach itself. In a sense

page scope vs. request scope

2002-08-02 Thread Emmanuel Bridonneau
If I have the choice I sure imagine it is better to store reference to a bean within the page rather than the request. I don't know why? or how much of a performance gain it is even in a mass clustered environment. Anyone to share their thoughts on that point? Emmanuel -- To unsubscribe,

how to localize Struts framework?

2002-07-23 Thread Emmanuel Bridonneau
My issue is regarding configuring the Struts framework unlike configuring an application using Struts. The Struts jar files include messageResource files for localizing the error messages thrown by the framework. These files are called LocalString.properties. The only implementation of these

extending struts model

2002-07-17 Thread Emmanuel Bridonneau
Using Struts as the base for a IU framework I come to think that one of the (best) place to start extending Struts is through its configuration file. This approach uses existing foundation components and extend them. I want to extend the dtd so as to pass more information to build the

jsp inside WEB-INF

2002-05-06 Thread Emmanuel Bridonneau
Some of you participated in an interested thread about whether to put jsp's inside WEB-INF some 3 weeks ago. I am trying to do this using a JBoss/catalina environment with no vail. So I have these 2 js pages that refer to each other i.e Page1 links to page2 and vice-versa. the global-forwards

RE: jsp inside WEB-INF

2002-05-06 Thread Emmanuel Bridonneau
/action.do (or whatever you picked) or Are you trying to link from one jsp to another without going through your action mappings? JM -Original Message- From: Emmanuel Bridonneau [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 5:43 PM To: 'Struts Users Mailing List' (E-mail

RE: jsp inside WEB-INF

2002-05-06 Thread Emmanuel Bridonneau
for more details. JM -Original Message- From: Emmanuel Bridonneau [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 6:06 PM To: Struts Users Mailing List Subject: RE: jsp inside WEB-INF Yes there is no Page1.do but just page1 reference. The two pages are rather dummy

synchronizing access to instance var. on action

2002-05-03 Thread Emmanuel Bridonneau
I have a doubt, I have some action classes that perform various things depending upon some context. Such a context is passed in as a URL param as in html:link page=/gateKeeperAction.do?method=bidStarted Am i to synchronized on 'method' instance variable of the action? -- To unsubscribe,

RE: Semantics

2002-04-30 Thread Emmanuel Bridonneau
This is basically the way what I tend to classify them. I also use either the business bean or when it's more of a convenience/pattern I also deal with facade beans (note that ActionForm is a facade bean). From that on, I guess that some may also deal with Value beans and so forth... cheers.

best way for rendering a collection

2002-04-26 Thread Emmanuel Bridonneau
hi all, a collection of beans needs be rendered on a form page. I'd like to iterate through this collection and display all items (properties and picture) in a table. Ideally, I'd like to have 3 items displayed per line hence 3td per tr. Obviously, I make no assumptions in the number of items in

puzzled with id

2002-04-25 Thread Emmanuel Bridonneau
hi all, Like all developers, I am trying to figure out why things aren't happening. my jsp uses an iterate tag. logic:iterate id=item name=submitForm property=goods td valign=topbgood description:bean:write name=item property=good.description//b /logic:iterate I assume item is a local variable

RE: puzzled with id

2002-04-25 Thread Emmanuel Bridonneau
to render one atomic field only from item as in: bean:write name=item property=sku / with same resulting exception. I can't figure out why 'item' is out of scope -Original Message- From: Kipnis, Adam [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 12:11 PM To: Emmanuel Bridonneau

RE: puzzled with id

2002-04-25 Thread Emmanuel Bridonneau
not shout for a different type of exception? It is more of an error than a runtime exception. -Original Message- From: Emmanuel Bridonneau Sent: Thursday, April 25, 2002 12:33 PM To: 'Struts Users Mailing List' (E-mail) Subject: RE: puzzled with id Good point but that is the intended

RE: how to i18n images?

2002-04-12 Thread Emmanuel Bridonneau
, 2002 9:44 AM To: Struts Users Mailing List Subject: RE: how to i18n images? I just wrote a small servlet that does exactly this - pass in image to use and (internationalized) text to write on it, and Bob's your Uncle!! Dave Emmanuel Bridonneau [EMAIL PROTECTED] on 04/11/2002 09:05:10 PM

question about handling requests

2002-04-11 Thread Emmanuel Bridonneau
Hello all, I am confused with Struts' way of handling requests and controlling the flow. Say I have one form that handles 3 types of user events: either the user submit her form (submit btn), either she cancels her work or she wants to preview the result of her work. Suppose the actionForm

RE: how to i18n images?

2002-04-11 Thread Emmanuel Bridonneau
PROTECTED]] Sent: Thursday, April 11, 2002 5:05 PM To: Emmanuel Bridonneau Cc: Struts Users Mailing List Subject: RE: how to i18n images? Here's what I did to internationalise a logo image for english french and spanish versions: 1 Created/acquired images logo.gif, logo_fr.gif, logo_es.gif, etc