RE: How to create checkboxe within an iterator tag.

2003-06-27 Thread Thamarajah Dharma
thank u very much r sasi -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:53 AM To: Struts Users Mailing List Subject: Re: How to create checkboxe within an iterator tag. Hi kindly look at the dumps from my struts application which will

Re: Struts/Jboss 3.2.x

2003-06-27 Thread Konstadinis Euaggelos
I haven't face any problem, V. - Original Message - From: Buics [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 1:27 AM Subject: Struts/Jboss 3.2.x Is there any incompatibility issues between struts 1.1 and jboss 3.2.x? TIA, buics

Deprecation of perform()

2003-06-27 Thread Simon Kelly
Hi all, In Struts-1.1-rc2, I'm getting an warning during compilation that the perform() method has been depreciated. I was under the impression that execute() had been depreciated in fafour of perform(). Could someone comment please. Thanks Simon I have often wondered how it is that every

RE: How to Disable Checkbox in Struts

2003-06-27 Thread Filip Polsakiewicz
use html:checkbox ... disabled=true / HTH Filip -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 6:40 AM To: [EMAIL PROTECTED] Subject: How to Disable Checkbox in Struts Iam displaying checkbox option in 1st jsp and leaving user to

Re: Deprecation of perform()

2003-06-27 Thread Dirk Markert
Hello Simon, *** SK Hi all, SK In Struts-1.1-rc2, I'm getting an warning during compilation that the SK perform() method has been depreciated. I was under the impression that SK execute() had been depreciated in fafour of

RE: Struts/Jboss 3.2.x

