Re: spontaneous disappering ApplicationResources.properties

2004-02-22 Thread Mark Lowe
Ah.. I remember giving eclipse a go, and it ate my homework also. My guess is that it get you producing at such supersonic rates that the files just ant keep up. :o) sorry I've nothing useful to add. On 21 Feb 2004, at 20:45, [EMAIL PROTECTED] wrote: Hi list, I have a weird problem with all

Re: Tile, Action and Form

2004-02-22 Thread Adam Hardy
On 02/21/2004 02:07 PM Esteban Forzani wrote: Hi, using Tiles and Struts I would like to know if is it possible have two tiles in the same page with two action and formbean. The tile1 asociatted with action1 and form1 and the tile2 asociatted with action2 and form2. How I can inicialize the

Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-22 Thread Adam Hardy
On 02/22/2004 05:40 AM Mark Jones wrote: My application allows a user to make various different types of bookings for a (fictional!!!) hospital and logs them in a database. Each type of booking has a set of common properties but also different ones depending on the type of booking being made. I

Log4J configuration -- Regarding

2004-02-22 Thread Vasudevrao Gupta
Hi All, I am trying to configure Log4j to your application.I am trying to configure with Log4j1.2.8 using xml file. I am getting the below error: [2/23/04 20:34:12:719 IST] 105af116 SystemErr R log4j:ERROR Could not parse input source [EMAIL PROTECTED] [2/23/04 20:34:12:719 IST] 105af116

RE: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-22 Thread Matthias Wessendorf
Hi Mark, like Adam said, i also have one super-action-class :-) i declare it as abstract an implement execute()-methode form Action inside execute(), i call an abstract methode (e.g. doExecute()) so our ActionServlet(it´s RequestProcessor...) calls execute() and every subclassed doExecute().

Re: Log4J configuration -- Regarding

2004-02-22 Thread Richard Yee
Send your log4j config file so we can take a look at it. -R At 07:08 AM 2/23/2004, you wrote: Hi All, I am trying to configure Log4j to your application.I am trying to configure with Log4j1.2.8 using xml file. I am getting the below error: [2/23/04 20:34:12:719 IST] 105af116 SystemErr R

Re: How to create a No Action ActionForward

2004-02-22 Thread James Adams
I think Srikanth has hit the nail on the head, in that I am not fully utilizing what is already available with vanilla J2EE, namely security roles, authorization constraints, and error pages, all of which I can declare in the deployment descriptor of my web app. But I still want to use a Struts

How to avoid bean:writeto print null on the screen

2004-02-22 Thread anant.parnami
Hi, I am using bean:write in a lot of places in my jsp's, Whenever the form bean property is null It prints null on the screen, I was hoping if there could be some way in which I can force all null values to be printed as in my jsp's. I have tried giving initial= in my form property but If my

RE: How to create a No Action ActionForward

2004-02-22 Thread Jacqueline Gomes
Hi James, I was also trying to do the same thing, however, we are using JRun and we don't have any user 'roles'. Specifically, I wanted the container to do the authorisation i.e if a user tried to access any pages after blah blah/admin/* then they would be redirected to the login page if

RE: ActionForms Thread Safe

2004-02-22 Thread Andrew Hill
snip If this is case then ActionForm are not thread-safe. Because Two request from different client can simultaneous come in and use the same ActionForm instance? I know this is not the case, but I cannot figure out how is it thread safe? /snip Actually it is the case! - but only in certain

RE: multiple records in one form

2004-02-22 Thread Andrew Hill
Nested beans are your friend. Follow the monkey http://www.keyboardmonkey.com/next/index.jsp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, 21 February 2004 22:16 To: [EMAIL PROTECTED] Subject: multiple records in one form Hi List, I would like

%= problem

2004-02-22 Thread Dixit, Shashank (Cognizant)
Title: %= problem Hi all I am using Tomcat 4.0 plugged in Eclipse 2.1 In any jsp I cannot use %= .. % i.e. JSP _expression_. E.g if I define %! String var = Anyvar % And html:select name=form property=subProduct value='%= var %' OR html:select name=form property=subProduct

Re: How to create a No Action ActionForward

2004-02-22 Thread Carl
I've faced the same issue too. (using tomcat) To solve it I've found 2 options : - implement a filter witch intercept each request an redirect if needed to the struts login action. It allow a good interaction with struts but no securty by container. - use the container : I do that by adding a

Re: %= problem

2004-02-22 Thread Carl
Have you try : % String var = Anyvar; % AND html:select name=form property=subProduct value=%=var % or html:select name=form property=subProduct value='%=var %' without the space before 'var' ? Carl Dixit, Shashank (Cognizant) wrote: Hi all I am using Tomcat 4.0 plugged in Eclipse