;m quite new to this and if i've omitted anything then please let me
know.
Thanks in advance,
Brett.
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
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 <
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
", " _ ", " @ " 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
(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
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
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
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
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
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]
tion, my appologies for a useless answer.
Brett
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
[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
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
--
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
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
---
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
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?
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
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]
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
ctive. Perhaps try disabling that
for a test.
HTH
Brett
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
/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
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
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
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
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
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
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
33 matches
Mail list logo