Re: Getting Context within

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: (List) > request.getAttribute("downloadList").iterator

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

Getting Context within

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: How can I do something like this inside the : <%@ page import="com.oe.wa.cal.bean.DownloadBean" %> <% DownloadBean db = (DownloadBean) request.getAttribute("download")

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 c

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

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: Advice on Handling From Validation

2008-03-09 Thread Jon Wynacht
sy 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: J

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 ac

Re: Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
Mike Baroukh wrote: Hi. Maybe it has worked before, but I think 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 re

Re: Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
re, but I think 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

Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
#x27;t Any ideas? Am I missing something really obvious or was I bending the rules a bit and taking chances with my 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: Too many open files

2007-05-11 Thread Jon Wynacht
en too many 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.

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: AW: Too many open files

2007-05-09 Thread Jon Wynacht
üngliche 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 mess

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" Sent: Sunday, May 06, 2007

Too many open files

2007-05-06 Thread Jon Wynacht
base stuff? I'm 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 ter

Application Modules

2006-12-13 Thread Jon Wynacht
ct="false" /> Any help or advice is appreciated. Heckles and jeers are too! Thanks, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Migrating Struts App From TC 4 -> 5

2006-11-15 Thread Jon Wynacht
's not a Struts-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 sh

Re: Migrating Struts App From TC 4 -> 5

2006-11-15 Thread Jon Wynacht
not ;-( Jon On Nov 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

Re: Migrating Struts App From TC 4 -> 5

2006-11-15 Thread Jon Wynacht
need one in tomcat lib, also 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 User

Migrating Struts App From TC 4 -> 5

2006-11-14 Thread Jon Wynacht
. 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: ArrayList, Arrays and

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 answ

Re: ArrayList, Arrays and

2005-11-18 Thread Jon Wynacht
Thanks for the info. I did end up doing it this way and it worked out well. Thanks, Jon On Nov 17, 2005, at 4:46 PM, Laurie Harper wrote: Jon Wynacht wrote: ... You see, when I iterate through the ArrayList, I do something like this: value=" .. For starters, the just gives

ArrayList, Arrays and

2005-11-17 Thread Jon Wynacht
Hi, I have a question that might have already been answered but I wasn't sure how to search for the answer, etc. so I'll ask it and take the abuse, if given ;-) I have a form which is set up to have N number of line items. Initially, there is only one item in the form, which stores all