Andrew Lock

Greenhorn
+ Follow
since Oct 02, 2001
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 Andrew Lock

Sure its not called an include, but i'm still in asp mode.
Whilst running through a tutorial, I create ServletUtilities.java , which is basically an include for adding the <HTML><Head> etc for creating a HTML page.
In it is the line public static String headWithTitle(String title) {
In the next LotteryNumbers.java file I call it with
out.println(ServletUtilities.headWithTitle(title) +
but when I use javac to creat the servlet I get the error
LotteryNumbers.java:24: cannot resolve symbol
symbol : variable ServletUtilities
location: class stuservlets.LotteryNumbers
out.println(ServletUtilities.headWithTitle(title) +
^
Any ideas?
^
16 years ago
I'm just curious to see what software others are using
At the moment, I use Tomcat 3.2.3, and Homesite.
16 years ago
cheers for that.
think i'm going to aim for jsp and servlets and leave beans for while.
brain was fried with the supper easy instal of tomcat etc.
16 years ago
I have just moved over from Asp and started my writting a small forum (like i did when I learned asp)
1. Trying to pull from a form, in asp I would use:
("INSERT INTO Message (MessageSubject, MessageBody) VALUES ('"&MessageSubject&"' , '"&MessageBody&"' ) ");
How do I do this in jsp?
2. How do I pass the date and time over for when the message was created
3. I think that this can be done by JSP, servlets or beans , is this correct? Which would be the easyest way to learn it, and which would be the best way to do it?
16 years ago