2003-06-27 Thread Nimish Chourey , Tidel Park - Chennai
Is anybody using JASS with JBOSS .. -Original Message- From: Konstadinis Euaggelos [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 1:32 PM To: Struts Users Mailing List Subject: Re: Struts/Jboss 3.2.x I haven't face any problem, V. - Original Message - From: Buics

How I can format a date to display

2003-06-27 Thread Marc BEGUIGNEAU
Hello, With Struts, I'm using Torque to access a database under Oracle 9. The result of a search in an array of bean (values object bean). This bean as an property witch is a date. When I iterate this array in my JSP page, the date are displaying under US format (year/month/day). To format the

[FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Andrew Hill
snip I have often wondered how it is that every man loves himself more than all the rest of men, but yet sets less value on his own opinion of himself than on the opinion of others. -- Georg Christoph Lichtenberg /snip Perhaps this is because love is based on idealism while opinion is more firmly

AW: bean:message and html tags in the propeties file.

2003-06-27 Thread Samuel . Opoku-Boadu
I am also experiencing the same problem. Were you able to solve it? Sam -Ursprüngliche Nachricht- Von: Michael Remijan [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2003 14:51 An: Struts Users Mailing List Betreff: bean:message and html tags in the propeties file. Hi list:

Re: Deprecation of perform()

2003-06-27 Thread Simon Kelly
Thanks Dirk, I had a little problem a while ago with this, during a change for release, where I had been using execute() which then failed to work moving upto 1.0.2. I switched to perform() and all was fine again. I'll give execute a go, and see hwat happens this time :-) Cheers, and thanks

Re: How I can format a date to display

2003-06-27 Thread ara
Hi,Marc. (B (Bi use my custom tag. (B (B!-- DateTag Definition -- (B tag (Bnamedate/name (Btagclassxx.yy.zz.view.taglibs.DateTag/tagclass (Bbodycontentempty/bodycontent (Binfoformat Data/info (Battribute (B namesourceDate/name (B

RE: How to Disable Checkbox in Struts

2003-06-27 Thread Prashanth.S
Hi filip, Thank u very much.I got that. Thanking u Prashanth Filip Polsakiewicz [EMAIL PROTECTED] wrote: use HTH Filip -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 6:40 AM To: [EMAIL PROTECTED] Subject: How to Disable Checkbox in

Re: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Simon Kelly
A really old German dude. I must change that quote as well. I've had it too long. Here's a thought. Below is a select of good quotes. Vote for your favorite! Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there. -- Josh Billings It is all

bean:define

2003-06-27 Thread Filip Polsakiewicz
Hi, i get the following error message in my jsp and i don't really understand why: Define tag can contain only one of name attribute, value attribute, or body content Now i use two define tags in my jsp: bean:define id=groupname scope=pagebean:write name=groupForm

Re: bean:define

2003-06-27 Thread Pramod . P
Hi, You are using both name and id tag. I guess, this gives the error. Thanks, Pramod Today is the first day for the rest of your life

Re: bean:define

2003-06-27 Thread Nicolas De Loof
if groupForm.getGroupname() returns null (or ) your first bean:define will have no body content, and will so have no value to assign to the bean to create. Nico. Hi, i get the following error message in my jsp and i don't really understand why: Define tag can contain only one of name

FileUpload w/ drag'n'drop

2003-06-27 Thread Filip Polsakiewicz
Hi, i was wondering if there is any way to accomplish the following: I'd like to place a container within my jsp and if a user drops a file (say from his desktop) into this container the file will be uploaded. Does anybody know if (and preferrably: how) this could work? Greetings from Germany,

RE: bean:define

2003-06-27 Thread Filip Polsakiewicz
-Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:34 AM To: Struts Users Mailing List Subject: Re: bean:define if groupForm.getGroupname() returns null (or ) your first bean:define will have no body content, and will so have no

Re: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Matthew Van Horn
my favorite is Dont be afraid to take a big step. You cant cross a chasm in two small jumps. -- David Lloyd George But the second Wright quote is wrong. Fox was not a network while he was alive. Left to their own devices, the three networks would televise live executions. [But not] Fox - theyd

Re: Struts/Jboss 3.2.x

2003-06-27 Thread Buics
Thank you so much for your reply. what are the necessary run time classes that needs to be included in the application. TIA, buics Konstadinis Euaggelos wrote: I haven't face any problem, V. - Original Message - From: Buics [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: Running Struts in Eclipse w/ Sysdeo Plugin: Digester Error on Startup

2003-06-27 Thread Sam Lai
I have exactly the same problem. Normally, I run all my Struts 1.02 project in eclipse by adding it to the Tomcat's classpath. Since 1.1rc1 release, I try to convert one of our app from 1.02 to 1.1 and I found out that I need to include the digester jar file in my project in order to compile

Re: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Simon Kelly
Your right. I pasted in one from the wrong bit of my quotes file. The second wright one I wanted was If it keeps up, man will atrophy all his limbs but the push-button finger Very apt for the current world ;-) Although saying that, I think this one may not be wright either. I'll just

displaying String[] in struts

2003-06-27 Thread Thamarajah Dharma
hi all. cud somebody tell how i can display contents in a string[] which i return from methodx. I was able to get it iterated to size of array, but i don't knw how to display the content in the array. any help will be greatly appreciated r sasi

RE: Struts/Jboss 3.2.x

2003-06-27 Thread Marco.Mistroni
HI, i have also a struts app running under jboss 3.2.1 jars that i have put in WEB-INF\lib are all the jars that u find in the lib directory of your struts distribution don't forget to put all the .tld that u find in the struts_dirlib in your WEB-INF directory of your app regards

Re: Struts/Jboss 3.2.x

2003-06-27 Thread Konstadinis Euaggelos
The jars that are in the lib directory of the Struts, There are two ways for this, 1. to put these jars in the server/default/lib directory, 2. second to put these jars in the lib directory you web-application WEB-INF/lib Vangos - Original Message - From: Buics [EMAIL PROTECTED] To:

a question about jsp-html-struts and images!!!

2003-06-27 Thread madcoders
hi I am a new member in JSP and I am working on a problem that while selecting an image from the browser(to upload it to a database) I want to show it in the jsp page meanwhile.Can I handle this by struts img tag or I must use javascript??Furthermore when I want to do this in HTML this is easy

RE: displaying String[] in struts

2003-06-27 Thread Filip Polsakiewicz
You could do the following logic:iterate id=mystrings ... bean:write name=mystrings /logic:iterate HTH Filip -Original Message- From: Thamarajah Dharma [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:30 AM To: struts (E-mail) Subject: displaying String[] in struts

java.net.ConnectException: Connection refused

2003-06-27 Thread Richard Raquepo
hi. i have a struts application that is perfectly running in resin and tomcat in my win2k PC. but then i put in our production server (debian linux) and i got this error: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused i can't connect to my

RE: displaying String[] in struts

2003-06-27 Thread Thamarajah Dharma
i got it.. r sasi -Original Message- From: Thamarajah Dharma Sent: Friday, June 27, 2003 1:30 PM To: struts (E-mail) Subject: displaying String[] in struts hi all. cud somebody tell how i can display contents in a string[] which i return from methodx. I was able to get it iterated to

Re: Anyone using SSLExt with Container Managed Security JAAS?

2003-06-27 Thread Raymond Penners
Mick Knutson wrote: It is the SSL struts plugin that helps add SSL on a per action basis. It sounds cool, but does seem to be working for me with JAAS. I posted yeasterday morning and still no responses. So, just wasted that past 1.5 days trying to get it to run. Oh well.Anyone got 5

Re: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Matthew Van Horn
My own favorite quote is: The greatest pleasure is to crush your enemies and drive them before you, to deprive them of their wealth and see the faces of those dear to them bathed in tears, to ride upon their horses and to sleep on the white bellies of their wives and daughters But it scares

Re: Struts/Jboss 3.2.x

2003-06-27 Thread Buics
Thank you for that . . Here's my setup ... My jboss and tomcat was installed in separate box. say .. jboss -- server_1 tomcat -- server_2 my problem is in the lookup part, javax.naming.NameNotFoundException: FinishedGoods not bound at

Re: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Simon Kelly
So Attila, who are things with your mongel horde? - Original Message - From: Matthew Van Horn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 10:30 AM Subject: Re: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()] My own

RE: java.net.ConnectException: Connection refused

2003-06-27 Thread Filip Polsakiewicz
I'm not sure but maybe you have to allow the connections first. check /etc/services if connections to port 3306 are allowed. And then you might check if connections to tomcat and your appserver are allowed. HTH Filip -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED]

RE: java.net.ConnectException: Connection refused

2003-06-27 Thread Filip Polsakiewicz
... and see if mysql on your production server allows connections to localhost. In my production enviroment mysql only allows connections to jdbc:mysql://hostname:3306/mydb -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 10:08 AM To:

RE: [FRIDAY] Lichtenberg quote [WAS: RE: Deprecation of perform()]

2003-06-27 Thread Andrew Hill
You know its funny but I cant actually recall seeing that on 'late night'... oh hang on - Wrong Conan! snip Mongol General: We have won again. That is good! But what is best in life? Mongol Warrior: The open steppe, fleet horse, falcon on your wrist, wind in your hair! Mongol General: Wrong!

date validation

2003-06-27 Thread Nagendra Kumar O V S
HI, can i validate a date field to be less than or greater than the current date using validator plug-in can anyone post the code here.. TIA --nagi Nagendra Kumar O V S Member Technical Staff Ikigo India Private Ltd.

Re: Struts/Jboss 3.2.x

2003-06-27 Thread Konstadinis Euaggelos
Probaly as i understand, you have your web application in Tomcat, and your backoffice application (EJBs, JavaBeans) in JBoss, 1. JBoss have an embedded Tomcat 4.1.24 you can use this. 2. If you want to use tomcat as an seperate servlet-cointainer , you must insert you client jars from

error handling

2003-06-27 Thread Pramod . P
Hi, Can anyone send me a solution for the following problem:

a question about jsp-html-struts and images(urgent)!!!

2003-06-27 Thread madcoders
hi I am a new member in JSP and I am working on a problem that while selecting an image from the browser(to upload it to a database) I want to show it in the jsp page meanwhile.Can I handle this by struts img tag or I must use javascript??Furthermore when I want to do this in HTML this is

Re: error handling

2003-06-27 Thread Prashanth.S
Hi pramod, you once thoroughly take a look at actionerror and actionerrors docs. If u want to route ur errors to the parent page, give the following statement in your action class. actionErrors.add(ActionErrors.GLOBAL_ERROR, new ActionError(errors.tx.incomplete)); saveErrors(request,

Cannot upgrade from struts rc1 to struts rc2 on weblogic 6.1 sp4

2003-06-27 Thread Denham, Martin
Hi, I have had lots of problems attempting to upgrade from struts rc1 to struts rc2 on weblogic 6.1sp4 and have all but given up. Has anybody else managed it? I simply dropped all the .jar files and .tld files over the previous ones and the result is always an error mesage on starting weblogic.

Re: error handling

2003-06-27 Thread Pramod . P
But by doing in this way, for the forward name=failure I will always end up in StatuicUpload.jsp (for the below example) I don't want to goto that jsp. I need to goto the parent page. Let me explain the scenario once again. From two different jsps (say a.jsp and b.jsp) I am coming to an action

AW: error handling

2003-06-27 Thread sem . Gottofrey
Hi Pramod, One solution would be to define two different action mapings as follows: action path = /MyActionFromMyFirstJsp type = mypackage.MyAction name = myFormBean

Re: error handling

2003-06-27 Thread Nicolas De Loof
But by doing in this way, for the forward name=failure I will always end up in StatuicUpload.jsp (for the below example) I don't want to goto that jsp. I need to goto the parent page. Let me explain the scenario once again. From two different jsps (say a.jsp and b.jsp) I am coming to an

Tiles Tab Link ?

2003-06-27 Thread Natalie D Rassmann
Hi, I have a Tiles Definition file that contains a tab layout. In the tab layout, I want to use actions as links rther than linking directly to jsp files. I can get this to work, my only problem is that the action I am linking to is a dispatchAction and I need to include that parameter on the

Re: error handling

2003-06-27 Thread Prashanth.S
ya I agree with nicolas.But is there any way of doing it typically THE STRUTS WAY??? cheers Prashanth Nicolas De Loof [EMAIL PROTECTED] wrote: But by doing in this way, for the forward name=failure I will always end up in StatuicUpload.jsp (for the below example) I don't want to goto that

Test Message!

2003-06-27 Thread manglu
Please Ignore! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Test Message!

2003-06-27 Thread Andrew Hill
Ignore what? I didnt see anything! -Original Message- From: manglu [mailto:[EMAIL PROTECTED] Sent: Saturday, 28 June 2003 05:51 To: [EMAIL PROTECTED] Subject: Test Message! Please Ignore! - To unsubscribe, e-mail:

Re: AW: error handling

2003-06-27 Thread Pramod . P
Thank you Robert. But, the mapping.getInputForward gives me an output like this: reached here...failure actionForward : ForwardConfig[name=null,path=null,redirect=false,contextRelative=false] But, by giving two mappings in the struts-config, I was able to solve the probelm for the time being.

Re: error handling

2003-06-27 Thread Pramod . P
Hi Nico, it is working by giving multiple action mappings. Thank you very much!!, Pramod Nicolas De

AW: AW: error handling

2003-06-27 Thread sem . Gottofrey
Hi Pramod, did you add the 'input' attribute to your mapping? If yes, I don't know what's wrong with it. I assume that you are using struts 1.1, are you? The 'old' way to do it was 'return new ActionForward(mapping.getInput())', I think. May be you could try this as well. Cheers Robert

bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Apologies for the x-post, I put this in the dev newsgroup by a mistake. Ben In this code excerpt I am defining a bean with bean:define. However, I want to conditionally change the value. According to the struts doc, bean:define either creates, or replaces a previous instance of the bean as

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread Sandeep Takhar
I don't think you can have it twice on the same page. You will have to try another way. sandeep --- [EMAIL PROTECTED] wrote: Apologies for the x-post, I put this in the dev newsgroup by a mistake. Ben In this code excerpt I am defining a bean with bean:define. However, I want to

Re: error handling

2003-06-27 Thread Sandeep Takhar
you will something in the session for this. I modified the workflow stuff to handle this situation. If a mapping has more than one path to it -- then you have to override default behaviour in order to get to the calling mapping. I am thinking now that it would have been easier to specify a

Re: Tiles Tab Link ?

2003-06-27 Thread Sandeep Takhar
I think that ParameterAction will take a parameter?? sandeep --- Natalie D Rassmann [EMAIL PROTECTED] wrote: Hi, I have a Tiles Definition file that contains a tab layout. In the tab layout, I want to use actions as links rther than linking directly to jsp files. I can get this to work,

Re: Cannot upgrade from struts rc1 to struts rc2 on weblogic 6.1 sp4

2003-06-27 Thread Sandeep Takhar
Do any of the jar files have '.' in them. More than one? Change the name... sandeep --- Denham, Martin [EMAIL PROTECTED] wrote: Hi, I have had lots of problems attempting to upgrade from struts rc1 to struts rc2 on weblogic 6.1sp4 and have all but given up. Has anybody else managed it?

Re: How I can format a date to display

2003-06-27 Thread Sandeep Takhar
there are c:fmt tags in el. I haven't used them though... sandeep --- ara [EMAIL PROTECTED] wrote: Hi,Marc. i use my custom tag. !-- DateTag Definition -- tag namedate/name tagclassxx.yy.zz.view.taglibs.DateTag/tagclass bodycontentempty/bodycontent

Re: URLs not escaped

2003-06-27 Thread Carl Walker
Use a href=c:out value=${url} escapeXml=false /.../a instead. Eric Jain wrote: The following JSP fragment jstl:url value=/view var=url jstl:param name=id value=1 / jstl:param name=format value=rdf / /jstl:url html:link href=${url}.../html:link generates a link with an

Re: How I can format a date to display

2003-06-27 Thread Kris Schneider
If you can use JSTL: c:forEach var=offerVO items=${offers} ... fmt:formatDate value=${offerVO.offerDate} pattern=dd/MM// ... /c:forEach Quoting Sandeep Takhar [EMAIL PROTECTED]: there are c:fmt tags in el. I haven't used them though... sandeep --- ara [EMAIL PROTECTED] wrote:

RE : Automatic redirect in jsp page?

2003-06-27 Thread Franck Lefebure
Hi, Something like logic:present name=sessionObjectjsp:forward page=index.jsp/logic:present But you should do also this check in actions -- Franck Lefebure -Message d'origine- De : Bjørn T Johansen [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 juin 2003 15:59 À : Struts Users

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Hi James, So what does the name portion of the bean:define actually do ( I've done the RTFM but I'm still confused ). Is the name the name of the value in pageContext() and id the scripting value on the jsp page? Thanks Ben James Mitchell [EMAIL PROTECTED] 27/06/2003 11:55 Please respond

tiles role

2003-06-27 Thread Pascal Sourisseau
hi, can i get role definition from tiles-def.xml file in layout jsp page ? in tiles-xml i've this .. definition name=common.menu.consul path=/layout/menu.jsp role=CONSUL put name=title value=Consultation / putList name=items item value=consultation -1 link=consult1 / item

RE: FileUpload w/ drag'n'drop

2003-06-27 Thread Bailey, Shane C.
I have never tried to use before but I have read a little about: www.droplets.com This technology may be what you are seeking. -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:38 AM To: Struts Users Mailinglist Subject: FileUpload w/

Re: AW: AW: error handling

2003-06-27 Thread Pramod . P
Excellent catch :-) in fact I forgot to put the 'input' attribute. Now everything is working fine!!! Thanks you very much Robert!!! Today is the first day for the rest of your life

RE: [FRIDAY] Lichtenberg quote...

2003-06-27 Thread Hibbs, David
The one below is my favorite of those you listed, but I have my own favorite as well... Any program contains at least one bug and can be shortened by at least one instruction. Therefore, by induction, any program may be reduced to one statement which will not work. --Unknown I'm sure at least a

another DTO architecture design issue

2003-06-27 Thread Adam Hardy
OK, I've got an app where the business tier passes DTOs, whether from an EJB facade or plain factory classes, to the struts actions, which in some cases uses them as nested beans, or in other actions transmogrifies them into a DynaActionForm. Now I'm adding a section where I will output the

RE: [OT] SecurityFilter Question was RE: Looking for ideas for action servlet checking for logged in user.

2003-06-27 Thread Bailey, Shane C.
Thanks for the response. For my lack of knowledge, I understand the concept of realm but why is there a separate JDBC realm? Is this so you can have each user have a login to the database (essentially) instead of everyone using the same DB login to do datastore transactions? -Original

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread James Mitchell
On Friday 27 June 2003 09:26, [EMAIL PROTECTED] wrote: Hi James, So what does the name portion of the bean:define actually do ( I've done the RTFM but I'm still confused ). Is the name the name of the value in pageContext() and id the scripting value on the jsp page? I know, the docs can be

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Thanks James, Thanks for the tips, I'm really trying to do things the right way! -b James Mitchell [EMAIL PROTECTED] 27/06/2003 14:58 Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re:

RE: FileUpload w/ drag'n'drop

2003-06-27 Thread Yansheng Lin
I don't think this is a good idea since different platforms use different windowing kit. Unlike browsers and html, you will be limitin yourself to only one platform(that is providing somehow you got it working). -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]

Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Hi to everyone! In my project, I have a XML with some config data, like username, password (all connections made from my system to a target systenm must use this same info). I'm a little lost about the best way of implementing this. I thought about doing: a Config Factory, that should keep

RE: Best way of implementing application-specific config objects

2003-06-27 Thread Josh Rayls
I have my config factory's init method called in an init servlet as defined in the web xml. I also have a dev admin portion of the web app that has useful actions for reinitializing key components of the system. It's particularly useful in a development environment. So try initializing it in a

RE: Best way of implementing application-specific config objects

2003-06-27 Thread Butash, Bob
You could use the Plugin capabilities of Struts. Make your factory a Struts Plugin, that way it will get initialized as part of the servlets initialization. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 10:49 AM To: Struts Users Mailing

RE: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Hey Josh, you're really fast =) Well, I thought about doing that (actually, that was my only shot) but that would mean creating a servlet that does nothing but calling the initialization method of the Factory (or, worse, creating the factory as a servlet). That's okay for me doing that, but if

Re: Best way of implementing application-specific config objects

2003-06-27 Thread sangappan
You can make use of the struts plugin component. The plugins are loaded before the application is loaded. The strugs-config.xml has an entry for the plugin section, wherein you can define some customized plugins for your application. Hope this helps..

RE: Best way of implementing application-specific config objects

2003-06-27 Thread shirishchandra.sakhare
and also make the getObject(String lookup) method of your factory throw AppConfigurationException which extends runtime exception. This way u dont have to catch exception for each call to the getObject method on factory and if the get method is called before the initialise method is called, the

RE: Best way of implementing application-specific config objects

2003-06-27 Thread Josh Rayls
I like to use this method, because I can then use my initalization servlet for other sorts of initialization items. For instance, if you have some sort of scheduler in your app, this init servlet can also take care of scheduling relevant tasks. Perhaps you have other services within your web app

RE: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Shirish, thanks! Telling a little bit more about the story, I (before using struts) had this factory being initialized by the init() method of my own FrontController. So it could (just like you said) be used outside web environment. If initialization failed, I would throw UnavailableException

RE: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
I got it!! I'll take a look at Plugins (this is my second struts application, the first was the tutorial :-) As you can imagine, I am still at wonderland... lost! But thanks a lot! You and the other guys gave me a great help! === Augusto Cesar Guagliano [EMAIL

RE: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Thanks Bob! I will take a good look at that! === Augusto Cesar Guagliano [EMAIL PROTECTED] Project Manager +55 19 9106.9024 Infosoftware Consulting http://www.infosoftware.com.br === Esta mensagem pode conter informação

Re: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Thanks man! I will check that out right away!! === Augusto Cesar Guagliano [EMAIL PROTECTED] Project Manager +55 19 9106.9024 Infosoftware Consulting http://www.infosoftware.com.br === Esta mensagem pode conter informação

DynaValidationForm

2003-06-27 Thread Matthias Wessendorf
Hello! i have problem with org.apache.struts.validator.DynaValidatorForm i have a html-form to get something in to my database ok fine - this runs but now i want present the inforamtion i accessed my database and tried to create a DynACtionForm / but i was not able to do... has anyone an idea,

requiredif and *this*

2003-06-27 Thread Chen, Gin
The new validwhen will provide a *this* So that you can easily test if 2 fields are equal. Is this available using requiredif? I saw Raible's article regarding this but it requires creating a custom validator. I'm not opposed to doing this but I don't want to introduce new items for maintenance

[FRIDAY] #struts_users on IRC

2003-06-27 Thread Mark Galbreath
irc.darkmyst.org 6667 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DynaValidationForm

2003-06-27 Thread sangappan
If your object has the same properties as the form, the quick way to get it to the form is BeanUtils.copyProperties.. The matched properties are copied and the unmatching properties do not. Or you can use dynaActionForm.set(param1, parameter1);

RE: Best way of implementing application-specific config objects

2003-06-27 Thread Pramod . P
if the application is intended for two different configurations, then will this plug-in useful? Thanks, Pramod Butash, Bob

[Friday] Quote

2003-06-27 Thread James Norman
There are two ways of constructing a software design; one way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. - C. A. R. Hoare

RE: Cannot upgrade from struts rc1 to struts rc2 on weblogic 6.1 sp4

2003-06-27 Thread Denham, Martin
Hi, I don't think that is the problem. None of the struts jars have more than 1 dot in the name and tiles-documentation.war is part of the struts distribution so I would have expected it to work. Has anybody using weblogic 6 successfully upgraded to struts rc2? thanks Martin -Original

Re: Best way of implementing application-specific config objects

2003-06-27 Thread Michael Thompson
You may also want to look at the ServeletContextListeners available in the 2.3 servlet spec. This will allow you to specify a listener class in your web.xml. This listener must implement javax.servlet.ServletContextListener.

RE: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Hey guys! I received basically 2 suggestions: 1 - Building a PlugIn (but this is since 1.1. I am using 1.0.2, so I'll have to discard, right? Is that another way of doing that in 1.0.2?) 2 - Building a servlet initializer, that would be responsible for bootstrapping as Josh said a few lines

Re: Best way of implementing application-specific config objects

2003-06-27 Thread Jamie M. Guillemette
Sorry.. i saw your messages but did not read them.. ( and now they are deleted. ) but perhaps you can elaborate on what is it your trying to achieve by doing this.. Ie.. you want to effect the configuration.. yes.. but why.. and what aspects of the configuration.. ( cause some things can be

Re: Best way of implementing application-specific config objects

2003-06-27 Thread augusto . guagliano
Let's do it =) This is a very very very simple application. But I'm trying to learn it the right way for the next time. This time I have only a username and password, that my system must use to authenticate to a legacy system. Obviously I shouldn't hardcode it. So I thought about putting it

Online Grid View: table like structure that allows editing as well

2003-06-27 Thread Yansheng Lin
Is there an easy way to facilitate this functionality in a browser with struts? I imagine people use spreadsheets to track data a lot in the past, now they want to use the Web. I had a similar question before, but never got answered. Is it possible to have an arraylist containing all the

getting a file path to /WEB-INF from a HttpSession

2003-06-27 Thread Simon Kelly
Hi all, I'm struggling with this a bit. I have a class, that I call from an Action class. I am trying to get the path to WEB-INF (C:\tomcat\webapps\myApp\WEB_INF) but all I have to play with is the HTTPServletRequest/Responce. I can do it in a class extending javax.servlet.Servlet, but I haven't

[FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-27 Thread Ted Husted
I'm pleased to report that a unanimous majority of the Struts Committers have voted to release Struts 1.1 on or after Sunday June 29, 2003. =:) !!! But, sadly, my elderly cat has died of liver failure. =:( Unsurprisingly, this news is a thinly veiled segue to ... [Yet Another Quote Trivia

RE: getting a file path to /WEB-INF from a HttpSession

2003-06-27 Thread Varun Garg
If you are tring to access a resource then u can do a getClass().getClassLoader() and get the resource from the WEB-INF/classes folder. I don't think this is the right or the best way, but one way you could do it is, get access to a resource using the above stated methods and then from the

RE: getting a file path to /WEB-INF from a HttpSession

2003-06-27 Thread Jarnot Voytek Contr AU HQ/SC
try request.getSession(false).getServletContext().getRealPath(/WEB-INF/...)) or, in an action you could do getServlet().getServletContext().getRealPath(/WEB-INF/...); -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Simon Kelly [mailto:[EMAIL

RE: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-27 Thread Hookom, Jacob
Robert Anton Wilson -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:51 AM To: [EMAIL PROTECTED] Subject: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died I'm pleased to report that a unanimous majority of the Struts Committers have

Re: Best way of implementing application-specific config objects

2003-06-27 Thread Sandeep Takhar
Plug-ins are called during startup and shut down. You have to subclass and then put an init() and destroy() method. sandeep --- [EMAIL PROTECTED] wrote: Let's do it =) This is a very very very simple application. But I'm trying to learn it the right way for the next time. This time I

  1   2   >