[OT] RE: J2EE certified

2003-08-16 Thread Micael
This discussion has gotten a little wonky. Let me suggest you add [OT] to this stuff. At 02:09 AM 8/16/2003 +0400, message message wrote: Also if somebody logged on Sun Microsystems' mailing list using tomcat or JBOSS, I guess he/she would be treated some hostility because he could write

Re: [OT] RE: J2EE certified

2003-08-16 Thread Alen Ribic
Just create a noise box and dump things like this in it. Does the job well. ;) Subjects aint standardised anyway. Some read [OT] other [OFF TOPIC], [???nothing???], etc. I can't really filter this so I just read first 1 or two threads and decide if it's relevant info to the reason I subscribed to

RE: Deployment of Struts App in Linux/Tomcat

2003-08-16 Thread Sachin
Hi, I am hosting Struts Application on Linux.I Think what you are missing is some jar files which are different in Linux as compare to Struts Distribution of Windows.So changes jar files with Struts distribution of Linux.. I am just guessing because my colleage did this when deploying On

Re: Form prepopulation, validation and reset

2003-08-16 Thread Craig M
Well, let me try to explain the scenario that I am trying and maybe that will help. This is a tasking system that I'm developing with Struts to help me learn the framework. I have a TaskDetailAction, a CreateTaskAction and a SaveTaskAction. I'm trying to share an ActionForm named TaskForm with

Re: [OT] RE: J2EE certified

2003-08-16 Thread message message
There is nothing wonky here apart from your postings. A discussion is going on about verify applications and the consequences. I hardly consider you to be qualified to express an opinion on my posting. To make comments or express opinions about my postings is a qualification you gave yourself

Re: Problem switching to Struts 1.1 from 1.1b3

2003-08-16 Thread Marco Tedone
I am assuming you have : 1) Recompiled all jars that depend on struts with the jars that came with struts 1.1 final. 2) You have updated all *.tld and *.xml files with their new struts versions. 3) Made sure that when you deploy that its deployed with all the new jars. 4) To make sure your

Re: [OT] RE: J2EE certified

