Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!

Wael Aoudi

Greenhorn
+ Follow
since Mar 10, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Wael Aoudi

I'm using an IDE that only supports jdk 1.3.1 but im using Ant 1.6. is that why my Ant generates errors and fails to build. same for the servlet api. At first i was having problems with jdk because i was using 1.4.2 and the servlet and "ant" were not generating errors. Is it because when i supplied the right jdk is when it actually looked at the servlet and "ant" and realised they are not the right ones. SO my question is does it matter which JDK i use with ANT? and if i'm using an old JDK can that cause the ant and servlet to fail?
I have Tomcat 5.0 installed. The error message includes "ant was compiled april 14th 2003" something like that i'm at work and dont have the program infront of me. Is that a sign that im using a new "ant" and its looking for an old version.
Thank you,
Wael Aoudi
16 years ago
Im not exactly positive this is what you're looking for but i hope this code helps.
<CFFORM ACTION="">
Email: <CFINPUT TYPE="Text" NAME="email"
VALIDATE="regular_expression"
PATTERN=" ^([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.
(([a-z]{2,3})|(aero|coop|info|museum|name)))?$"
MESSAGE="Email is improperly formatted">
<INPUT TYPE="Submit">
</CFFORM>
Thank you,
Wael Aoudi
P.S. I got this from the following link which has a detailed explanation of CFForm. Therefore that code is not mine just to make it clear it is Charlie Areharrts.
http://www.sys-con.com/coldfusion/article.cfm?id=379&count=5104&tot=4&page=2
16 years ago
I'm not sure i understand the whole exception thing as clearly as i thought i did. Your question completely switched the facts on me. I thought that Errors and RuntimeExceptions (and their subclasses are unchecked) but all other exceptions are checked. and you use the keyword Throw to throw an exception to another class and have it register it. While you extend the class Exception to have it propagate upwards. Am I right? If thats true how do you make an unchecked exception checked?
Thank you,
Wael Aoudi
SCJP
16 years ago
Im not sure where exactly i should post this..but i was using the rules round up game and it sort if has a glitch. When it presented Q. 109 all it shows was the question and a done button.. no choices for answers. and the done button was a dead button. anyways I really enjoy this website.. it has helped me alot as i am preparing for the SCJP 1.4 exam( which im taking in 12hrs)..
thanks again
-wael
16 years ago