Re: Personalised web pages.
Hi, What do you mean my personalised? Does it say welcome user when they log in on the home page? Or do you display messages in the users own language? Or does each user just get a different colour scheme? Or do they see different functionality depending upon their role? Or do they see different functionality depending upon what they have done on your site? For me there are lots of different solutions to the differnent parts of personalisation. Can you be a little more speciffic about what it is your trying to achieve? Regards IV from:Mohan Radhakrishnan [EMAIL PROTECTED] date:Fri, 30 Aug 2002 06:37:18 to: [EMAIL PROTECTED] subject: Re: Personalised web pages. Hi, New struts user. We would like to have personalised web pages with struts. Are skin designs with simple JSP's the only solution ? Should we be storing the profile in the session and serve different content based on the profile ? What other ways are there ? bye, Mohan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Struts and Many Buttons on Single page
Jim, I'll be interested in your action code. Thank you, Renato - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 7:08 PM Subject: Re: Struts and Many Buttons on Single page Have been through this one; originally used option 2 (javascript to on button click to change action), but as we use httpunit to acceptance test, which does not support javascript, we migrated to a third option: Have a generic action to route based on button pressed. In the html: html:form action=/routeThisForm html:submit property=SubmitButton_A/ html:submit property=SubmitButton_B/ ... In struts config.xml: action path=/routeThisForm type = com.whatever.GenericSubmitRouteAction ... forward name=A path=/A_Action.do/ forward name=B path=/B_Action.do/ /action The code for the generic submit route action looks for which button was pressed, and maps to the appropriately named forwarding. If anyone is interested in this approach I'll post the code for the routing action. It would be nice if Struts somehow supported this sort of thing (forms with multiple actions based on submit button pressed) inherently. Jim Weaver Software Developer - ThoughtWorks [EMAIL PROTECTED] Renato Aganippe raganippe@cardiwTo: Struts Users Mailing List [EMAIL PROTECTED] eb.com cc: Subject: Re: Struts and Many Buttons on Single page 08/29/2002 11:22 AM Please respond to Struts Users Mailing List Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: script language=JavaScript function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } /script html:form name=consult type=ActionForm action=/save.do input type=button class=simpletext value=Valider onClick=doSubmit(1);return false; input type=button value=Delete class=simpletext onClick=if (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; /html:form Hope it will help, Renato - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Personalised web pages.
Hi, Or do they see different functionality depending upon their role? They should see a different set of reports based on their profile. The set of reports will be configured by the user through the admin. screen. The current UI is HTML. I am thinking.. if HTML is changed to XHTML, servlet filters can use XSLT to change the UI. How is it done with struts? bye, Mohan from:Mohan Radhakrishnan [EMAIL PROTECTED] date:Fri, 30 Aug 2002 06:37:18 to: [EMAIL PROTECTED] subject: Re: Personalised web pages. Hi, New struts user. We would like to have personalised web pages with struts. Are skin designs with simple JSP's the only solution ? Should we be storing the profile in the session and serve different content based on the profile ? What other ways are there ? bye, Mohan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
possiamo anche continuare in italiano se preferite (we can also continue in Italian if you like that better) -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 29. August 2002 21:52 To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? God, let's hope not. :-) -Original Message- From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 2:43 PM To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? la liste s'est transformée en liste francophone??? :o) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:34 PM To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? Mon dieu! J'espère pas! -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:28 PM Mais vous reviendrez samedi à la finition ce que vous avez négligé. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:18 PM To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? Je pars du bureau tot pour obtenir une biere. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 2:21 PM Can we have a [Mark] tag added? +1 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts and Many Buttons on Single page
Jim, Me too. Thank you, Frederic -Original Message- From: Renato Aganippe [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:52 AM To: Struts Users Mailing List Subject: Re: Struts and Many Buttons on Single page Jim, I'll be interested in your action code. Thank you, Renato - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 7:08 PM Subject: Re: Struts and Many Buttons on Single page Have been through this one; originally used option 2 (javascript to on button click to change action), but as we use httpunit to acceptance test, which does not support javascript, we migrated to a third option: Have a generic action to route based on button pressed. In the html: html:form action=/routeThisForm html:submit property=SubmitButton_A/ html:submit property=SubmitButton_B/ ... In struts config.xml: action path=/routeThisForm type = com.whatever.GenericSubmitRouteAction ... forward name=A path=/A_Action.do/ forward name=B path=/B_Action.do/ /action The code for the generic submit route action looks for which button was pressed, and maps to the appropriately named forwarding. If anyone is interested in this approach I'll post the code for the routing action. It would be nice if Struts somehow supported this sort of thing (forms with multiple actions based on submit button pressed) inherently. Jim Weaver Software Developer - ThoughtWorks [EMAIL PROTECTED] Renato Aganippe raganippe@cardiwTo: Struts Users Mailing List [EMAIL PROTECTED] eb.com cc: Subject: Re: Struts and Many Buttons on Single page 08/29/2002 11:22 AM Please respond to Struts Users Mailing List Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: script language=JavaScript function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } /script html:form name=consult type=ActionForm action=/save.do input type=button class=simpletext value=Valider onClick=doSubmit(1);return false; input type=button value=Delete class=simpletext onClick=if (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; /html:form Hope it will help, Renato - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
It's Friday... 2am and I've had too much beer... so no 'italiano'. | -Original Message- | From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]] | Sent: Friday, August 30, 2002 1:59 AM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | possiamo anche continuare in italiano se preferite | (we can also continue in Italian if you like that better) | | | | -Original Message- | From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] | Sent: Donnerstag, 29. August 2002 21:52 | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | God, let's hope not. :-) | | -Original Message- | From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:43 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | la liste s'est transformée en liste francophone??? :o) | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:34 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Mon dieu! J'espère pas! | | -Original Message- | From: James Mitchell [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:28 PM | | Mais vous reviendrez samedi à la finition ce que vous avez négligé. | | James Mitchell | Software Engineer\Struts Evangelist | Struts-Atlanta, the Open Minded Developer Network | http://www.open-tools.org/struts-atlanta | | | | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:18 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Je pars du bureau tot pour obtenir une biere. | | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:21 PM | | Can we have a [Mark] tag added? | +1 | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | This transmission (and any information attached to it) may be confidential | and is intended solely for the use of the individual or entity to which it | is addressed. If you are not the intended recipient or the person | responsible for delivering the transmission to the intended recipient, be | advised that you have received this transmission in error and that any | use, dissemination, forwarding, printing, or copying of this information | is strictly prohibited. If you have received this transmission in error, | please immediately notify LabOne at (800)388-4675. | | | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
Maybe we should ask those using "strange" fonts or languages to supply also a understable translation. Davayte nachnem pisat po-russki (Let's start to use russian) -Original Message- From: Joel Rees [mailto:[EMAIL PROTECTED]] Sent: Freitag, 30. August 2002 06:53 To: Struts Users Mailing List Subject: Re: [BEER] Is it Friday Yet? $B;d$OF|K\8l$rA~$`(J! $BIT?.?4
Driver-Specific JDBC Functionality
I'm working with postgresql 7.2.1 and want to leverage Large Objects in my Struts application using oid's. I have the typical struts-config.xml configuration specifying a connection pool with the postgresql driver. I'm using Struts 1.0.2. According to the documentation for postgresql, I need to obtain direct access to the native postgresql Connection object to use its Large Object API, i.e.: LargeObjectManager lobjManager = ((org.postgresql.Connection)conn).getLargeObjectAPI(); However, the code below results in a ClassCastException on GenericConnection DataSource dataSource = servlet.findDataSource(pfdb); Connection conn = dataSource.getConnection(); LargeObjectManager lobjManager = ((org.postgresql.Connection)conn).getLargeObjectAPI(); I read through the mailing list archives and came across a similar request by David Noll from back in 2001 where he wanted to use MySQL-specific features ( See http://nagoya.apache.org/eyebrowse/ReadMsg?listName=struts-user@jakarta. apache.orgmsgId=143539 ). The reply to that message, from Matthius Bauer, explained, You must not cast GenericConnection to What you really want to do is call DataSource.getConnection which returns a Connection object like so: DataSource ds = getServlet().findDataSource(null); Connection con = ds.getConnection(); You can cast this connection to org.gjt.mm.mysql.Connection without any problems! So, this is what I did, but alas, to no avail -- the ClassCastException problem. No further responses were shown to illuminate a solution. Digging into the GenericDataSource and GenericDataConnection, it becomes clear that they are wrappers and do not expose the underlying Connection. What I would appear to need is the ability to cast my Connection to a GenericConnection, and then call getConnection(), and then cast that to the database-specific Connection. Unfortunately, GenericConnection.getConnection() has protected visibility. I don't see a way to extract the native Connection... but then again I'm 31 and have chicken pox and it's 3am on a work day. I'm about ready to extract the 1.0.2 source, change the visibility to public, and stick it back into struts.jar, but that seems a bit barbaric. Could someone point me in the right direction? Sincere thanks, Dan Rudman -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
3pm and Ive had too little... -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 15:12 To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? It's Friday... 2am and I've had too much beer... so no 'italiano'. | -Original Message- | From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]] | Sent: Friday, August 30, 2002 1:59 AM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | possiamo anche continuare in italiano se preferite | (we can also continue in Italian if you like that better) | | | | -Original Message- | From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] | Sent: Donnerstag, 29. August 2002 21:52 | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | God, let's hope not. :-) | | -Original Message- | From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:43 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | la liste s'est transformée en liste francophone??? :o) | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:34 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Mon dieu! J'espère pas! | | -Original Message- | From: James Mitchell [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:28 PM | | Mais vous reviendrez samedi à la finition ce que vous avez négligé. | | James Mitchell | Software Engineer\Struts Evangelist | Struts-Atlanta, the Open Minded Developer Network | http://www.open-tools.org/struts-atlanta | | | | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:18 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Je pars du bureau tot pour obtenir une biere. | | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:21 PM | | Can we have a [Mark] tag added? | +1 | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | This transmission (and any information attached to it) may be confidential | and is intended solely for the use of the individual or entity to which it | is addressed. If you are not the intended recipient or the person | responsible for delivering the transmission to the intended recipient, be | advised that you have received this transmission in error and that any | use, dissemination, forwarding, printing, or copying of this information | is strictly prohibited. If you have received this transmission in error, | please immediately notify LabOne at (800)388-4675. | | | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER ] Is it Friday Yet?
That's just to encourage you to learn a new 3D-language (language usefull for 3D(imensional)-contacts (== real-life). I mean English, Français, Italiano, Deutsch, Espanol and maybe Russki should be considered the minimal survival kit nowadays... salue -Original Message- From: Tim T. Young [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 29. August 2002 21:45 To: Struts Users Mailing List Subject: RE: [BEER ] Is it Friday Yet? Common guys, keeping up is hard enough without having to babelfish everything! Galbreath, Mark Galbreath@te ssco.com 08/29/2002To: 'Struts Users Mailing List' [EMAIL PROTECTED] 02:33 PM cc: Please respond to Struts Users Mailing ListSubject: RE: [BEER] Is it Friday Yet? Caterpillar: Confidential Green Retain Until: 09/28/2002 Retention Category: G90 - Information and Reports Mon dieu! J'espère pas! -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:28 PM Mais vous reviendrez samedi à la finition ce que vous avez négligé. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:18 PM To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? Je pars du bureau tot pour obtenir une biere. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 2:21 PM Can we have a [Mark] tag added? +1 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Using Struts in Weblogic Eclipse
Use remote-debugging. Simply add the remote debugging parameters to WLS-startup, configure remote-debugging in Eclipse and go ahead... hth Alexander -Original Message- From: Madhavan Srinivasan [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 29. August 2002 22:12 To: Struts Users Mailing List Subject: Using Struts in Weblogic Eclipse Friends I use weblogic 7.0 and eclipse 2.0. I try to integrate struts sample app with weblogic and eclipse. I installed easie weblogic plugin to eclipse, so I could start weblogic server from eclipse. Now I want to debug the web application of the weblogic server instance thru eclipse IDE. If there is anybody have the procedures please inform me. Thanks Madhavan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[ExceptionHandler] NoClassDefFoundError: org/apache/struts/action/ExceptionHandler
Hi, I'm using declarative exception handling in struts 1.1. I have no problems implementing them. However I want to display additional information of the exception by getting the e.getMessage() and including it into the ActionError object. I've read up Chuck 's chapter 10 on exception and used SpecialExceptionHandler.java as reference in building my own exceptionhandler class. I've included the class in the struts-config.xml like this: global-exceptions exception key=error.system type=javax.ejb.FinderException path=/error.jsp handler=com.example.struts.exception.SpecialExceptionHandler/ /global-exceptions However when my application throws the javax.ejb.FinderException, instead of running the SpecialExceptionHandler I get a NoClassDefFoundError for org.apache.struts.action.ExceptionHandler. Adding the struts.jar into the classpath would solve this problem but that shouldn't be the way. Any ideas? TIA, Charles p/s I'm using Weblogic 7.0 and ServletExec 4.1 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
Please use unicode escapes! My email client is J2EE compliant. :-) At 03:15 pm 30-08-2002, you wrote: That's just to encourage you to learn a new 3D-language (language usefull for 3D(imensional)-contacts (== real-life). I mean English, Français, Italiano, Deutsch, Espanol and maybe Russki should be considered the minimal survival kit nowadays... salue -Original Message- From: Tim T. Young [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 29. August 2002 21:45 To: Struts Users Mailing List Subject: RE: [BEER ] Is it Friday Yet? Common guys, keeping up is hard enough without having to babelfish everything! Mon dieu! J'espère pas! -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:28 PM Mais vous reviendrez samedi à la finition ce que vous avez négligé. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:18 PM To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? Je pars du bureau tot pour obtenir une biere. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 2:21 PM Can we have a [Mark] tag added? +1 -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - Don't develop Struts Apps without it! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [BEER] Is it Friday Yet?
Maybe we should ask those using "strange" fonts or languages to supply also a understable translation. I don't know if it's worth it, but ... Davayte nachnem pisat po-russki (Let's start to use russian) To quote a famous singer, I'd love to, but I can't. -Original Message- From: Joel Rees [mailto:[EMAIL PROTECTED]] Sent: Freitag, 30. August 2002 06:53 To: Struts Users Mailing List Subject: Re: [BEER] Is it Friday Yet? : $B;d$OF|K\8l$rA~$`(B! I despise Japanese! $BIT?.?4
Re: [OT ARTICLE] JavaServer Faces on theserverside
You answer to my question, How manywho is the spec leader ? ;) What's happen to theserverside, the interview was added on August 29 ! Thx, -Emmanuel --- Craig R. McClanahan [EMAIL PROTECTED] a écrit : On Fri, 30 Aug 2002, Emmanuel Boudrant wrote: Date: Fri, 30 Aug 2002 00:02:26 +0200 (CEST) From: Emmanuel Boudrant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [OT ARTICLE] JavaServer Faces on theserverside Just released on theserverside, an interview from Amy Fowler, JavaServer Faces Spec Lead. http://www.theserverside.com/home/thread.jsp?thread_id=15227 Can you tell these interviews were taped quite a while ago? :-) You just might be interested in some more current information about Faces, including a public draft of the spec and an EA (emphasis on EARLY) implementation, released today: http://java.sun.com/j2ee/javaserverfaces/ Craig R. McClanahan Specification Lead, JSR-127 (for those who didn't know that) ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
Well, at least your problem is easier to fix... -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Freitag, 30. August 2002 09:19 To: Struts Users Mailing List Subject: RE: [BEER] Is it Friday Yet? 3pm and Ive had too little... -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 15:12 To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? It's Friday... 2am and I've had too much beer... so no 'italiano'. | -Original Message- | From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]] | Sent: Friday, August 30, 2002 1:59 AM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | possiamo anche continuare in italiano se preferite | (we can also continue in Italian if you like that better) | | | | -Original Message- | From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] | Sent: Donnerstag, 29. August 2002 21:52 | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | God, let's hope not. :-) | | -Original Message- | From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:43 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | la liste s'est transformée en liste francophone??? :o) | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:34 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Mon dieu! J'espère pas! | | -Original Message- | From: James Mitchell [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:28 PM | | Mais vous reviendrez samedi à la finition ce que vous avez négligé. | | James Mitchell | Software Engineer\Struts Evangelist | Struts-Atlanta, the Open Minded Developer Network | http://www.open-tools.org/struts-atlanta | | | | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:18 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Je pars du bureau tot pour obtenir une biere. | | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:21 PM | | Can we have a [Mark] tag added? | +1 | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | This transmission (and any information attached to it) may be confidential | and is intended solely for the use of the individual or entity to which it | is addressed. If you are not the intended recipient or the person | responsible for delivering the transmission to the intended recipient, be | advised that you have received this transmission in error and that any | use, dissemination, forwarding, printing, or copying of this information | is strictly prohibited. If you have received this transmission in error, | please immediately notify LabOne at (800)388-4675. | | | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
If not cheap... Hows $10 for one beer sound? (about $6 US) sigh/ -Original Message- From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 16:12 To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? Well, at least your problem is easier to fix... -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Freitag, 30. August 2002 09:19 To: Struts Users Mailing List Subject: RE: [BEER] Is it Friday Yet? 3pm and Ive had too little... -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 15:12 To: 'Struts Users Mailing List' Subject: RE: [BEER] Is it Friday Yet? It's Friday... 2am and I've had too much beer... so no 'italiano'. | -Original Message- | From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]] | Sent: Friday, August 30, 2002 1:59 AM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | possiamo anche continuare in italiano se preferite | (we can also continue in Italian if you like that better) | | | | -Original Message- | From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] | Sent: Donnerstag, 29. August 2002 21:52 | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | God, let's hope not. :-) | | -Original Message- | From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:43 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | la liste s'est transformée en liste francophone??? :o) | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:34 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Mon dieu! J'espère pas! | | -Original Message- | From: James Mitchell [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:28 PM | | Mais vous reviendrez samedi à la finition ce que vous avez négligé. | | James Mitchell | Software Engineer\Struts Evangelist | Struts-Atlanta, the Open Minded Developer Network | http://www.open-tools.org/struts-atlanta | | | | | -Original Message- | From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 3:18 PM | To: 'Struts Users Mailing List' | Subject: RE: [BEER] Is it Friday Yet? | | | Je pars du bureau tot pour obtenir une biere. | | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 2:21 PM | | Can we have a [Mark] tag added? | +1 | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | -- | To unsubscribe, e-mail: | mailto:[EMAIL PROTECTED] | For additional commands, e-mail: | mailto:[EMAIL PROTECTED] | | | | This transmission (and any information attached to it) may be confidential | and is intended solely for the use of the individual or entity to which it | is addressed. If you are not the intended recipient or the person | responsible for delivering the transmission to the intended recipient, be | advised that you have received this transmission in error and that any | use, dissemination, forwarding, printing, or copying of this information | is strictly prohibited. If you have received this transmission in error, | please immediately notify LabOne at (800)388-4675. | | | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tiles+Validator: Correct way to reference staticJavascript.jspfi le?
Hello, To be independent from you application name, use script language=Javascript1.1 src=%=request.getContextPath()%/staticJavascript.jsp/script Cedric Karr, David wrote: I'm trying to build a simple prototype appliction which is using both Tiles and Validator. I got my Tiles code working pretty well, and then I started integrating Validator. I've also gotten this working, but I'm wondering if there's a better way to do some of the things I did. I have a /mainBody.jsp which is referenced from the Tiles definition. Inside this JSP is the form to be validated. The path to the layout JSP is /layout/basicLayout.jsp. I have the following line just past the end of my /form tag in mainBody.jsp: html:javascript formName=mainForm dynamicJavascript=true staticJavascript=false/ I have the following line as the last line before the /body tag in /layout/basicLayout.jsp: script language=Javascript1.1 src=/ourapp/staticJavascript.jsp/script Where /ourapp/staticJavascript.jsp looks like this (taken directly from the struts-validator example): - %@ page language=java % %-- set document type to Javascript (addresses a bug in Netscape according to a web resource --% %@ page contentType=application/x-javascript % %@ taglib uri=/WEB-INF/tld/struts-html.tld prefix=html % html:javascript dynamicJavascript=false staticJavascript=true/ - So, with this structure, the eventual layed out page has a single reference to the static javascript file, and any embedded forms will have embedded references to the dynamic javascript for each form. This structure appears to work. The only slight nit I have with this is the hardcoded reference to the context root of the application name in the script element in the layout JSP. I found that just using /staticJavascript.jps didn't work. Is this the best way to do this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [ExceptionHandler] NoClassDefFoundError: org/apache/struts/action/ExceptionHandler
Btw..here's an except of the error message i get : - start of exception - Error. The server encountered an unexpected condition which prevented it from fulfilling the request. java.lang.NoClassDefFoundError: org/apache/struts/action/ExceptionHandler at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:246) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at java.lang.ClassLoader.findSystemClass(ClassLoader.java:673) at com.newatlanta.servletexec.ApplClassLoader.loadClass(ApplClassLoader.java:40 1) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:193) at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:21 9) at org.apache.struts.action.RequestProcessor.processException(RequestProcessor. java:496) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1227) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:502) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.newatlanta.servletexec.ServletExec.CallServletService(ServletExec.java:1 650) at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispa tcher.java:274) at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.j ava:191) at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInf o.java:1173) at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo. java:941) at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1206) at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1056) at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletE xecService.java:165) at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:19 7) at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:106) -- end of exception message - and here's how my SpecialExceptionHandler looks like: -- start of SpecialExceptionHandler.java -- package com.example.struts.exception; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ExceptionHandler; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionError; import org.apache.struts.util.AppException; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.config.ExceptionConfig; public class SpecialExceptionHandler extends ExceptionHandler { public ActionForward execute(Exception ex, ExceptionConfig config, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response) throws ServletException { ActionForward forward = null; ActionError error = null; String property = null; String path = null; if (config.getPath() != null) { path = config.getPath(); }else{ path = mapping.getInput(); } forward = new ActionForward(path); error = new ActionError(config.getKey(),ex); property = error.getKey(); storeException(request, property, error, forward, config.getScope()); return forward; } } - end of SpecialExceptionHandler - - Original Message - From: Charles [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 30, 2002 3:49 PM Subject: [ExceptionHandler]
Re: Where is the Tiles Tutorial
The tutorial is here: http://www.lifl.fr/~dumoulin/tiles/doc/tutorialBody.html (yes, it is old). Check also: http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf And articles, books, ... Cedric Michael wrote: In the Struts 1.1b2 distribution, the Tiles tutorial is missing. I submitted a bug to Bugzilla, but I'm still stuck trying to learn Tiles. There is no tutorial or User Guide. I found an old tutorial with Google, but it's dated 9 Sep 2001. Is there a current tutorial or user guide I can use?? Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : Where is the Tiles Tutorial
I followed another user's suggestion and downloaded Chapter 14 from the Struts book from theserverside.com. It explains things pretty well. I just downloaded the PDF, at 40+ pages it's a little intimidating but I'm definitely going to read it. Thanks, Michael -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:52 AM To: Struts Users Mailing List Subject: Re: Where is the Tiles Tutorial The tutorial is here: http://www.lifl.fr/~dumoulin/tiles/doc/tutorialBody.html (yes, it is old). Check also: http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf And articles, books, ... Cedric Michael wrote: In the Struts 1.1b2 distribution, the Tiles tutorial is missing. I submitted a bug to Bugzilla, but I'm still stuck trying to learn Tiles. There is no tutorial or User Guide. I found an old tutorial with Google, but it's dated 9 Sep 2001. Is there a current tutorial or user guide I can use?? Michael -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Core] Setup globals per new session
-Original Message- From: Mark Kaye Thanks Danny. I've looked into this and it seems to be exactly what I'm looking for. You're a star. Hmm, it seems I can't use HttpSessionListener after all :(. After looking into it in more depth, it looks like I won't be able to get a handle to the HttpServletRequest that actually contains the information I need to key on i.e. the hostname, or at least the Request URI which I can parse. So, does anyone else have any ideas how to do this? To reiterate my problem briefly: I need to be able to populate the HttpSession with information as soon as the session is created, or at least before the HttpServletResponse is sent back. The information I use in order to decide what to populate the session with is the server hostname. So for instance: www.server1.com - Store clubName in session with value Reds. www.server2.com - Store clubName in session with value Blues. I need to do this so I could (for instance) welcome a visitor to server1.com with Welcome Reds. I've over simplified my requirement, but the above is the lowest common denominator. I have considered running each host in it's own context in Tomcat. But that's a nightmare in terms of memory bloat. This is how we are currently doing it with our non Struts based app. With just a few contexts the server is almost maxed on memory (2Gb RAM). I may have to put up with redirecting all new sessions to the index page, which I suppose is not too unreasonable, although a little unexpected for a user who has bookmarked or clicked on a deep link - but then this can be an issue with any web application. Any suggestions? Help, as always, much appreciated. Best, M -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
MAPPING configuration error for request URI
Hi, Can someone help me with resolving this error ? In my jsp, I have the following code: img src='/displayPhotoServlet?imgId=%= izjnUser.getID() %' In my web.xml, i have the following code: servlet servlet-nameDisplayPhotoServlet/servlet-name servlet-classcom.donreal.ikzagjenet.web.DisplayPhotoServlet/servlet-class /servlet servlet-mapping servlet-namedisplayPhotoServlet/servlet-name url-pattern/displayPhotoServlet/url-pattern /servlet-mapping Someone some suggestions ?
SSL with Stuts
Hi! I believe some people( Ssteve, Max and Prakash) from http://home1.gte.net/ditling/struts/ have implemented ssl extension to Struts. Will this be integrated with Struts? Any inputs on this will be appriciated Thanks Vishy
RE: [New Functionality] ApplicationResources.properties to DB?
I thought about writing a db trigger and then decided to include a reload() to manually refresh the data in the event of changes to the db. Mark -Original Message- From: Jason Rosen [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 4:23 PM To: 'Struts Users Mailing List' Subject: RE: [New Functionality] ApplicationResources.properties to DB? I was actually hoping to have it implemented where the entire store would be able to be updated on-the-fly and not have the application cache it on initialization. I would at least think that the MessageResources or MessageResourceFactory implementation would have a reload() method so the entire app didn't need to be reloaded to update the cached properties. This type of thing could even be configurable (like Craig suggested). -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:25 PM To: 'Struts Users Mailing List' Subject: RE: [New Functionality] ApplicationResources.properties to DB? My idea is to gather the properties into a static java.util.Properties object from a call to a stored procedure and instantiate it in context scope at application startup using the java -d argument to set the environment and filename in the system properties. The properties would then be available to any calling method, same as if fetching from a textfile. Mark -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:11 PM I don't know how helpful that would be. I love it for a persistence framework, but it seems like it might possibly be (mega-)over-kill for this task. Although! ... that would certainly take away any confusion about what the table/field names were (just map your classes to your tables)! The down-side would be that, not only would you have to instantiate your bundle, but you'd also have to instantiate an object for *every single* key/value pair (that got used). Regards, Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Core] Setup globals per new session
OK, I've decided to create an IndexAction and bind it to /index, then add welcome-fileindex.do/welcome-file to my web.xml. This appears to work and will allow me to set up all the session state I need dependant upon the hostname. I now have to figure out a clean mechanism to ensure that the client redirects to the index page if a session does not already exist. I am using Velocity/velstruts as my template engine to make content maintenance easy until we go to completely db driven content (whereupon I will still use Velocity but the content management is then taken away from the filesystem and so becomes a completely different problem). I can see two options and was wondering if you guys had a take on it: 1. Test for a token in every page and redirect to /index if the token is null. 2. Make all my content calls a *.do so that I can precede them all with an Action. I don't particularly like 1. as it contravenes MVC. I don't like 2 because it sounds like a lot of work :(. Anyone got any other suggestions? Cheers, M -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Core] Setup globals per new session
About the first type, there is an example of tag in the struts example. It's named: CheckLogonTag / and I think it's useful. -Mensaje original- De: Mark Kaye [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 30 de agosto de 2002 13:36 Para: Struts Users Mailing List Asunto: RE: [Core] Setup globals per new session OK, I've decided to create an IndexAction and bind it to /index, then add welcome-fileindex.do/welcome-file to my web.xml. This appears to work and will allow me to set up all the session state I need dependant upon the hostname. I now have to figure out a clean mechanism to ensure that the client redirects to the index page if a session does not already exist. I am using Velocity/velstruts as my template engine to make content maintenance easy until we go to completely db driven content (whereupon I will still use Velocity but the content management is then taken away from the filesystem and so becomes a completely different problem). I can see two options and was wondering if you guys had a take on it: 1. Test for a token in every page and redirect to /index if the token is null. 2. Make all my content calls a *.do so that I can precede them all with an Action. I don't particularly like 1. as it contravenes MVC. I don't like 2 because it sounds like a lot of work :(. Anyone got any other suggestions? Cheers, M -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
404 error when calling /admin/reload.do
I can't figure out why I'm getting a 404 when calling /admin/reload.do: Access log: 127.0.0.1 - - [30/Aug/2002:14:05:18 1000] GET /oemserver/admin/reload.do HTTP/1.1 500 795 Localhost log: 2002-08-30 14:05:18 Authenticator[/oemserver]: Security checking request GET /oemserver/admin/reload.do 2002-08-30 14:05:18 Authenticator[/oemserver]: Checking constraint 'SecurityConstraint[Test 1]' against GET /admin/reload.do -- false 2002-08-30 14:05:18 Authenticator[/oemserver]: No applicable constraint located 2002-08-30 14:05:18 Authenticator[/oemserver]: Not subject to any constraint 2002-08-30 14:05:18 StandardContext[/oemserver]: Mapping contextPath='/oemserver' with requestURI='/oemserver/admin/reload.do' and relativeURI='/admin/reload.do' 2002-08-30 14:05:18 StandardContext[/oemserver]: Decoded relativeURI='/admin/reload.do' 2002-08-30 14:05:18 StandardContext[/oemserver]: Trying exact match 2002-08-30 14:05:18 StandardContext[/oemserver]: Trying prefix match 2002-08-30 14:05:18 StandardContext[/oemserver]: Trying extension match Struts-config: actionpath=/admin/reload type=org.apache.struts.actions.ReloadAction/ My actions work fine, just not the admin ones. Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [FRIDAY] Official DTD Special Offer
But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Display dropdown list with data from Application Resources ???
Does anyone know of an elegant solution to display a drop downlist with default data from Application Resources file? Specifically, I want to display all the days in a week. It'd be nice if we can specify in Resources properties file as followed: weekday.0= Sunday weekday.1=MondayThen use bean:messge key inside the html: select. Currently I have it a collection of beans stored in application context, then use html:options within html:select, which is not a good idea. Thanks for any inputs. - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
RE : [FRIDAY] Official DTD Special Offer
This is why I really dislike mailing lists. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:51 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Official DTD Special Offer And wait! theres EVEN MORE! Yes thats right! More!!! We're crazy crazy crazy here at struts-user! If you order in the next ten minutes you will also receive free of charge this incredible Tension Sheet (tm). Feeling stressed? Feeling depressed? Just pop the bubbles in your Tension Sheet(tm)! Ahhh. Doesnt that feel much better? (http://www.clubi.ie/lestat/graphics/dwarf/red355.jpg) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 20:26 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Official DTD Special Offer But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: html:options tag help ASAP
The sample application that ships with Struts (struts-exercise-taglib) gives you several options -- pardon the pun! Look at html-select.jsp. Sri -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 6:29 PM To: Struts Users Mailing List Subject: html:options tag help ASAP Hi, I get a result set from a query which has id and description, now I have to show the it in select tag some thing like this, select name=option option value=id1desc1/option option value=id2desc2/option /select I think that i can use html:options tag which will do my work, but i m not sure how to use it, how do to define the bean, and also how to set the properties, does anyone have sample code of the bean and the tag for that bean options tag, it will help me alot.. Thanx Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [FRIDAY] Official DTD Special Offer
And HURRY! If you order your Official DTD with matching steak knives, versatile carving fork, and Tension Sheet (tm) in the NEXT 10 MINUTES, Struts-User will include at absolutely no cost* to you an amazing 7-day holiday at South Carolina's beautiful Hilton Head Island! *transportation, food, and accommodations not included. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:51 AM And wait! theres EVEN MORE! Yes thats right! More!!! We're crazy crazy crazy here at struts-user! If you order in the next ten minutes you will also receive free of charge this incredible Tension Sheet (tm). Feeling stressed? Feeling depressed? Just pop the bubbles in your Tension Sheet(tm)! Ahhh. Doesnt that feel much better? (http://www.clubi.ie/lestat/graphics/dwarf/red355.jpg) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 20:26 But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Display dropdown list with data from Application Resources ???
Read the file into a class, parse the key/values and stick them in a Properties object. Define the object as a page-scoped bean and assign whatever values you want to an option tag. Mark -Original Message- From: Struts Rodolphe [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:57 AM To: [EMAIL PROTECTED] Subject: Display dropdown list with data from Application Resources ??? Does anyone know of an elegant solution to display a drop downlist with default data from Application Resources file? Specifically, I want to display all the days in a week. It'd be nice if we can specify in Resources properties file as followed: weekday.0= Sunday weekday.1=MondayThen use bean:messge key inside the html: select. Currently I have it a collection of beans stored in application context, then use html:options within html:select, which is not a good idea. Thanks for any inputs. - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Display dropdown list with data from Application Resources ???
html:select property=dayOfWeek html:option key=label.sunday value=0/ html:option key=label.monday value=1/ html:option key=label.tuesday value=2/ html:option key=label.wednesday value=3/ html:option key=label.thursday value=4/ html:option key=label.friday value=5/ html:option key=label.saturday value=6/ /html:select in your Applications Resource file label.sunday=Sunday etc. -Original Message- From: Struts Rodolphe [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 August 2002 10:57 PM To: [EMAIL PROTECTED] Subject: Display dropdown list with data from Application Resources ??? Does anyone know of an elegant solution to display a drop downlist with default data from Application Resources file? Specifically, I want to display all the days in a week. It'd be nice if we can specify in Resources properties file as followed: weekday.0= Sunday weekday.1=MondayThen use bean:messge key inside the html: select. Currently I have it a collection of beans stored in application context, then use html:options within html:select, which is not a good idea. Thanks for any inputs. - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE : [FRIDAY] Official DTD Special Offer
I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:58 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE : [FRIDAY] Official DTD Special Offer This is why I really dislike mailing lists. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:51 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Official DTD Special Offer And wait! theres EVEN MORE! Yes thats right! More!!! We're crazy crazy crazy here at struts-user! If you order in the next ten minutes you will also receive free of charge this incredible Tension Sheet (tm). Feeling stressed? Feeling depressed? Just pop the bubbles in your Tension Sheet(tm)! Ahhh. Doesnt that feel much better? (http://www.clubi.ie/lestat/graphics/dwarf/red355.jpg) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 20:26 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Official DTD Special Offer But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[Core] Easy question!
Within an action, how can I get hold of an Object that has been stored in the ServletContext inside which my struts app is running? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RE : [FRIDAY] Official DTD Special Offer
If it is labeled off topic ( [OT] ) or Friday ( [FRIDAY] ) then why are you reading it? Methinks you have to many control issues. /\/\ark - Original Message - From: Day, Michael-IBM/TT [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 8:33 AM Subject: RE: RE : [FRIDAY] Official DTD Special Offer I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:58 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE : [FRIDAY] Official DTD Special Offer This is why I really dislike mailing lists. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:51 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Official DTD Special Offer And wait! theres EVEN MORE! Yes thats right! More!!! We're crazy crazy crazy here at struts-user! If you order in the next ten minutes you will also receive free of charge this incredible Tension Sheet (tm). Feeling stressed? Feeling depressed? Just pop the bubbles in your Tension Sheet(tm)! Ahhh. Doesnt that feel much better? (http://www.clubi.ie/lestat/graphics/dwarf/red355.jpg) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 20:26 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Official DTD Special Offer But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Core] Easy question!
-Original Message- From: Mark Kaye Within an action, how can I get hold of an Object that has been stored in the ServletContext inside which my struts app is running? OK, I figured it out, is the best way: Properties properties = (Properties) this.getServlet().getServletContext().getAttribute(clubProps); -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Core] Easy question!
ServletContext sc = this.servlet.getServletContext(); Object obj = sc.getAttribute( nameOfObject); Mark -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:36 AM To: Struts Users Mailing List Subject: [Core] Easy question! Within an action, how can I get hold of an Object that has been stored in the ServletContext inside which my struts app is running? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE : [FRIDAY] Official DTD Special Offer
+1 -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:40 AM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer If it is labeled off topic ( [OT] ) or Friday ( [FRIDAY] ) then why are you reading it? Methinks you have to many control issues. /\/\ark - Original Message - From: Day, Michael-IBM/TT [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 8:33 AM Subject: RE: RE : [FRIDAY] Official DTD Special Offer I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:58 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE : [FRIDAY] Official DTD Special Offer This is why I really dislike mailing lists. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:51 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Official DTD Special Offer And wait! theres EVEN MORE! Yes thats right! More!!! We're crazy crazy crazy here at struts-user! If you order in the next ten minutes you will also receive free of charge this incredible Tension Sheet (tm). Feeling stressed? Feeling depressed? Just pop the bubbles in your Tension Sheet(tm)! Ahhh. Doesnt that feel much better? (http://www.clubi.ie/lestat/graphics/dwarf/red355.jpg) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 20:26 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Official DTD Special Offer But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Core] Easy question!
servlet member variable of Action is avaliable to gain access to ServletContext. ServletContext application = servlet.getServletContext(); DataManager manager = (DataManager)application.getAttribute(Constants.DATA_MANAGER); -Original Message- From: Mark Kaye [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:36 AM To: Struts Users Mailing List Subject: [Core] Easy question! Within an action, how can I get hold of an Object that has been stored in the ServletContext inside which my struts app is running? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : RE : [FRIDAY] Official DTD Special Offer
Because you're filling up my mailbox with them. Just think about it, if 1,000 people each take 5 seconds to read your email, the that's over one hour of lost productivity. Do you enjoy wasting everyone's time? The purpose of the email is to discuss struts. Offtopic is one thing but the comedy is totally out of line. Also when filling up everyone's mailbox with the crap, people will miss important struts-related emails. Michael -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:40 PM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer If it is labeled off topic ( [OT] ) or Friday ( [FRIDAY] ) then why are you reading it? Methinks you have to many control issues. /\/\ark - Original Message - From: Day, Michael-IBM/TT [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 8:33 AM Subject: RE: RE : [FRIDAY] Official DTD Special Offer I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:58 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE : [FRIDAY] Official DTD Special Offer This is why I really dislike mailing lists. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:51 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Official DTD Special Offer And wait! theres EVEN MORE! Yes thats right! More!!! We're crazy crazy crazy here at struts-user! If you order in the next ten minutes you will also receive free of charge this incredible Tension Sheet (tm). Feeling stressed? Feeling depressed? Just pop the bubbles in your Tension Sheet(tm)! Ahhh. Doesnt that feel much better? (http://www.clubi.ie/lestat/graphics/dwarf/red355.jpg) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 20:26 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Official DTD Special Offer But wait! You also get this incredibly versatile carving fork! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 2:25 AM No, but if you order now you can get a free(*) limited edition set of matching steak knives. (*)Not including $699.95 shipping and handling charges -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 14:15 James, Thanks. This will help greatly, especially since today is friday for me... BTW, does this come with a matching XML Schema or Dictionary ? Regards, Daniel -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
problem with image src tag
I'm running an entreprise application deployed on jboss with tomcat / catalina. How come img src=/displayPhoto does not work but img src=http://localhost:8080/IZJNApp/displayPhoto; does work ? Does anyone know how to solve this !?!? Thanks, Leonard Wolters
Re: RE : [FRIDAY] Official DTD Special Offer
Filter the messages with [FRIDAY] in the topic and delete them from the server. You could do the same thing with [OT] if you wanted. Most reasonable mail clients give you this ability. Regards, Eddie Michael wrote: This is why I really dislike mailing lists. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RE : [FRIDAY] Official DTD Special Offer
You do realize you can setup a message filter to have these messages removed at the server, right? You wouldn't ever even see them in your mailbox ... Regards, Eddie Day, Michael-IBM/TT wrote: I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Dynamic name to the text fields
Hi All, I am a newbie to struts and taglibs, was trying to display text fields dynamically using html:iterator. Below is the scenario I was trying out. This is the snippet from my jsp to display the text fields. logic:iterate id=UserDetail name=user property=userDetails tr td align=center html:text name=UserDetail property=org/ /td /tr /logic:iterate The html snippet for the above is something like: input type=text name=org value=Org1 input type=text name=org value=Org2 But I want it to be something like: input type=text name=a value=Org1 input type=text name=b value=Org2 Where the values(a b) for the name attribute comes from an array defined in the Form Bean. What are the changes required in my jsp snippet? Also, if only it is possible to get an output as desired, does the FormBean be modified to support this. As there won't be any getter/setter for a and b. Appreciate any kind of help regarding this. Regards and Thanks, Anoop. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Display dropdown list with data from Application Resources ???
Yeah. Thanks. The problem with this approach which I also thought of, is that we have to list ALL of them, which I try to avoid to do. Joe Latty wrote: in your Applications Resource file label.sunday=Sunday etc. -Original Message- From: Struts Rodolphe [mailto:[EMAIL PROTECTED]] Sent: Friday, 30 August 2002 10:57 PM To: [EMAIL PROTECTED] Subject: Display dropdown list with data from Application Resources ??? Does anyone know of an elegant solution to display a drop downlist with default data from Application Resources file? Specifically, I want to display all the days in a week. It'd be nice if we can specify in Resources properties file as followed: weekday.0= Sunday weekday.1=MondayThen use inside the . Currently I have it a collection of beans stored in application context, then use within , which is not a good idea. Thanks for any inputs. - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: For additional commands, e-mail: - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
RE: [Core] Easy question!
-Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] ServletContext sc = this.servlet.getServletContext(); Object obj = sc.getAttribute( nameOfObject); I'm doing this in a startup servlet: propFile = getServletContext().getRealPath(clubPropFileName); Properties properties = new Properties(); properties.load(new FileInputStream(propFile)); getServletContext().setAttribute(clubProps, properties); System.out.println(Club properties initialised!); This is all in a try/catch and I do see the println in the console, so I assume it has worked. When I try and access the properties object stored in the context from my Struts action as suggested I get a NullPointerException. Any ideas why? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RE : [FRIDAY] Official DTD Special Offer
+1 - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 30, 2002 9:01 AM Subject: Re: RE : [FRIDAY] Official DTD Special Offer You do realize you can setup a message filter to have these messages removed at the server, right? You wouldn't ever even see them in your mailbox ... Regards, Eddie Day, Michael-IBM/TT wrote: I agree. I'm getting rather pissed at the sheer number of off-topic messages. I regret that I have to post this message to complain because it is (again) another off-topic message. Everyone, please take this elsewhere. I'm sure there's a comedian list for you to annoy. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BEER] Is it Friday Yet?
Davayte nachnem pisat po-russki (Let's start to use russian) Privet, should we change BEER to VODKA? -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Struts and Many Buttons on Single page
Hi Jim Can u post that code will be a grest help, also will it work for many pages or have to have one action for each page Ashish Renato Aganippe wrote:Jim, I'll be interested in your action code. Thank you, Renato - Original Message - From: To: Struts Users Mailing List Sent: Thursday, August 29, 2002 7:08 PM Subject: Re: Struts and Many Buttons on Single page Have been through this one; originally used option 2 (javascript to on button click to change action), but as we use httpunit to acceptance test, which does not support javascript, we migrated to a third option: Have a generic action to route based on button pressed. In the html: ... In struts config.xml: type = com.whatever.GenericSubmitRouteAction ... The code for the generic submit route action looks for which button was pressed, and maps to the appropriately named forwarding. If anyone is interested in this approach I'll post the code for the routing action. It would be nice if Struts somehow supported this sort of thing (forms with multiple actions based on submit button pressed) inherently. Jim Weaver Software Developer - ThoughtWorks [EMAIL PROTECTED] Renato Aganippe eb.com cc: Subject: Re: Struts and Many Buttons on Single page 08/29/2002 11:22 AM Please respond to Struts Users Mailing List Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } [input] onClick=doSubmit(1);return false; [input] (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; type=button value=Delete Hope it will help, Renato - Original Message - From: Ashish Kulkarni To: Struts Users Mailing List Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Re: when the validate retrun null,then the excute in action will not call?
I come from china. public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { if (nam.equals(wqh)){ ActionErrors err=new ActionErrors(); err.add(error,new ActionError(first)); file://return err; can you rem this line! } return null; } - Original Message - From: wu qihua [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 5:16 PM Subject: when the validate retrun null,then the excute in action will not call? when the field is wqh ,there isn't any message print in the console,but if the field is wqh,then it will print begin to process not equal and if the excute run ,print the sentence begin to process is a must,but really it did not,that means the function of excute never run when validate return null, if I want it to run ,and do not add any error message,what should it return? public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { if (nam.equals(wqh)){ ActionErrors err=new ActionErrors(); err.add(error,new ActionError(first)); return err; } return null; } public ActionForward execute(..) throws Exception { LongonForm longonForm = (LongonForm) form; ///* this print sentence must run if the excute is called **/ System.out.println( begin to process; if (longonForm.getNam().equals(wqh)){ System.out.println(equal to wqh); throw new UnsupportedOperationException(Easy Struts : i); } else { System.out.println(not equal); return (mapping.getInputForward()); } } _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : RE : [FRIDAY] Official DTD Special Offer
Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:59 PM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer Filter the messages with [FRIDAY] in the topic and delete them from the server. You could do the same thing with [OT] if you wanted. Most reasonable mail clients give you this ability. Regards, Eddie Michael wrote: This is why I really dislike mailing lists. -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Struts and Many Buttons on Single page
Hi Jim can u please post code, your jsp and struts-config file so it will be a clear example to use... Renato Aganippe wrote:Jim, I'll be interested in your action code. Thank you, Renato - Original Message - From: To: Struts Users Mailing List Sent: Thursday, August 29, 2002 7:08 PM Subject: Re: Struts and Many Buttons on Single page Have been through this one; originally used option 2 (javascript to on button click to change action), but as we use httpunit to acceptance test, which does not support javascript, we migrated to a third option: Have a generic action to route based on button pressed. In the html: ... In struts config.xml: type = com.whatever.GenericSubmitRouteAction ... The code for the generic submit route action looks for which button was pressed, and maps to the appropriately named forwarding. If anyone is interested in this approach I'll post the code for the routing action. It would be nice if Struts somehow supported this sort of thing (forms with multiple actions based on submit button pressed) inherently. Jim Weaver Software Developer - ThoughtWorks [EMAIL PROTECTED] Renato Aganippe eb.com cc: Subject: Re: Struts and Many Buttons on Single page 08/29/2002 11:22 AM Please respond to Struts Users Mailing List Hi, I see two solution for this. 1) For each button, you can define a different form with a different action attribute 2) You can use a javascript function to change the action attribute Ex: function doSubmit(val) { if (val==1) { document.forms.consult.action='/save.do'; } else if (val==2) { document.forms.consult.action='/remove.do'; } document.forms.consult.submit(); } [input] onClick=doSubmit(1);return false; [input] (confirm('Etes vous certain de vouloir supprimer cet enregistrement ?')) doSubmit(2); return false; type=button value=Delete Hope it will help, Renato - Original Message - From: Ashish Kulkarni To: Struts Users Mailing List Sent: Thursday, August 29, 2002 4:31 PM Subject: Struts and Many Buttons on Single page Hi, I am developing a struts applicatian, I have a jsp page where i have 5 buttons, say Add, Change,Delete, Display. When i click these buttons they must call different jsp with different parameters, how can i do it??? Ashish A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: A$HI$H - Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
RE: [BEER ] Is it Friday Yet?
This is not struts diagram... -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. attachment: WhatEveryOfficeNeeds.jpg -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : RE : [FRIDAY] Official DTD Special Offer
Isn't the answer to reconfigure you mail program to pick up the responsible headers like [tiles] and throw the rest into the trash? from:Michael [EMAIL PROTECTED] date:Fri, 30 Aug 2002 15:11:04 to: [EMAIL PROTECTED] subject: RE : RE : [FRIDAY] Official DTD Special Offer Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:59 PM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer Filter the messages with [FRIDAY] in the topic and delete them from the server. You could do the same thing with [OT] if you wanted. Most reasonable mail clients give you this ability. Regards, Eddie Michael wrote: This is why I really dislike mailing lists. -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] http://www.amazon.co.uk/exec/obidos/redirect-home?tag=velloscouk-21placement=home_multi.gifsite=amazon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : RE : [FRIDAY] Official DTD Special Offer
sometimes ppl just need to relax, and sending totaly useless emails is fun sometimes, just ignore the message, do really read all the messages, from all the mailing lists? just look at the subject if its something you dont care about, dont read it... there is nothing immature about it... just plain old fun... pickup a beer and relax its friday! At 04:11 PM 8/30/2002 +0200, you wrote: Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:59 PM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer Filter the messages with [FRIDAY] in the topic and delete them from the server. You could do the same thing with [OT] if you wanted. Most reasonable mail clients give you this ability. Regards, Eddie Michael wrote: This is why I really dislike mailing lists. -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] cya, Tiago Nodari Need a JSP Developer? I am looking for a job in the US... www.nodari.org
Re: RE : [FRIDAY] Official DTD Special Offer
Send mail to [EMAIL PROTECTED], reply to the response you get. End of off topic e-mails on struts user list. /\/\ark - Original Message - From: Michael [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 9:11 AM Subject: RE : RE : [FRIDAY] Official DTD Special Offer Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:59 PM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer Filter the messages with [FRIDAY] in the topic and delete them from the server. You could do the same thing with [OT] if you wanted. Most reasonable mail clients give you this ability. Regards, Eddie Michael wrote: This is why I really dislike mailing lists. -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[Tiles] Error using controllerClass - says I need to extend Action but I am
When I try to use controllerClass: definition name=plant_list path=/jsp/status/plant_list.jsp controllerClass=com.idtect.oemserver.web.GetAllPlantsAction I get this error: [ServletException in:/jsp/layouts/default_layout.jsp] Controller of class 'com.idtect.oemserver.web.GetAllPlantsAction' should implements 'Controller' or extends 'Action'' My controller class does extend TilesAction (which extends Action): public final class GetAllPlantsAction extends TilesAction { } Am I doing something wrong? Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : RE : RE : [FRIDAY] Official DTD Special Offer
You don't get it. If I was the only one, yes. But there are hundreds of users who don't want to read your crap and about 10 people sending crap. So which behavior is easier to modify? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 4:16 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE : RE : [FRIDAY] Official DTD Special Offer Isn't the answer to reconfigure you mail program to pick up the responsible headers like [tiles] and throw the rest into the trash? from:Michael [EMAIL PROTECTED] date:Fri, 30 Aug 2002 15:11:04 to: [EMAIL PROTECTED] subject: RE : RE : [FRIDAY] Official DTD Special Offer Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:59 PM To: Struts Users Mailing List Subject: Re: RE : [FRIDAY] Official DTD Special Offer Filter the messages with [FRIDAY] in the topic and delete them from the server. You could do the same thing with [OT] if you wanted. Most reasonable mail clients give you this ability. Regards, Eddie Michael wrote: This is why I really dislike mailing lists. -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] http://www.amazon.co.uk/exec/obidos/redirect-home?tag=velloscouk-21plac ement=home_multi.gifsite=amazon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [groupware] Good project management tools
I have no idea if its good, or if it does all that you need, but... http://xplanner.sourceforge.net At 10:21 AM 8/29/2002 +0100, you wrote: Anyone know of good (free) groupware webDAV software? Something like (or better then) Savannah PHProjekt SourceForge BitKeeper It doesn't have to be Java (But that would be a plus). I need something to keep track of different projects, build version that are deployed to client, bug tracking, tasks etc and it needs to be all integrated together. Anything else like build management, cvs manager, email would be a plus, but not needed. Oh easy/fast to install is also a major plus. Cheers dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RE : RE : [FRIDAY] Official DTD Special Offer
I ... hrm ... :-) Even the Great Strut himself (Craig) has made note to those being offended by receiving friday-type messages that struts-user has a long history of being more relaxed on Fridays, and that such messages were considered fine. So, we've got Papa Craig's permission to let our hair down come friday. I do think it would be nice if people could confine that behavior strictly to Friday (this week has gotten a tad out of hand ...), however, I, nor you, have the ability to set precedent - that's up to Craig and the majority to do. Now, seeing as how the majority of folks are not offended by this behavior, and seeing as how many of us welcome it (on friday) as a bit of enlightened distraction, and seeing as how you seem to be in a minority of folks which don't wish to participate -- yes, I think that if you find something that offends you it should be your responsibility to do something about it. I'm not trying to be an ass about this :-) I just don't feel you have no authority over this, and, thus, should get happy and take whatever steps you deem necessary to manage your emails accordingly. I do it - you can too. It's very, very easy -- unless you have a POS email client. ... then that's just *my* opinion - I can't say it's a terribly humble one though ... Regards, Eddie (I bet if you could show that a majority of folks had an issue with it, it would be stopped - however, until then, my advice is to get over it, act like a self-censuring adult, and move on) Michael wrote: Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Help me shake the cobwebs out...
stein:ben Anyone? Anyone? Anyone? /stein:ben From: Craig Tataryn [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Help me shake the cobwebs out... Date: Thu, 29 Aug 2002 17:52:33 -0500 Alrighty, really have been out of the loop for the last year w.r.t Struts, last time I used it was pre-1.0. However, I will be using it on a project shortly and I have been brushing up. Can you help me with this query? I have set a simple demo where I have made a loginUser Action, who's input attribute is /form/loginUser.jsp. Inside the execute method of this action, I simply return mappings.getInputForward(); Fair enough typically in my controller I might have some logic to figure out if the user was valid, and if they are I would forward them to some other handler, if they were invalid I would set some error messages and then do what I did above with the getInputForward() method. However, I then did this in my browser: http://localhost:8080/mywebapp/form/loginUser.jsp and it worked! How did the Struts controller know what form bean to create for that loginUser.jsp? Is it because I have loginUser.jsp as my input attribute of the action? What if I wanted to use the same input view (jsp file) for two separate handlers? How would it decide then which form bean to create? Also, can someone give me the Coles notes version on: 1) DnyaForms 2) Plugins Thanks! /tataryn:craig Craig W. Tataryn Programmer/Analyst Compuware _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Craig W. Tataryn Programmer/Analyst Compuware _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[PROPOSAL] making a new jakarta list.
Hi, [EMAIL PROTECTED] or [EMAIL PROTECTED] So we can share our jokes with all jakarta users ... I think there isn't only struts user who drink beer on Friday ;) --- Eddie Bush [EMAIL PROTECTED] a écrit : I ... hrm ... :-) Even the Great Strut himself (Craig) has made note to those being offended by receiving friday-type messages that struts-user has a long history of being more relaxed on Fridays, and that such messages were considered fine. So, we've got Papa Craig's permission to let our hair down come friday. I do think it would be nice if people could confine that behavior strictly to Friday (this week has gotten a tad out of hand ...), however, I, nor you, have the ability to set precedent - that's up to Craig and the majority to do. Now, seeing as how the majority of folks are not offended by this behavior, and seeing as how many of us welcome it (on friday) as a bit of enlightened distraction, and seeing as how you seem to be in a minority of folks which don't wish to participate -- yes, I think that if you find something that offends you it should be your responsibility to do something about it. I'm not trying to be an ass about this :-) I just don't feel you have no authority over this, and, thus, should get happy and take whatever steps you deem necessary to manage your emails accordingly. I do it - you can too. It's very, very easy -- unless you have a POS email client. ... then that's just *my* opinion - I can't say it's a terribly humble one though ... Regards, Eddie (I bet if you could show that a majority of folks had an issue with it, it would be stopped - however, until then, my advice is to get over it, act like a self-censuring adult, and move on) Michael wrote: Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE : [CRAP] Humor on Struts-User
I think you need to get laid, dude. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:51 AM Because you're filling up my mailbox with them. Just think about it, if 1,000 people each take 5 seconds to read your email, the that's over one hour of lost productivity. Do you enjoy wasting everyone's time? The purpose of the email is to discuss struts. Offtopic is one thing but the comedy is totally out of line. Also when filling up everyone's mailbox with the crap, people will miss important struts-related emails. Michael -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:40 PM If it is labeled off topic ( [OT] ) or Friday ( [FRIDAY] ) then why are you reading it? Methinks you have to many control issues. /\/\ark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Java Server Faces and Developer Life Comments
Hi, I've just finished my first Struts project, and it's been a great experience on how to do and not to do things. This list has been of great help, as well. Anyway, I have some comments to make. Please, don't flame me, because it's just a view someone that needs to be productive. I've developed a project some time ago using .Net framework and Visual Studio. Wonderful experience, very very much productive. Creation of a web interface is just a matter of point and click. First impression: that's what I need for mass production, short 'sell, implement, bill' cycles. Graphical components do keep state during calls, integration is event-oriented, which makes it easy like Visual Basic or Delphi traditional dev. Really easy to learn and use. About Struts: hard to use, lack of good development tools, but years light ahead of pure JSP development. Struts has all the chances of being the way to go. It just needs to be made easier to use, what means: GUI development. I've seen some options: Eclipse+EasyStruts, StrutsBuilder, StrutsConsole - great tools, but none of them really make GUI+Struts integration easy, they are more like wizards, and need a lot of work yet. Even though, I'm passionate about Java, I need to recognize: M$ really makes UI development a lot easier than Sun/Java/Open Source Community. If you ever developed a VB app and a Swing-based Java app, knows what I mean. The point is: M$ approach is make it easy, our approach is make it generic, and conceptually beautiful. M$ approach is sell it, do it fast with small costs, have more profit. I haven't read the entire JSF spec, but I've seen the tutorial, and as far as I understand it, JSF does not make programming UI interface much easier than Struts. Any comments? The matter is: I have a family, and want to get home earlier, not 4:00AM. A lot of philosophy and online psychoterapy for FRIDAY, but... :) Cheers, Elderclei R Reami Vertis Tecnologia +55 11 3887-0835 www.vertisnet.com.br -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [PROPOSAL] making a new jakarta list.
We already went through this suggestion. The short of it is: Don't expect it to happen. Emmanuel Boudrant wrote: Hi, [EMAIL PROTECTED] or [EMAIL PROTECTED] So we can share our jokes with all jakarta users ... I think there isn't only struts user who drink beer on Friday ;) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[VALIDATOR] Bad Error Message when Validating a Range
Sorry to repost this, but it got buried in a bunch of biere messages yesterday... I'm trying to validate a range using the validator. I've got this in validation.xml... form-validation formset form name='loginForm' field property='number' depends='range' arg0 key='login.number.displayName'/ arg1 name='min' key='${var:min}' resource='false'/ arg2 name='max' key='${var:max}' resource='false'/ var var-namemin/var-name var-value5/var-value /var var var-namemax/var-name var-value10/var-value /var /field /form /formset /form-validation ...and this is how the field is defined in the form: html:form action='login.do' focus='name' table tr tdfmt:message key='login.number.displayName'/td tdhtml:text property='number'//td /tr /table /html:form The validation works: If I enter a value outside of the range, I get an error, and if not, I don't. But it's the error message that's the problem: Number is not in the range null through null. For some reason, even though the validator uses the correct min and max for validation, the error message doesn't reflect that. I've got the field display name and error message defined in my resource bundle, like this: login.number.displayName=Number errors.range={0} is not in the range {1} through {2}. Does anyone know what's wrong? Thanks, david
Re: RE : [CRAP] Humor on Struts-User
LMAO - Mark, you're terrible! ... terribly RIGHT, me thinks! :-P I think that adults should act as adults - some prefer to act like whiney children though ... Galbreath, Mark wrote: I think you need to get laid, dude. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:51 AM Because you're filling up my mailbox with them. Just think about it, if 1,000 people each take 5 seconds to read your email, the that's over one hour of lost productivity. Do you enjoy wasting everyone's time? The purpose of the email is to discuss struts. Offtopic is one thing but the comedy is totally out of line. Also when filling up everyone's mailbox with the crap, people will miss important struts-related emails. Michael -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:40 PM If it is labeled off topic ( [OT] ) or Friday ( [FRIDAY] ) then why are you reading it? Methinks you have to many control issues. /\/\ark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE : RE : [FRIDAY] Official DTD Special Offer
-Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Because you're filling up my mailbox with them. Just think about it, if 1,000 people each take 5 seconds to read your email, the that's over one hour of lost productivity. Do you enjoy wasting everyone's time? The purpose of the email is to discuss struts. Offtopic is one thing but the comedy is totally out of line. Lol, click -- Delete doesn't take me five minutes. If it takes you that long I'd suggest email is the least of your worries ;) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: RE : RE : [FRIDAY] Official DTD Special Offer
-Original Message- From: Mark Kaye Lol, click -- Delete doesn't take me five minutes. If it takes you that long I'd suggest email is the least of your worries ;) Ahh rats, he said 5 seconds. DUH. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [CRAP] Humor on Struts-User
My Friday is now complete. /\/\ark - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 9:35 AM Subject: RE : [CRAP] Humor on Struts-User I think you need to get laid, dude. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:51 AM Because you're filling up my mailbox with them. Just think about it, if 1,000 people each take 5 seconds to read your email, the that's over one hour of lost productivity. Do you enjoy wasting everyone's time? The purpose of the email is to discuss struts. Offtopic is one thing but the comedy is totally out of line. Also when filling up everyone's mailbox with the crap, people will miss important struts-related emails. Michael -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:40 PM If it is labeled off topic ( [OT] ) or Friday ( [FRIDAY] ) then why are you reading it? Methinks you have to many control issues. /\/\ark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[VOTE] Should this list discontinue it's long,treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Dynamic name to the text fields
On 8/30/2002 at 7:28 PM Anoop wrote: Hi All, I am a newbie to struts and taglibs, was trying to display text fields dynamically using html:iterator. Below is the scenario I was trying out. You may be in luck, I've been recently trying to learn how to do something similar myself. snip/ The html snippet for the above is something like: input type=text name=org value=Org1 input type=text name=org value=Org2 But I want it to be something like: input type=text name=a value=Org1 input type=text name=b value=Org2 Where the values(a b) for the name attribute comes from an array defined in the Form Bean. What are the changes required in my jsp snippet? Also, if only it is possible to get an output as desired, does the FormBean be modified to support this. As there won't be any getter/setter for a and b. Appreciate any kind of help regarding this. First, google around for map-backed ActionForms or similar. There's some stuff over on jguru that might be helpful. Also, I'm trying to write documentation for the struts user's guide for this, so I'd appreciate your comments on how (un)clear the following is (apologies for the formatting, my mail client sucks): section name=4.2.3 Map-backed ActionForms href=map_action_form_classes pThe DynaActionForm classes offer the ability to create ActionForm beans at initialization time, based on a list of properties enumerated in the struts configuration file. However, many HTML forms are generated dynamically at request-time. Their ActionForm beans' properties are not all known ahead of time, so we need a new approach./p pStruts allows you to make one (or more) of your ActionForm's properties ' values a Map instead of a traditional atomic object. You can then store your form's dynamic fields' data in that Map. Here is an example of a map-backed ActionForm class:/p pre ![CDATA[ public FooForm extends ActionForm { private final Map values = new HashMap(); public void setValue(String key, Object value) { values.put(key, value); } public Object getValue(String key) { return values.get(key); } } ]] /pre pIn its corresponding JSP page, you can access objects stored in the values map using a special notation: imapname(keyname)/i. The parantheses in the bean property name serve to indicate that the bean property named imapname/i should be a Map, and that struts should look at the value stored with the key ikeyname/i in that Map to find the real property for imapname(keyname)/i./p pHere is a simple example:/p pre ![CDATA[ html:text property=value(foo)/ ]] /pre pThis will call the getValue() method on FooForm with a key value of foo to find the property value. To create a form with dynamic field names, you might do something like this:/p pre ![CDATA[ % for (int i=0; i10; i++) { String name = value(foo- + i + ); html:text property=%=name%/br/ % ]] /pre /section Hope it helps, thanks in advance for any comments. - donald -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RE : [FRIDAY] Official DTD Special Offer
That's a bit harsh. I don't see any reason for such an action. I do feel we should all act like responsible adults though. If something offends you, either ignore it or remove it (or let your email client do it for you, so you don't have to waste any more time than absolutely necessary) Mark Nichols wrote: Send mail to [EMAIL PROTECTED], reply to the response you get. End of off topic e-mails on struts user list. /\/\ark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [PROPOSAL] making a new jakarta list.
Please do...I subscribe to several list and would prefer to not receive off-topic e-mails or have to create unnecessary e-mail rules to filter those types of e-mails (no offense). Thanks! -Original Message- From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:34 AM To: Struts Users Mailing List Subject: [PROPOSAL] making a new jakarta list. Hi, [EMAIL PROTECTED] or [EMAIL PROTECTED] So we can share our jokes with all jakarta users ... I think there isn't only struts user who drink beer on Friday ;) --- Eddie Bush [EMAIL PROTECTED] a écrit : I ... hrm ... :-) Even the Great Strut himself (Craig) has made note to those being offended by receiving friday-type messages that struts-user has a long history of being more relaxed on Fridays, and that such messages were considered fine. So, we've got Papa Craig's permission to let our hair down come friday. I do think it would be nice if people could confine that behavior strictly to Friday (this week has gotten a tad out of hand ...), however, I, nor you, have the ability to set precedent - that's up to Craig and the majority to do. Now, seeing as how the majority of folks are not offended by this behavior, and seeing as how many of us welcome it (on friday) as a bit of enlightened distraction, and seeing as how you seem to be in a minority of folks which don't wish to participate -- yes, I think that if you find something that offends you it should be your responsibility to do something about it. I'm not trying to be an ass about this :-) I just don't feel you have no authority over this, and, thus, should get happy and take whatever steps you deem necessary to manage your emails accordingly. I do it - you can too. It's very, very easy -- unless you have a POS email client. ... then that's just *my* opinion - I can't say it's a terribly humble one though ... Regards, Eddie (I bet if you could show that a majority of folks had an issue with it, it would be stopped - however, until then, my advice is to get over it, act like a self-censuring adult, and move on) Michael wrote: Do you really think it's reasonable for me to reconfigure my mail program to filter messages every time someone decides to create a new off topic subject (OT, FRIDAY, BEER, etc.)? Wouldn't it be much easier to limit emails to relevant topics? I'm on several mailing lists and none of them contain blatant off topic totally useless emails like this one does. Really it's totally immature and instead of justifying it by telling hundreds of people to reconfigure their mail client I think it should stop! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long,treasured heritage of relaxed fridays?
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( x ) No If it's a matter of heritage then of course not. It's all in the wording :) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
( ) Yes ( X ) No - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users List [EMAIL PROTECTED] Sent: Friday, August 30, 2002 4:47 PM Subject: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [Tag Protocol] How to let newbies know?
if you know where to download,post to me! Thanks - Original Message - From: Daniel Joshua [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 30, 2002 11:35 AM Subject: RE: [Tag Protocol] How to let newbies know? Anyone know where can I download this DTD for emails' subject field ? LoL -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 3:26 AM To: 'Struts Users Mailing List' Subject: RE: [Tag Protocol] How to let newbies know? A DTD? Great idea Mark -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:20 PM Next someone'll ask for a description of the tag Sri -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) NO --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:47 AM To: Struts Users List Subject: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( x ) No -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:47 AM To: Struts Users List Subject: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
( ) Yes ( X ) No -- but keep in mind when friday starts ;-))) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Freitag, 30. August 2002 16:47 To: Struts Users List Subject: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [OOPS-VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Ooopsit's friday and I don't understand the question, My answer is ( ) Yes ( X ) No Of course !!! ps: I'm so tired and my english is poor on friday ;) --- Eddie Bush [EMAIL PROTECTED] a écrit : Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heri tage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( x ) No --- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chikli.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes (X ) No However, this week it started on Wednesday, which I think is the major complaint. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: RE : [FRIDAY] Official DTD Special Offer
I guess it was a bit harsh. I just was tired of someone creating more OT messages complaining about all the OT messages and wanting the OT messages to stop. I guess I should have paused before hitting send on the unsubscribe message. Apologies all around. For myself, these OT threads are a great way to blow off some stress from the week. Also, it is nice to see that I'm not the only one out here who gets fed up with this work from time to time and expresses that emotion through sometimes biting humor. Work hard, play hard. /\/\ark - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 30, 2002 9:49 AM Subject: Re: RE : [FRIDAY] Official DTD Special Offer That's a bit harsh. I don't see any reason for such an action. I do feel we should all act like responsible adults though. If something offends you, either ignore it or remove it (or let your email client do it for you, so you don't have to waste any more time than absolutely necessary) Mark Nichols wrote: Send mail to [EMAIL PROTECTED], reply to the response you get. End of off topic e-mails on struts user list. /\/\ark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] Should this list discontinue it's long,treasured heritage of relaxed fridays?
John Owen wrote: However, this week it started on Wednesday, which I think is the major complaint. Yes, I believe this week has been a bit out-of-line. One of the dangers in not self-disciplining ourselves (keeping friday-like topics to friday) is that we'll fall into the quandry we have this week - people dissing the 'friday' topics and yelling down with the infidels! whilest carrying burning torches. I agree with this sentiment very much. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
( ) Yes ( X ) NO On Fri, 2002-08-30 at 15:51, Galbreath, Mark wrote: Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) NO --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Regards --- Cliff Rowley| [EMAIL PROTECTED] Software Engineer | www.doctype.co.uk +44 (0) 1206 514263 | www.cliffrowley.com --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] Should this list discontinue it's long, treasured heritageof relaxed fridays?
On Fri, 30 Aug 2002, Eddie Bush wrote: Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No And I'm sure for those who think that filtering is too difficult, the Friday posters could happily agree to just label Friday posts as [FRIDAY] to make filtering easier. Yes? (Although I'm getting the feeling that you need to filter for [BEER] as well.) -- stu: www.stuology.net It just no longer is plain simple safe fun when it's the psycho chimp that has the ray gun Stuology -- A million monkeys can't be wrong -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Muliple Data Sources
Anyone done this successfully? I have the December 2001 release of Struts (I think this is 1.0) and I am developing a webapp that has a need for two datasources. I modified the struts-config and, leaving the default data-source without a key, added the new data-source (same Oracle database - diff user/pwd). ... data-source set-property property=key value=loadFoo/ set-property property=autoCommit value=false/ set-property property=description value=Oracle / set-property property=driverClass value=oracle.jdbc.driver.OracleDriver / set-property property=maxCount value=50/ set-property property=minCount value=1/ set-property property=url value=jdbc:oracle:thin:@192.168.0.10:1521:dev / set-property property=user value=foo/ set-property property=password value=bar/ /data-source ... The Application class calls: public void initDatabase() { // try to get a db handle DataSource ds = null; Connection dbConn = null; try { ds = super.findDataSource(null); dbConn = ds.getConnection(); } catch (Exception e) { return; } . I gen the .war file and deploy it. Tomcat starts and you see the first data-source load and: org.apache.struts.util.GenericDataSource properties are set to the default (null key). Then you see the second data-source load and the GenericDataSource properties are set to the second data-source. Now - when the inits run, he runs the queries against the second data-source even though I am using the null value for DATA_SOURCE_KEY. ARGGH! I stumbled through the Digester code and the format of data-source seems correct. Can anyone assist? I am pulling what little hair I have left out :o) Thanks in advance. Brian BTW - I also tried naming the default data-source with a key = default - no go. He loads, but the behavior is the same. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? [addendum: Friday is herein defined as the sixth day of the week. A week is defined as a seven day period that begins with a day designated Sunday and ends on a day designated Saturday. Friday does not mean all week or parts of a week it means a single day as here defined] ;-p ( ) Yes ( X ) No -Original Message- From: John Owen [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:58 AM To: Struts Users Mailing List Subject: Re: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes (X ) No However, this week it started on Wednesday, which I think is the major complaint. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: problem with image src tag
-Original Message- From: Leonard Wolters [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 7:00 AM To: Struts Users Mailing List (E-mail) Subject: problem with image src tag I'm running an entreprise application deployed on jboss with tomcat / catalina. How come img src=/displayPhoto does not work but img src=http://localhost:8080/IZJNApp/displayPhoto; does work ? Does anyone know how to solve this !?!? This is the struts-user mailing list, not a list for general problems with HTML. Nevertheless, I'll give it a stab. I'm going to guess your application context root is /IZJNApp? You should probably try: img src=/IZJNApp/displayPhoto
RE: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[logic]Testing for null value
Using Struts 1.0.2 on Tomcat 4.0.2 I see that the logic:empty is only available in Struts 1.1 How does one test for a null value using Struts 1.0 tags? logic:equal property=foo value=%=null% %-- do something --% /logic:equal will not work since deep in the bowels of the logic:equal it does a value.length() and barfs on the null. An ugly workaround is for the form bean to have an isNull() method for the property foo. Sri
Re: [VOTE] Should this list discontinue it's long,treasured heritage of relaxed fridays?
( ) Yes ( X ) No - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users List [EMAIL PROTECTED] Sent: Friday, August 30, 2002 9:47 AM Subject: [VOTE] Should this list discontinue it's long,treasured heritage of relaxed fridays? Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( ) No --- Rather than being a jerk, as some people don't mind to do, I thought it would be very much in the spirit of your community to let everyone have a say. Cast your vote! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
action mapping question
Hi, Having a few problems getting my application working properly. Basically I've got a logon.jsp page which posts to logon.do action, which then validates and if successfull outputs search.jsp (shows in the browser as /logon.do ). then on search.jsp i have 2 forms, one to search.do and one to logoff.do here's my action mapping for logoff: action path=/logoff type=struts1.action.LogoffAction name=logoffForm input=/logon.do scope=request forward name=success path=/logon.jsp/ forward name=failure path=/logon.jsp/ /action first of all, i dont want to use a bean for the logoff action but it complains otherwise, so for now i've used a form with a attribute dummy with get/set/reset/validate methodsis there a way not to have to do this? if i dont have a form, I get an exception complaining the form bean is null. second, what should 'input' be? if i leave it as /logon.do then it works, but also if i put it as /tapssearch.jsp it works..so what should it be? and how can i set action-mapping to accept input from any page, seeing as for example i'll want to be able to log-off from any one of the pages(bar the logon one of course!) So that i dont have to write an action mapping for every page that has a logoff form cheers -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [VOTE] Should this list discontinue it's long, treasured heritage of relaxed fridays?
Despite I'm a newcomer in thins list... I'll make a decision.. and It is: ( ) Yes (X) No :-D Patricio Salinas Mazza, Glen R, PERSCOM wrote: Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( X ) No -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]