Re: Dynamic execution of a string as a java statement
- From: "David Orriss Jr" <codethought@xxxxxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 19:47:24 -0800
On 2/27/2007 2:18:31 PM, "GreenMountainBoy" wrote:
I need to build up a string that represents a java statement and then
execute it. Does anyone know how?
Thanks so much,
GreenMountainBoy
Just an FYI: You're potentially opening yourself up to a SQL-injection attack
depending on how you're going to modify that string prior to calling it.
Maybe you could tell a bit more about what you're trying to do. Then a better
solution might come from that discussion.
--
"My first thought was, he lied in every word,
That hoary cripple, with malicious eye
Askance to watch the working of his lie"
- Browning
.
- References:
- Dynamic execution of a string as a java statement
- From: GreenMountainBoy
- Dynamic execution of a string as a java statement
- Prev by Date: Re: HELP
- Next by Date: Re: Removing java operating files
- Previous by thread: Dynamic execution of a string as a java statement
- Next by thread: HELP
- Index(es):
Relevant Pages
|