2003-08-16 Thread message message
I should also inform you that I am writing my own product that includes marketing. It is none of your business what the product is. From: message message [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [OT] RE: J2EE certified Date: Sat, 16

Problems switching to Struts 1.1

2003-08-16 Thread Marco Tedone
I tried also with rc1 (it works) and rc2 (it doesn't work). The reason must be some major changes between rc1 and rc2. Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] RE: J2EE certified

2003-08-16 Thread Adam Hardy
Before you guys on this thread go really overboard with tit-for-tat arguments, perhaps you should consider whether that type of discussion fits in on a list where people are on first name terms, helpfulness and consideration are the order of the day, and secretiveness is generally considered

[FRIDAY] Free book on free software

2003-08-16 Thread Kiran Kumar.M
http://www.oreilly.com/openbook/freedom/ Kiran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: get data source in servlet

2003-08-16 Thread Paul Thomas
On 15/08/2003 15:59 Ashish Kulkarni wrote: Hi, I am using struts 1.1 and have defined a data source for connection pooling, in my Action class i get the data source by using simple DataSource dataSourceA = getDataSource(request, A); Connection myConnection = dataSourceA.getConnection(); But now

Re: Handling Data Submission and Prepopulation

2003-08-16 Thread Paul Thomas
On 15/08/2003 15:08 Paul Martin (Developer NLW) wrote: There is various advice to not chain Action classes. However, say have 2 pages, page A that when submitted leads on to page B, and want to prepopulate B. Should the prepopulation of page B, done by prepopulating it's associated ActionForm

Re: where is JSESSIONID?

2003-08-16 Thread Adolfo Miguelez
I have also wondered the same question many times. I assume in browser's memory you mean. Good. Is there any way to access it from the client code, javascript or related stuff? I my understanding cookies are stored in browser's machine hard disk. Is this cookie for session an exception? I

Required Template Variables

2003-08-16 Thread Met @ Uber
I have about 10 variables that I need assigned to every single template. Most of them come from a database or XML file. Is there a way to do this without hard coding them into each and every action? Like perhaps the class that deals with my action forward could gather them? Any suggestions

RE: where is JSESSIONID?

2003-08-16 Thread Hue Holleran
If you wish to see struts' cookies in the browser - then the easiest way is to use Mozilla (http://www.mozilla.org/). After browsing your struts app then use the following mechanism to find the cookie that is being used: Moz: Edit... Preferences... Privacy Security / Cookies Select Manage Stored

Re: How to work with DispatchAction ?

2003-08-16 Thread Sgarlata Matt
Erez Efrati wrote: I am trying to work with the DispatchAction that everybody is saying is such a good type of action. Say I have a 'RegAction' sub-classing DispatchAction with the following methods: edit, create, and save. I use html:link page=/reg.do?method='edit' / to go into edit. My

Re: Problems switching to Struts 1.1

2003-08-16 Thread Sgarlata Matt
1.1 Final is out... why not work with that instead of rc2? Matt Marco Tedone wrote: I tried also with rc1 (it works) and rc2 (it doesn't work). The reason must be some major changes between rc1 and rc2. Marco - To

Re: Required Template Variables

2003-08-16 Thread Sgarlata Matt
I'm not sure exactly what you are trying to do, but I have 2 different ideas you can choose from: 1) Subclass the Action class to do this for you, and have all of your Action classes extend from this new subclass. 2) Store this information in the session so you don't have to pass it back and

Re: From prepopulation, validation and reset

2003-08-16 Thread Sgarlata Matt
Hi Craig, I've actually never used the validate() method at all. Instead, I set up a DispatchAction with 3 methods (add, edit, save) and 2 forwards (viewForm, and viewDetails). When the input validation fails in the save method, the user is forwarded to the viewForm forward. When the user

Re: [OT] RE: J2EE certified

2003-08-16 Thread Craig R. McClanahan
On Sat, 16 Aug 2003, Adam Hardy wrote: Before you guys on this thread go really overboard with tit-for-tat arguments, perhaps you should consider whether that type of discussion fits in on a list where people are on first name terms, helpfulness and consideration are the order of the day,

Subject: Re: Problems switching to Struts 1.1

2003-08-16 Thread Marco Tedone
1.1 Final is out... why not work with that instead of rc2? Matt Marco Tedone wrote: I tried also with rc1 (it works) and rc2 (it doesn't work). The reason must be some major changes between rc1 and rc2. Marco Probably you missed my previous posts when I said that I already tried with

[validator] currency values and datatypes

2003-08-16 Thread Matt Raible
I'm developing an application that has a bunch of dollar amount fields. I want to validate my design, as well as ask a couple of questions. It's not an internationalized application, so I'm using Double for my data types in my POJOs - which translates to a double in MySQL (when using

RE: How to work with DispatchAction ? (please help)

2003-08-16 Thread Erez Efrati
Matt, thanks for replying, I almost though I'd never see one.. :-) I've really ran into a wall but somehow got out of it, still I am not really happy with the solution which is by the way close to what you described. I still would appreciate your help here: I have the 'method' field on my

Re: How to work with DispatchAction ? (please help)

2003-08-16 Thread Sgarlata Matt
Erez Efrati wrote: Matt, thanks for replying, I almost though I'd never see one.. :-) I've really ran into a wall but somehow got out of it, still I am not really happy with the solution which is by the way close to what you described. I still would appreciate your help here: I have the 'method'

RE: How to work with DispatchAction ? (please help)

2003-08-16 Thread Erez Efrati
Yes I see how it helps avoid extra parameter. I am using EJB and I don't think there will be any problem with checking the record id. I will try it and see how goes. Just for the sake of it I must say that Wizard is a real pain. Especially when you try to reuse those pages for updating - it's a

static javascript

2003-08-16 Thread Erez Efrati
I am doing the following: but I don't get the static script in my pages. What am I doing wrong? JSP: html-el:javascript formName=signupForm dynamicJavascript=true staticJavascript=false page=1 / script language=Javascript1.1

RE: persisting session id

2003-08-16 Thread Hue Holleran
Well, one option I can think of would be to send a non-per session cookie (with an EXPIRES attribute) - you probably will need to disable tomcat from sending cookies as sending 2 JSESSIONID cookies will probably confuse the browser! (this is configured in Tomcat with cookies=false attribute in the

Cleaning Sessions (was: How to work with DispatchAction ?)

2003-08-16 Thread Sgarlata Matt
Erez Efrati wrote: Yes I see how it helps avoid extra parameter. I am using EJB and I don't think there will be any problem with checking the record id. I will try it and see how goes. Just for the sake of it I must say that Wizard is a real pain. Especially when you try to reuse those pages for

Re: DynaActionForm and nesting

2003-08-16 Thread Mark Lowe
I've got this working using ArrayList .. I couldn't imagine how arrays would allow the resizing.. I could be wrong, but I can tell you it works for sure with arrayList.. Cheers Mark On Friday, August 15, 2003, at 09:53 PM, Hary wrote: --- Hary [EMAIL PROTECTED] wrote: Hi, I am trying to build

Thank you

2003-08-16 Thread David Thielen
Hi; I spent this last week learning struts and implementing my first site using it. And I just wanted to say thank you to everyone who helped me. thanks - dave

Re: PropertyMessageResources - have I outgrown it?

2003-08-16 Thread James Mitchell
You might also have a look at OJB. There is a DBMessageResources which allows you to swap out your properties files for a database table. The underlying data access is handled via OJB. This extension fully supports multiple keyed bundles and modules. It is open source and you can find it here:

Re: [validator] currency values and datatypes

2003-08-16 Thread Robert Leland
Matt Raible wrote: First question - Should I be using Floats or Doubles? Well Javascript has something it call float but no double. I don't know what the precision is but as you noticed validator only has a validateFloat() JS function. Robert Leland [EMAIL PROTECTED]

bean:define primitive type?

2003-08-16 Thread Lukas Bradley
Is there any way to have a primitive type be defined by a bean:define tag? The following does not work. bean:define id=catSelected name=form.admin.category property=selected type=int/ neither does bean:define id=catSelected name=form.admin.category property=selected type=java.lang.Integer.TYPE/

Re: bean:define primitive type?

2003-08-16 Thread Lukas Bradley
I apologize. I searched exactly too little. Retrieve the value of a specified bean property, and define it as an attribute (in the scope specified by the toScope property) accessible to the remainder of the current page. No type conversion is performed on the returned property value, unless it

Re: bean:define primitive type?

2003-08-16 Thread Craig R. McClanahan
On Sat, 16 Aug 2003, Lukas Bradley wrote: Date: Sat, 16 Aug 2003 22:26:20 -0400 From: Lukas Bradley [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: bean:define primitive type? Is there any way to have a primitive type be defined by a

Re: two-step container managed authentication

2003-08-16 Thread Erik Price
Hi John, thanks for responding. I think that what I will do (if I ever get to that stage of this project, right now I'm still working on domain layer), is use CMA via JNDI (JNDIRealm) to authenticate against LDAP. Then, if the authentication proves successful, the HTTP request continues to

getDataSource compile Error

2003-08-16 Thread Lynda Brown
Anyone have any ideas why getDataSource(request) would not be able to compile. I am using j2sdk1.4.1_03, struts1.1, and jwsdp1.2. I have one computer with this set up and runs with no problems, and when I tried to duplicate the enviornment on another computer I get thecannot resolve symbol