RE: stop user from clicking the submit button twice

2004-01-30 Thread Dan Payne
You may also want to check out http://www.javaworld.com/javatips/jw-javatip136_p.html Summary Struts, from the Apache Jakarta Project, implements the Synchronizer Token pattern to prevent duplicate form submission. Applying this pattern, you can detect this situation and follow an alternate

Need help forming Response object

2004-01-16 Thread Dan Payne
I would like to be able to construct a HTTP POST response and send it to a specific server. This would be outside of a typical client request/response chain. What is happening (perhaps there is a better way to do this?) is a new user signs up for a member account on our website. The form is

RE: [OT] HTML Select box

2003-12-19 Thread Dan Payne
Hey Jerry, You can achieve this by placing your down arrow button next to your single-line select box. In the button's onClick parameter, call a javascript method that change's the elements size attribute from 1 to 10 or whatever. That should do the trick. You'll probably want to code the method

RE: BUG!!! FormFile

2003-12-19 Thread Dan Payne
Drottninggatan 18, S-211 49 Malmö, Sweden |-+--- | | Dan Payne | | | stairwaymail-struts| | | @yahoo.com | | | | | | 2003-12-18 16:28

RE: BUG!!! FormFile

2003-12-18 Thread Dan Payne
BLUEWAVE SVERIGE M. +46 (0)40-631 1068 F. +46 (0)40 -631 10 50 F. +46 (0)46-540 03 50 Drottninggatan 18, S-211 49 Malmö, Sweden |-+--- | | Dan Payne | | | stairwaymail-struts

RE: BUG!!! FormFile

2003-12-17 Thread Dan Payne
I have the same problem but ONLY with Opera 7.2x I'm using Struts 1.1 and with Opera 7.1 everything worked fine. The formFile field could be left blank. When I upgraded to 7.2 it began to throw a argument type mismatch when the formFile field was left blank. Could this be the source of your

RE: html:img is not getting recognised.

2003-12-17 Thread Dan Payne
Wouldn't it need to be html-el:img page=/images/cal.gif onClick=popUpCalendar(this, ParameterEditForm.endDate, 'dd-mmm-',46,735) / as using src won't append the context? -Dan -Original Message- From: Yves Sy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 2:55 AM To:

RE: context relative image reference in a CSS file

2003-01-10 Thread Dan Payne
by the *browser* relative to the location of the CSS file itself. What file(s) the link to your CSS file is found in is irrelevant for this interpretation, only the location of the CSS file matters. peace, Joe -Original Message- From: Dan Payne [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

context relative image reference in a CSS file

2003-01-09 Thread Dan Payne
I recall seeing someone mention a project on sourceforge that allowed one to make context independent references to images from the context root within CSS files. Anyone? Or perhaps another solution? I've got this entry in my stylesheet.css file: ul { list-style-image:

RE: context relative image reference in a CSS file

2003-01-09 Thread Dan Payne
(html-el:rewrite page=/images/li.gif/); } /style This is all I was able to figure out. Does anybody have any better ideas? Thanks, Justin - Original Message - From: Dan Payne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 5:31 PM

context relative image in message-resources file

2002-12-07 Thread Dan Payne
How do I include a context relative image in the errors.header entry of my message-resources file? Specifically, I'd like to achieve the following: errors.header = tabletrtdimg src={context}/images/error.gif/tdtd errors.footer = /td/tr/table I've checked the API and mailing list archives but

RE: [OT] Eclipse and webapp organization

2002-10-31 Thread Dan Payne
the project root. The tomcat plugin is helpful for web development: http://www.sysdeo.com/eclipse/tomcatPlugin.html David From: Dan Payne [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] Eclipse and webapp organization Date: Thu, 31

RE: [OT] Eclipse and webapp organization

2002-10-31 Thread Dan Payne
is helpful for web development: http://www.sysdeo.com/eclipse/tomcatPlugin.html David From: Dan Payne [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] Eclipse and webapp organization Date: Thu, 31 Oct 2002 11:42:54 -0600 I've started

RE: Pager taglib doesn't work

2002-10-10 Thread Dan Payne
Hallo Christoph. I have had the same problem. The pager taglib works great on tomcat up to 4.1.x, so you may want to downgrade to 4.0.5, which I'm using with the pager taglib no problem. I've notified the folks who authored the pager taglib, but no word back from them. We'll see. In the

