using struts validator for a form-property of type="org.apache.struts.upload.FormFile"

2007-01-24 Thread Fleetwood, Brett \(DCS\)
;m quite new to this and if i've omitted anything then please let me know. Thanks in advance, Brett.

Re: sslext -- anyone using it?

2006-09-15 Thread Brett Connor
Huh. Completely the wrong post to reply to. Sorry folks... this of course was meant for the "Oracle Sequence" question. Brett Quoting Brett Connor <[EMAIL PROTECTED]>: > selecting max... isn't a viable solution, because of other sessions as you > say. > Assuming y

Re: Out of topic, Oracle SEQUENCE

2006-09-15 Thread Brett Connor
ted keys in the 'C' i/f, my memory's rusty for JDBC but I know there is a way somewhere to get the key values in the same statement, rather than have to execute another statement for 'curval'. getGeneratedKeys() may be it. HTH Brett Quoting Daniel Chacón Sánchez <

Re: sslext -- anyone using it?

2006-09-15 Thread Brett Connor
but I know there is a way somewhere to get the key values in the same statement, rather than have to execute another statement for 'curval'. getGeneratedKeys() may be it. HTH Brett Quoting Michael Rush <[EMAIL PROTECTED]>: > I'm looking into implementing something to force

Re: email validation

2006-04-26 Thread Brett Connor
", " _ ", " @ " characters. This is definately incorrect. Certainly + for example is legal in the local name part. I've been unable to give money to one or two companies who's email registration have had this validation bug. Shame. Brett Connor Quoting Bart

Re: Regex works in Java but not in Struts Validator

2006-01-23 Thread Brett Connor
(the part before the @). So there are many other characters that can legally appear. If I have to do my own regexp I typically use something like [EMAIL PROTECTED]@[A-Za-z0-9_-]. etc Regards Brett Connor - To unsubsc

Re: Loosing my form bean instance...

2005-07-12 Thread Brett
use a temporary form object is so I can cast the form into an object with the correct methods to call. Brett Martin Gainty wrote: Is there a reason why you are creating a temporary form object in your execute instead of using the original? M- - Original Message - From: "Hubert R

Re: Loosing my form bean instance...

2005-07-12 Thread Brett
Apologies The session and request scope discrepency was in there by mistake - that was me debugging. Originally all was set to request. Unfortunatley it makes no difference whether it is all set to request or session. So it's something else! Brett Hubert Rabago wrote: The form y

Re: Loosing my form bean instance...

2005-07-12 Thread Brett
uot;); } Note: the string 'moo' does indeed contain the correct sql_stmt as constructed by the form bean Martin Gainty wrote: Brett- Can we see the code for your Bean com.ftid.mis.form.apache_connection_stats ? specifically the getSql_stmt() method ? Martin- - Original Mes

Loosing my form bean instance...

2005-07-12 Thread Brett
Hi I have a problem that is driving me crazy. I have a fairly simple struts web app with a jsp form that submits to a form bean, with an action set up and a display page. I have built a few struts apps and never had such a basic problem: The jsp submits the data and the form bean recieves it

Re: [OT] Automatic Javadoc - ing

2005-06-09 Thread Brett Connor
Javadoc will automatically generate parameter names and types anyway. Just my humble opinion. Brett Connor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cactus testing for StrutsTestCase

2005-05-28 Thread Brett Connor
tion, my appologies for a useless answer. Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts development methodology

2004-09-14 Thread Brett Connor
e already had to take steps to change banks because they only supported proprietry browsers rather than suport the standards. We should not be allowing these things to slip through IMHO. Brett Connor Victor Grazi wrote: Not sure I understand. What's a CVS? Are u referring to a version

Re: Best practices for localization of exception messages

2004-09-09 Thread Brett Connor
[EMAIL PROTECTED] wrote: Brett Connor <[EMAIL PROTECTED]> wrote on 09/09/2004 12:22:39 PM: Taking a step back though, the locale is required for presentation only (in this example), it belongs in the view rather than any business components. It is not the job of the business layer

Re: Best practices for localization of exception messages

2004-09-09 Thread Brett Connor
is as useful to my mum as UnsupportedOperationException. One nicety I like in these cases is to include a reference to a log file or system error report or something that people can use in an error report, but I'm wandering a bit of topic here. My 2c. Brett Connor --

Re: JSP won't compile on Tomcat v4.1.28 on OpenVMS

2004-09-03 Thread Brett Connor
d up here. I think I would have a peruse of the tomcat source if you can get it for your port, see if there's anything helpful in there. I know it's not the most enjoyable of tasks wading through a ton of code you don't know (I'm assuming you don't), but I've been wat

Re: never, ever bury an exception!

