Getting Context within logic:iterate/

2009-11-18 Thread Jon Wynacht
Hi, So I think I have a better way to ask my question ;-) Given something like this block of tags: logic:iterate id=download name=Downloads bean:write name=download property=displayName/br / bean:write name=download property=description/ /logic:iterate How can I do something

Re: Question about objects in a JSP

2009-11-18 Thread Jon Wynacht
Ahhh...that's cool. Thanks! On Nov 18, 2009, at 12:29 PM, ben_979 wrote: By 'old struts', I'm assuming 1.x ... In our application, our application sets values into the request with request.setAttribute(varName, var) and then references the variables in the jsp with (for example) c:out

Re: Getting Context within logic:iterate/

2009-11-18 Thread Jon Wynacht
Yupthanks! On Nov 18, 2009, at 8:30 AM, Brian Thompson wrote: Something like the following should work (double-check the syntax though!): %@ page import=com.oe.wa.cal.bean.DownloadBean % % for (DownloadBean db: (ListDownloadBean) request.getAttribute(downloadList).iterator())

Question about objects in a JSP

2009-11-17 Thread Jon Wynacht
Hi, I'm working on an old Struts program for a client and I have a question about access objects in a JSP page. There is an Event object which has properties of hour, minute and second. I need to determine if those properties are present and with a value or present and empty. It seems like I

Sending Email Notifications

2008-05-01 Thread Jon Wynacht
Hi, I have a Struts action that, when invoked, needs to send email to about 50 people. From what I've read in this forum it seems I should use JMS for this. Any suggestions on which route to take? I'm running Tomcat 5.5.20. Any pointers? Is this overkill? Better solutions? Thanks, Jon

Re: Sending Email Notifications

2008-05-01 Thread Jon Wynacht
but I don't see any replies ;-( Any chance you can forward them to me? Thanks, Jon On May 1, 2008, at 4:49 AM, Jeromy Evans wrote: Jon Wynacht wrote: Hi, I have a Struts action that, when invoked, needs to send email to about 50 people. From what I've read in this forum it seems I should

Re: Advice on Handling From Validation

2008-03-09 Thread Jon Wynacht
to do that. I'll probably go that path for now. Thanks, Jon On Mar 8, 2008, at 6:43 PM, Peters, John wrote: Why not use JavaScript for preliminary validation of the form? Sounds like your main issue is a user not entering a value in a field. -Original Message- From: Jon Wynacht

Advice on Handling From Validation

2008-03-08 Thread Jon Wynacht
Hi, I have the following scenario running with an application: 1. A setup action gets called and a form bean gets created, some lists in the form bean are populated with collections and then the whole mess gets sent to the user. 2. The user fills out the form and clicks save. 3. A save

Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
data in my previous config? Cheers and thanks, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
you actually make an error : If you already send a stream back to the client, it's not logic to return mapping.findForward() because nothing else can be send to the browser at this point. You should simply return null ... Mike Jon Wynacht a écrit : Hi, I asked this question of the POI user

Re: Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
PROTECTED] Author of Practical Ajax Projects With Java Technology (2006, Apress, ISBN 1-59059-695-1) and JavaScript, DOM Scripting and Ajax Projects (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! Jon Wynacht

Re: Too many open files

2007-05-11 Thread Jon Wynacht
files you would see it. lsof list every files, tcp connection included. Can you reproduce easyly the error ? Mike Jon Wynacht a écrit : Would I look for things that are related to Tomcat/MySQL/Struts? I only see about 20 items listed, none of which have anything to do with my app. Jon On May 7

Re: AW: Too many open files

2007-05-09 Thread Jon Wynacht
Nachricht- Von: Antonio Petrelli [mailto:[EMAIL PROTECTED] Gesendet: Montag, 07. Mai 2007 09:15 An: Struts Users Mailing List Betreff: Re: Too many open files 2007/5/7, Jon Wynacht [EMAIL PROTECTED]: Hi, I've got an app that, when it gets heavy usage, often dies with this message: May 5, 2007 5:38

Re: Too many open files

2007-05-09 Thread Jon Wynacht
wich files are actually opened by your app ? It may help to find wich part open so many files ... From my experience, each times I had this problem, it was because of Lucene ... Mike Jon Wynacht a écrit : Whoops, sorry. 1.5 On May 6, 2007, at 3:27 PM, Martin Gainty wrote: JRE/JDK version

Re: Too many open files

2007-05-07 Thread Jon Wynacht
in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Jon Wynacht [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, May 06, 2007 6:17 PM

Too many open files

2007-05-06 Thread Jon Wynacht
running Struts 1.3.5 with MySQL. Cheers and thanks in advance, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Application Modules

2006-12-14 Thread Jon Wynacht
Ah...that's it...thanks! Jon On Dec 13, 2006, at 5:06 PM, Jerome Gagner wrote: Don't need to include the .do in html:link On 12/13/06, Jon Wynacht [EMAIL PROTECTED] wrote: Hi, I am implementing modules in my application and I want to know the best way to do that in terms of how I want

Application Modules

2006-12-13 Thread Jon Wynacht
name=SUCCESS path=/coach_group_calendar.jsp redirect=false / forward name=FAILURE path=/index.jsp redirect=true / /action Any help or advice is appreciated. Heckles and jeers are too! Thanks, Jon Jon Wynacht [EMAIL PROTECTED] http

Re: Migrating Struts App From TC 4 - 5

2006-11-15 Thread Jon Wynacht
there are probably conflicts, check common/ endorsed dir, it probably has xml parser jars in it , remove them, that might help. Levan -Original Message- From: Jon Wynacht [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 2:11 AM To: Struts Users Mailing List Subject: Migrating Struts

Re: Migrating Struts App From TC 4 - 5

2006-11-15 Thread Jon Wynacht
15, 2006, at 8:12 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, Jon Wynacht wrote: For starters, it coughed up a ton of warning messages about not being able to find the SAX parser. So I put xalan.jar, xercesImpl.jar, xml- apis.jar and xmlParserAPIs.jar

Re: Migrating Struts App From TC 4 - 5

2006-11-15 Thread Jon Wynacht
-related issue and I'll move my discussion to the Tomcat list... Thanks for the help here Jon On Nov 15, 2006, at 8:49 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, Jon Wynacht wrote: Hi Chris, Here's the info, I should be good to go: [snip: you

Migrating Struts App From TC 4 - 5

2006-11-14 Thread Jon Wynacht
, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ArrayList, Arrays and logic:iterate/

2005-11-18 Thread Jon Wynacht
Thanks! I went with my original setup and things are working well. A bit more coding than I wanted but that's OK ;-) On Nov 17, 2005, at 5:36 PM, Michael Jouravlev wrote: On 11/17/05, Jon Wynacht [EMAIL PROTECTED] wrote: Hi, I have a question that might have already been answered but I