RE: Has anyone integrated SecurityFilter within a Struts app?

2002-09-18 Thread Dan Payne
Darren, I've successfully implemented the SecurityFilter with Tomcat 4.1.10, MySQL and JDBC Realm. Anything I can help you with? -Dan -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 7:43 AM To: 'Struts Users Mailing List' Subject: Has

RE: sites powered by struts

2002-09-11 Thread Dan Payne
Yep. I'm the guy behind www.specialolympicstexas.org. It's running on a RH Linux box with Struts and MySQL. There's still a bevy of features in development, but there is still quite a bit up there to surf around in. -Dan -Original Message- From: Jefferson R. de O. e Silva

RE: [Dan] Security and Struts

2002-09-11 Thread Dan Payne
. -Original Message- From: Dan Payne [mailto:[EMAIL PROTECTED]] Sent: September 10, 2002 6:51 PM To: Struts Users Mailing List Subject: RE: RE: Security and Struts Darren, I'm currently using the security filter in my Struts based app in conjunction with a JDBC realm. It works seemlessly

RE: sites powered by struts

2002-09-11 Thread Dan Payne
Shoot me. Is that bad? -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 11:06 AM To: 'Struts Users Mailing List' Subject: RE: sites powered by struts Ouch ... do I see a .jsp in the address ... ;) -Original Message- From: Dan

Portability issue?

2002-09-11 Thread Dan Payne
I've got a JSP in my struts app that runs fine on my windows dev box running TC 4.1.10, JDK 1.4.0_01 but when I go live with it on my RH Linux box (TC 4.0.4, JDK 1.4.0_01) it takes over 30 seconds to load. The page contains an action form and, admittedly, a ton of html:multibox and html:radio and

RE: RE: Security and Struts

2002-09-10 Thread Dan Payne
Darren, I'm currently using the security filter in my Struts based app in conjunction with a JDBC realm. It works seemlessly. My only qualm at this point is I can't get the security filter to work with MD5 digesting, although Max Cooper is looking into it and may add support in the near

RE: [TEST]

2002-09-06 Thread Dan Payne
Nah, it was in the evening. He was asking if anyone was active at the time of the posting. Und ich war. -Original Message- From: John Owen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 2:56 PM To: Struts Users Mailing List Subject: Re: [TEST] He's asking if the list is

Struts Action breakdown with TC 4.1.0 upgrade

2002-09-06 Thread Dan Payne
I just upgraded from Tomcat 4.0.4 to 4.1.0 and now none of my action mappings work. Getting the No action instance for path /home could be created. Everything worked fine in 4.0.4. Anybody run into this as well? Could there be something I inadvertanly overlooked in re-seting up struts?

RE: [TEST]

2002-09-03 Thread Dan Payne
Ja, diese Liste ist ja so da. -Original Message- From: Peter A. J. Pilgrim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 5:49 PM To: Struts Dev; Struts User Subject: [TEST] testing 1 2 3: Ist diese Liste noch da oder nicht? -- Peter Pilgrim -- To unsubscribe, e-mail:

[NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Dan Payne
Trying to deploy an application with Struts 1.0.1 with Tomcat 4.0.4 using Tomcat's JDBC realm for user authentication. Trying to avoid an Invalid direct reference to form login page. Need to make a login page available to the Realm (/users/login/index.jsp) but also want to offer the opportunity

RE: [NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Dan Payne
you want to deploy your application somewhere that they do not allow you to add to their server configuration (which is a prerequisite for using CMA), you're able to. HTH, Eddie Dan Payne wrote: Trying to deploy an application with Struts 1.0.1 with Tomcat 4.0.4 using Tomcat's JDBC realm

RE: [NEWBIE] STRUTS, TC and JDBC Realm

2002-08-30 Thread Dan Payne
to configure/deploy your realm with your application. Should you want to deploy your application somewhere that they do not allow you to add to their server configuration (which is a prerequisite for using CMA), you're able to. HTH, Eddie Dan Payne wrote: Trying to deploy an application with Struts 1.0.1

user accounts question

2002-08-27 Thread Dan Payne
All, Love using struts and enjoy this informative mailing list. This email is a bit off topic but alas, this is the list I subscribe to and I figure I'll definitely get an informed response, which is what I'm looking for. Designing a database for a client's site. The four tables in question