2004-09-03 Thread Brett Connor
r meaningful context available at the point where it's reported. In some ways, the further removed and isolated the reporting is from the sources of error the less easy it is without some effort, yet again lots of IMHO all through this. Brett Connor ---

Re: never, ever bury an exception!

2004-09-02 Thread Brett Connor
I usually wack log and assert false; if there is nothing better to do with it at the time. In situtations where you know an exception can never be thrown, I still would leave in at least this. Of course this view also comes I'm sure from being in your position before now. I don't recall but it's

Re: How long is Action's scope?

2004-09-02 Thread Brett Connor
k is required, probably more to make sure things are thread safe rather than distinguish between different windows. Brett Connor Leandro Melo wrote: I could save the reference to stateful session ejb and jsessionid in a map in HttpSession. This way, things wouldn't get counfusing, am i right?

Re: Basic JSTL

2004-09-01 Thread Brett Connor
xxx needs to be somewhere accessible to the c:forEach tag. Do a search on scoped variables. This can be done in your scriptlet or in the action that forwards to this jsp. Brett andy wix wrote: Hi, In trying to resolve another (more Struts related!) problem someone suggested using a

Re: How long is Action's scope?

2004-09-01 Thread Brett Connor
x27;re using I doubt holding a reference in the action is really what you want to do, unless I've misunderstood your situation here. Brett Connor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts security/validation

2004-08-11 Thread Brett Connor
ate(); and let the JDBC driver take care of getting the sensitive characters escaped as needed. In fact the drivers should not (again implementation specific) need to do any escaping, the statement and data are seperate entities. The statement will still contain ? (or equivalent) in the rdbms. Br

Re: custom transactions

2004-08-11 Thread Brett Connor
ctive. Perhaps try disabling that for a test. HTH Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using tiles with dynamic links

2004-08-11 Thread Brett Connor
Brett Connor wrote: David Stevenson wrote: On 11/8/04 6:18, "Michael McGrady" <[EMAIL PROTECTED]> wrote: I loved those competitions in perl that tried to be the hardest to understand. Competitions? I've seen C ones (the 12 days of Xmas one is a classic), but truly i

Re: using tiles with dynamic links

2004-08-11 Thread Brett Connor
David Stevenson wrote: On 11/8/04 6:18, "Michael McGrady" <[EMAIL PROTECTED]> wrote: I loved those competitions in perl that tried to be the hardest to understand. Competitions? I've seen C ones (the 12 days of Xmas one is a classic), but truly idiomatic Perl is self-obfuscating! Let's not

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
7;s good for you you will stay right away from javascript.. -Original Message- From: Brett Connor [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:47 PM To: Struts Users Mailing List Subject: Re: Not Logged in with the same loggin-password if it is already registered. AFAIK session

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
/her window? Are you saying this isn't something that a container will be notified about..?/ ..hmm... maybe not... ok, Robert scratch my earlier note..(like I said i ought to go home..) -Original Message- From: Brett Connor [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:47 PM

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
down to a timeout. The session listener will be called for any session created / destroyed as soon as the container is aware itself. Brett Robert Miller wrote: How do you handle the situation where the user closes the browser without logging out (the windows "X" is not always our friend

Re: format string with bean:write

2004-07-26 Thread Brett Connor
bean:write has a format property. I haven't seen any documentation on what the format syntax is, but there's every chance it supports something along the lines of . Alternatively, create a derived property on your form bean and reference that, eg class MyForm extends ActionForm { S

Re: Intermediate loading page

2004-07-23 Thread Brett Connor
is a separate thread). There seems to be no way for the server to know that the browser was closed. If I do not reset the session variable then I cannot start generating another report until the first report thread dies on the server. -Original Message- From: Brett Connor [mailto:[EMAIL PROT

Re: Intermediate loading page

2004-07-23 Thread Brett Connor
Surely the session variable will be reset by the report generation process, independent of any browser windows open, therefore no problem, you never need to know if the browser has been closed or not. Or have I misunderstood? Brett Rizwan Merchant wrote: Thanks for the previous input. I moved

Re: outputting mysql (or any other database) error in jsp

2004-07-17 Thread Brett Connor
rs will be less helpful. There was some effort a while ago to standardize some of the common database error codes, I don't know how far that got, but as always these standards are the lowest common subset anyway. HTH Brett Connor Research labs wrote: Thanks for your prompt respon

Re: Tiles problem when uploading war .... was [Re: Extending Request Processor]

2004-07-16 Thread Brett Connor
g on and you can take the exception at its word. Dunno if that helps at all. Brett Connor Lucas Gonzalez Pearson wrote: Hi, I am still trying to find the root of this problem but I don´t seem to be able to do it. Has anyone experienced this problem before? copying a struts .war file to jboss´ dep