SSL and tomcat

2001-03-30 Thread Mick Sullivan
Does anyone know if SSl can be used on tomcat alone or if it only works using tomcatwith apache? thanks in advance, mick _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Login Servlet?

2001-03-23 Thread Mick Sullivan
Does anyone know where I could find code for a login servlet using JDBC. I have a login tested, it checks the database and it outputs whether the username and password are correct to the jsp page, but I need to use a servlet for redirecting the user. Here is the code i have for the login

Login Handler Question

2001-03-22 Thread Mick Sullivan
Hi all Does anyone know where I could find code that when after a user has given a correct username and password on the login.jsp page, a loginHandler bean will redirect the user to a new page, and if the user gives a username and an incorrect password, the login page will appear again. I have

Question on import javax.servlet.*;???

2001-03-22 Thread Mick Sullivan
Hi Does anyone know why I get the following error when I try to import "import javax.servlet.*; AND import javax.servlet.http.*;" I need them for my loginHandler to use sendRedirect etc. This is the error: C:\JBuilder35\jdk1.2.2\binjavac c:\tomcat\webapps\projectuser\web-inf\classes\l

Re: Question on import javax.servlet.*;???

2001-03-22 Thread Mick Sullivan
?? Date: Thu, 22 Mar 2001 14:15:31 -0800 (PST) On Thu, 22 Mar 2001, Mick Sullivan wrote: Hi Does anyone know why I get the following error when I try to import "import javax.servlet.*; AND import javax.servlet.http.*;" I need them for my loginHandler to use sendRedirect e

Help on error?

2001-03-19 Thread Mick Sullivan
Hi all Does anyone know why the following code causes my Java (tomcat ) window to crash. Any help at all would be much appreciated public String getName() throws Exception { Statement statement = connection.createStatement(); int myInt = 1;

RE: Help on error?

2001-03-19 Thread Mick Sullivan
executed will cause an error. This is part of the reason that the bridge is labeled experimental and is not supported by Sun. Randy -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 2:29 PM To: [EMAIL PROTECTED] Subject: Help

Closing ResultSet and Statement?

2001-03-19 Thread Mick Sullivan
Hi Does anyone know how to close a ResultSet? Heres my code: public String getName() throws Exception { Statement statement = connection.createStatement(); int myInt = 1; ResultSet rs = statement.executeQuery("SELECT Name"+ " FROM

Java Shutdown?? - Help

2001-03-17 Thread Mick Sullivan
Hi all Everytime I load a certain JSP page in my application I get a Java alert box saying: "This program has performed an illegal operation and will be shutdown. If the problem persists, contact the vendor" There is a 'details' button with loads of Machine code in it. When I press the

JSP pages not updating?

2001-03-14 Thread Mick Sullivan
Can someone please tell me why my JSP pages arnt updating when I make changes to them. I have flushed the cache, made obvious changes to the files and even moved the entire JSP folder to another directory, yet when I point the browser to: http://localhost:8080/project/jsp/index.html the

Reloading Pages....Help

2001-03-14 Thread Mick Sullivan
Hi I need some help here. Does Tomcat cache JSP pages? I ask this because any changes I make to my JSP pages arnt actually saving. I am definetly changing the right pages in the folder C:\tomcat\webapps\project\jsp\ When i point my browser to http://localhost:8080/project/jsp/anyJSPFile.jsp the

Simple SQL Statement.....

2001-03-12 Thread Mick Sullivan
Hi, Does anyone know why this statement WILL ADD a value to a record (Price)in a database named parkingPrice: Statement statement = connection.createStatement(); String query = "INSERT INTO parkingPrice(" + " Price " + ") VALUES ('" + thePrice +

SIMPLE SQL QUERY.....

2001-03-11 Thread Mick Sullivan
Hi Can anyone help me with a simple SQL update query. When I insert a value into my DB using the INSERT INTO statement I have no problem. Statement statement = connection.createStatement(); String query = "INSERT INTO parkingPrice (" + " price " + ")

Re: SIMPLE SQL QUERY.....

2001-03-11 Thread Mick Sullivan
affected by the SQL statement. The only time you need to worry about result sets is when doing a SELECT, and then the executeQuery method would be appropriate. With regards to the UPDATE not affecting the DB, are you closing the statement, and the connection? Are you in "autocommit" mode?

CONNECTING TO MS ACCESS DB?

2001-03-08 Thread Mick Sullivan
Hi all, Does anyone know where i could find code (or documentation) that would enable my JSP pages to connect to a MS ACCESS Database? I have all the JSP pages (with beans) submitting and requesting information via response pages, now i just need to set the project up with a database. Any Help

Please Help On Static Reference ........

2001-03-07 Thread Mick Sullivan
Hi all, I was wondering could someoone please help me with this error im getting. Im trying to output a value saved from a previous page in a text box in a new page using the JSP command: INPUT TYPE="TEXT" NAME="price" SIZE="0" VALUE="%=parkingPriceHandler.getPrice()%" The function getPrice()

RE: Please Help On Static Reference ........

2001-03-07 Thread Mick Sullivan
: Wed, 7 Mar 2001 14:57:58 - Is parkingPriceHandler an instantiated object or a class? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Please Help On Static Reference Hi all, I was wond

RE: Please Help On Static Reference ........

2001-03-07 Thread Mick Sullivan
--Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:20 AM To: [EMAIL PROTECTED] Subject: RE: Please Help On Static Reference It is a class, a very basic one at that Here it is: package parkingPrice; pu

EASY TO SOLVE ERROR PLEASE??????

2001-02-09 Thread Mick Sullivan
Hi all Im pretty new to JSP but I have got tomcat and a couple of JSP pages and beans working. The site I am designing for my project contains 2 frames, the left hand frame contains the links and the right hand frame contains the targets. On the left I have a 2 links, the first called 'set

HELP ANYONE PLEASE??

2001-02-09 Thread Mick Sullivan
Hi all Im pretty new to JSP but I have got tomcat and a couple of JSP pages and beans working. The site I am designing for my project contains 2 frames, the left hand frame contains the links and the right hand frame contains the targets. On the left I have a 2 links, the first called 'set

Login code using JSP and JavaBeans??

2001-02-06 Thread Mick Sullivan
Hi Does anyone know where I could find some code example of how to get a registration page and login working for a website? i.e. Have a user enter his details into the registration page, save his details in a bean, then have him login with the username and password he had chosen in the

Cache in tomcat....?????

2001-01-21 Thread Mick Sullivan
Hi, I got my first JSP pages and bean working a few minutes ago. Basically what the application does is take input from the first page and output it on a response page after submission. My problem is that when I tried to modify the response page it keeps using the old version. I actually deleted

Error: 500 -- Please Help ..............

2001-01-18 Thread Mick Sullivan
Hi all. Help needed here for an amatuer, should be easy enough to fix. Im working on an online car park booking system for a project for uni. Here is my problem. I have a frames page, index.html, for the booking system in webapps\Admin. One of the pages within the frames page is

Re: Starting TOMCAT on Windows 95

2001-01-15 Thread Mick Sullivan
I have tomcat running on win95 http://www.geocities.com/jdrudnicki/ Go there download zip file follow instructions no problem, Mick Original Message Follows From: "Joby" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Starting TOMCAT

Info on security???

2001-01-15 Thread Mick Sullivan
Anyone know any good sites discussing cresit card security as I need to do a side project onthis as well as an online booking system using tomcat. Any help would be much appreciated. Thanks in advance, Mick _ Get Your

CLASSPATH?

2001-01-15 Thread Mick Sullivan
Hi I saw the question below in FAQ section of the tomcat web page What I want to know is how you set your classpath and hwere is it? Thanks, Mick Q: What do I need in my CLASSPATH? A: All you need is a correct version of JDK (1.1.x or 1.2). Since the JSP engine also uses 'javac' it needs

Web Security (tomcat)

2001-01-12 Thread Mick Sullivan
Hi Anyone have an information on web security to do with tomcat?(i.e. credit card etc) Thanks in advancce, Mick _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Compiling .java to .class

2001-01-12 Thread Mick Sullivan
This is probably an easy question, but how do you compile a .java file in Jbuilder to a .class file? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

FIRST JSP PRGRAM - PLEASE HELP!

2001-01-12 Thread Mick Sullivan
Hi I need help!! I think this problem will be easy to solveas this is my first attempt at a JSP application. I am copying a JSP program from the java.sun.com website and attempting to run it on tomcat. The program is a simple one, the user enters his name into a text box and presses submit. His

Re: Help on Internal server Error 500??

2001-01-12 Thread Mick Sullivan
Good man, Good man Thanks a million!! Original Message Follows From: "Ramkumar Manoharan" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Help on Internal server Error 500?? Date: Fri, 12 Jan 2001 13:09:55 -0800 In your JBuider environment,

SECURITY

2001-01-11 Thread Mick Sullivan
Hi Anyone know where I can find documentation on tomcat (or other) web security in relation to online credit card purchasing?? Ta, Mick _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Error 500 - Internal Servlet Error - Learner Boy!!

2001-01-11 Thread Mick Sullivan
HI, ANYONE KNOW WHAT THIS MEANS? THIS IS MY FIRST JSP PROGRAM. ALL THE FILES AND BEANS ARE IN THE RIGHT PLACE AS FAR AS I CAN SEE. ITS PROBABLY SOMETHING DEAD SIMPLE: HERE IS THE ERROR: Error: 500 Location: /Coffee/hellouser.jspInternal Servlet Error:org.apache.jasper.JasperException: Bad file

I need direction from here pretty please!!

2001-01-10 Thread Mick Sullivan
Hi I have tomcat running and have a project running on it under the webapps folder. The thing is the entire project is just a front end, i.e. all the files are only HTML files which are linked together. They all have relevant javascript in each one for from validation. My question is where do

I need direction from here pretty please!!

2001-01-10 Thread Mick Sullivan
Hi I have tomcat running and have a project running on it under the webapps folder. The thing is the entire project is just a front end, i.e. all the files are only HTML files which are linked together. They all have relevant javascript in each one for from validation. My question is where do

Where to place JavaBeans in tomcat??

2001-01-02 Thread Mick Sullivan
Does anyone know where to place JavaBeans in Tomcat?? And how do I reference these Beans from JSP pages?? And are these beans are to be saved as .class files?? Thanks in advance! _ Get Your Private, Free E-mail from MSN

Connecting to a database

2001-01-02 Thread Mick Sullivan
Dows anyone know how to connect to say an access database using tomcat Can you use SQL on access?? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: Installation problems installing Tomcat 3.1 on my windows 98 machine

2000-12-31 Thread Mick Sullivan
try this it worked a beauty for me http://www.geocities.com/jdrudnicki/ Original Message Follows From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Installation problems installing Tomcat 3.1 on my windows 98 machine Date: Sun, 31 Dec 2000 10:04:17

SIMPLE SIMPLE QUESTION ON RUNNING TOMCAT

2000-12-29 Thread Mick Sullivan
Hi I need help to run tomcat I have create a simple HTML website with Javascript for validation. I have downloaded tomcat and tried running the "startup.bat" file. In the Dos window a message as follows appears. Out of Environment space Out of Environment space Out of Environment space Out of

Help On Running Tomcat????

2000-11-16 Thread Mick Sullivan
Hi Im doing a project using JSP. I have installed Jbuilder and I am doing the HTML pages using JBuilder. I am going to convert the HTML pages to JSP pages once I have connected TOMCAT to the HTML pages. I have installed Tomcat and all that happens when I run (bin\startup) it is that a new