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 procedure

public void applyChanges() throws Exception
{
Statement statement = connection.createStatement();
 try{
ResultSet rs = statement.executeQuery("SELECT * from 
Registration 
WHERE (Username ='"
  + theUsername
  + "' AND Password = '"
  + thePassword + "');");

boolean found = rs.next();
System.out.println(found);
rs.close();
statement.close();

if(found == true)
{

System.out.println("THAT IS THE CORRECT 
USERNAME AN PASSWORD!!");
//request.setAttribute ("servletName", 
"servletToJsp");
rs.close();
statement.close();
//response.sendRedirect ("/login.jsp");
}
else
{
System.out.println("YOU ARE NOT IN OUR DB 
:-(");
rs.close();
statement.close();
}
}
catch (Exception e)
{

}

}
}

ANY help at all would be much appreciated. Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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 the bean checking the DB and validating the username and password 
with the following code:

public void loginHandler() throws Exception
{
Statement statement = connection.createStatement();
 try{
ResultSet rs = statement.executeQuery("SELECT * FROM
Registration WHERE (Username ='"
  + theUsername
  + "' AND Password = '"
  + thePassword + "');");
  boolean found = rs.next();
  System.out.println(found);
if(found == true)
{
System.out.println("THAT IS THE CORRECT 
USERNAME AN PASSWORD!!");
}
else
{
System.out.println("YOU ARE NOT IN OUR DB 
:-(");
}
}
catch (Exception e)
{

}

}
}

Any help would be much appreciated,
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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
oginHandler.java
c:\tomcat\webapps\projectuser\web-inf\classes\loginHandler.java:7: Package 
java.
servlet not found in import.
import java.servlet.*;
   ^
c:\tomcat\webapps\projectuser\web-inf\classes\loginHandler.java:8: Package 
java.
servlet.http not found in import.
import java.servlet.http.*;

Anyone have any ideas? The answer is probably straight forward (as usual)
Thanks in advance,
Mick



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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

2001-03-22 Thread Mick Sullivan

Nice one (Again) for the reply Craig,
The problem is the code I sent was just me messing around seeing what would 
happen if I took out the 'x', but I forgot to put it back in when I was 
copying the code.
Here it is again:

SOURCE:
package login;

import java.util.*;
import java.sql.*;
import java.io.*;
import java.lang.*;
import javax.servlet.*
import javax.servlet.http.*,

ERROR:
c:\tomcat\webapps\projectUser\web-inf\classes\loginHandler.java:8: Package 
javax
.servlet not found in import.
import javax.servlet.*;
   ^
c:\tomcat\webapps\projectUser\web-inf\classes\loginHandler.java:9: Package 
javax
.servlet.http not found in import.
import javax.servlet.http.*;
   ^
2 errors


Therefore I assume the problem is to do with the classpath.
The file 'servlet.jar' is located in my
c:\tomcat\lib   folder   and also in
c:\tomcat\lib\common  folder
I also have the folder 'tomcat-servletapi-3.2' in the root directory of my c 
drive. Might the problem have something to do with this?

I know Ive been at this for bout 6 months now, but what do you mean when you 
say "'servlet.jar' should be located in the classpath"?
I compile my files using DOS and the javac command.
My JDK is located in c:\Jbuilder35\jdk1.2.2\bin
I do not use JBuilder to write my beans, I use homesite, an HTML editor that 
also allows .java files. Do I have to move the server.jar file somewhere 
into the JDK folder or something? As you can probably tell Im kinda 
clueless, even still my projects nearly there, if I can just sort out this 
login stuff. Yopur help is much appreciated.

Thanks again,
Mick



Original Message Follows
From: "Craig R. McClanahan" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Question on import javax.servlet.*;???
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 etc.
  This is the error:
 
  C:\JBuilder35\jdk1.2.2\binjavac
  c:\tomcat\webapps\projectuser\web-inf\classes\l
  oginHandler.java
  c:\tomcat\webapps\projectuser\web-inf\classes\loginHandler.java:7: 
Package
  java.
  servlet not found in import.
  import java.servlet.*;
 ^
  c:\tomcat\webapps\projectuser\web-inf\classes\loginHandler.java:8: 
Package
  java.
  servlet.http not found in import.
  import java.servlet.http.*;
 
  Anyone have any ideas? The answer is probably straight forward (as usual)

Yep :-).  It's javax.servlet.* and javax.servlet.http.*, not java.servlet
and java.servlet.http (note the "x").

When you compile, you will need to make sure that the servlet.jar file
from your servlet container is on the compiler's classpath.

  Thanks in advance,
  Mick
 

Craig McClanahan


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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;
ResultSet rs = statement.executeQuery("SELECT Name"+
" FROM nameAddress" +
" WHERE ID = ("+
myInt + ")");
rs.next();
String myString = rs.getString("Name");
   //change the resultSet to a string
   //so it can be used by the jsp page
return myString;
}
I think the throws exception part is causing the server to crash.
However on the JSP page i have the following line of code
% nameAddresshandler na = new nameAddresshandler(); %
%System.out.println(na.getName());%
This prints out the correct name of the "Name" to the tomcat window, then a 
java error appears and shuts down tomcat. Do I have to install JDK again?
Thanks in advance, Mick

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Help on error?

2001-03-19 Thread Mick Sullivan

Thats a good guess alright. Im using the JDBC-ODBC bridge with an MS Access 
database :-(
I have to do it that way coz a fella whos in my course set up the Drivers 
and all that for me.
Could you just tell me how I would close the Result set and statement.
Is it   'rs.close();'  or something along those lines.
Thanks again in advance,
Mick



Original Message Follows
From: Randy Layman [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Help on error?
Date: Mon, 19 Mar 2001 14:11:29 -0500


What database and JDBC driver are you using?  If I had to guess I'd
say that you are using the JDBC-ODBC bridge and you have encountered one of
several problems that JDBC-ODBC bridge has.  There is no fix, only
workarounds.  In your case the problem is because you haven't closed the
ResultSet and Statement, leaving them open so that the next query 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 on error?
 
 
  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;
   ResultSet rs = statement.executeQuery("SELECT Name"+
   " FROM nameAddress" +
   " WHERE ID = ("+
   myInt + ")");
   rs.next();
   String myString = rs.getString("Name");
 //change the resultSet to a string
 //so it can be used by the jsp page
   return myString;
  }
  I think the throws exception part is causing the server to crash.
  However on the JSP page i have the following line of code
  % nameAddresshandler na = new nameAddresshandler(); %
  %System.out.println(na.getName());%
  This prints out the correct name of the "Name" to the tomcat
  window, then a
  java error appears and shuts down tomcat. Do I have to
  install JDK again?
  Thanks in advance, Mick
 
  __
  ___
  Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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 nameAddress" +
" WHERE ID = ("+
myInt + ")");
rs.next();
String myString = rs.getString("Name");
 //change the resultSet to a string
 //so it can be used by the jsp page
return myString;
  }
Any help at all would be much appreciated
Thanks in advance,
Mick



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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 'close' button the Tomcat window shuts down :-(
I just want to know if this a known bug in Tomcat or has it something to do 
with my code,
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




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 pages and their links 
still exist???
Anyone know what is wrong?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 changes do not show???
I have even moved the JSP folder, yet the pages (without their images and 
backgrounds) show on the browser?
Someone please help,
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 +
  "')";
  System.out.println("query "+ query);
  statement.executeQuery( query );

but this statement WILL NOT UPDATE the record Price:
Statement statement = connection.createStatement();
String query = "UPDATE parkingPrice SET Price = thePrice";
System.out.println("query "+ query);

statement.executeUpdate( query );

The Variable thePrice is got using this function
public void setPrice( String price ) {
thePrice = price;
}

It works for INSERT but not UPDATE
Also my table has only 1 value , being Price(1 row and 1 column).
I do not want to INSERT, I just want to UPDATE the single value.

Anyone at all with any ideas???
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 " +
") VALUES ('" +
 thePrice +
  "')";
 statement.executeQuery( query );

However I dont want multiple rows so when I try and do an update instead 
using the following:

  String query = "UPDATE parkingPrice  SET " +
  "Price='" + thePrice + "'";

  System.out.println("query "+ query);
  statement.executeUpdate( query );

There is no affect on the DB. I get no SQL errors and in the tomcat window 
using the line "System.out.println("query "+ query);"
The query UPDATE parkingPrice SET Price='5'
The query seems valid yet there is no affect on the DB.
I am using MS ACCESS. Is the problem in the way the DB is set up?
Thanks in advance, Mick

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: SIMPLE SQL QUERY.....

2001-03-11 Thread Mick Sullivan

Hi Clayton,
Thanks for the help, but there is still a new row added into the table 
"parkingPrice". This is what my applyChanges methos looks like now
public void applyChanges() throws Exception
{
 Statement statement = connection.createStatement();

 String query = "INSERT INTO parkingPrice (" +
" price " +
") VALUES ('" +
thePrice +
"')";

 //String query = "UPDATE parkingPrice  SET " +
 //"Price= thePrice ;

 System.out.println("query "+ query);
 //statement.executeUpdate( query );
 //statement.executeQuery( query );
 int rows = statement.executeUpdate( query );
 }
}

The variable thePrice is taken from a jsp page and the function just takes 
the value "price" and assigns it to thePrice;
public void setPrice( String price ) {
thePrice = price;
}

Any ideas,
Thanks in advance, Mick

Original Message Follows
From: "Clayton Peirens" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: SIMPLE SQL QUERY.
Date: Sun, 11 Mar 2001 08:14:27 -0700

For your insert, replace
   statement.executeQuery( query );
with
   int rows = statement.executeUpdate( query );

It has nothing to do with result sets.  An "update" can consist of INSERT,
UPDATE, DELETE, and will return the number of rows 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?

Hope this helps,
Clayton

- Original Message -
From: "Mick Sullivan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: March 11, 2001 5:43 AM
Subject: SIMPLE SQL QUERY.


  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 " +
  ") VALUES ('" +
  thePrice +
"')";
   statement.executeQuery( query );
 
  However I dont want multiple rows so when I try and do an update instead
  using the following:
 
String query = "UPDATE parkingPrice  SET " +
"Price='" + thePrice + "'";
 
System.out.println("query "+ query);
statement.executeUpdate( query );
 
  There is no affect on the DB. I get no SQL errors and in the tomcat 
window
  using the line "System.out.println("query "+ query);"
  The query UPDATE parkingPrice SET Price='5'
  The query seems valid yet there is no affect on the DB.
  I am using MS ACCESS. Is the problem in the way the DB is set up?
  Thanks in advance, Mick
 
  _
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 at al would be greatly appreciated.
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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() is defined in parkingPriceHandler.
This is the error i get:
"Can't make static reference to method java.lang.String getPrice() in class 
parkingPrice.parkingPricehandler."

Error: 500
Location: /project/jsp/view_parking_cost.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for 
JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview_0005fparking_0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94:
 
Can't make static reference to method java.lang.String getPrice() in class 
parkingPrice.parkingPricehandler.
out.print(parkingPricehandler.getPrice() );
  ^
1 error

at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled 
Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled 
Code)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, 
Compiled Code)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled 
Code)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java,
 
Compiled Code)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java, 
Compiled Code)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, 
Compiled Code)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled 
Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, 
Compiled Code)
at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, 
Compiled Code)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, 
Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java, 
Compiled Code)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
 
Compiled Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, 
Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, 
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)

Whats the Story with Static Referencing???
Please please help coz my project is due up very soon and Im dead confused,
Thanks a million in advance.


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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

2001-03-07 Thread Mick Sullivan

It is a class, a very basic one at that
Here it is:

package parkingPrice;

public class parkingPricehandler{
 private String thePrice;

public parkingPricehandler() {
//thePrice = null;
}
public void setPrice( String price ) {
thePrice = price;
}
public String getPrice() {
return thePrice;
}
}

Any ideas?


Original Message Follows
From: "Samson, Lyndon [IT]" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: RE: Please Help On Static Reference 
Date: 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 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() is defined in parkingPriceHandler.
This is the error i get:
"Can't make static reference to method java.lang.String getPrice() in class
parkingPrice.parkingPricehandler."

Error: 500
Location: /project/jsp/view_parking_cost.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview_0005fparking_
0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94:
Can't make static reference to method java.lang.String getPrice() in class
parkingPrice.parkingPricehandler.
 out.print(parkingPricehandler.getPrice() );
   ^
1 error

at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
Compiled
Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java,
Compiled
Code)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java,
Compiled Code)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java,
Compiled
Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled
Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java,
Compiled Code)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)

Whats the Story with Static Referencing???
Please please help coz my project is due up very soon and Im dead confused,
Thanks a million in advance.


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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

2001-03-07 Thread Mick Sullivan

Hi Jin
Thanks for replying
How do I actually do that? Im kinda new to JSP so bear with me here.
I have done the following to the bean (made it static)
package parkingPrice;

public class parkingPricehandler{

private static String thePrice;

public parkingPricehandler() {
//thePrice = null;
}

public void setPrice( String price ) {
thePrice = price;
}

static public String getPrice() {
return thePrice;
}

}
but i still get the same error?
Any ideads, thanks , Mick


Original Message Follows
From: Byung Jin Chun [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: RE: Please Help On Static Reference 
Date: Wed, 7 Mar 2001 10:29:02 -0500

You have to either make the method a static one,
or instantiate an instance of your class to call
the method.

Jin

  -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;
 
  public class parkingPricehandler{
   private String thePrice;
 
  public parkingPricehandler() {
  //thePrice = null;
  }
   public void setPrice( String price ) {
  thePrice = price;
  }
  public String getPrice() {
  return thePrice;
  }
  }
 
  Any ideas?
 
 
  Original Message Follows
  From: "Samson, Lyndon [IT]" [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: "'[EMAIL PROTECTED]'"
  [EMAIL PROTECTED]
  Subject: RE: Please Help On Static Reference 
  Date: 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 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() is defined in parkingPriceHandler.
  This is the error i get:
  "Can't make static reference to method java.lang.String
  getPrice() in class
  parkingPrice.parkingPricehandler."
 
  Error: 500
  Location: /project/jsp/view_parking_cost.jsp
  Internal Servlet Error:
 
  org.apache.jasper.JasperException: Unable to compile class for
  JSPC:\tomcat\work\localhost_8080%2Fproject\_0002fjsp_0002fview
  _0005fparking_
  0005fcost_0002ejspview_0005fparking_0005fcost_jsp_30.java:94:
  Can't make static reference to method java.lang.String
  getPrice() in class
  parkingPrice.parkingPricehandler.
   out.print(parkingPricehandler.getPrice() );
 ^
  1 error
 
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
  Compiled
  Code)
   at
  org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java,
  Compiled
  Code)
   at
  org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java,
  Compiled Code)
   at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java,
  Compiled
  Code)
   at
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
  ecessary(JspSe
  rvlet.java,
  Compiled Code)
   at
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
  (JspServlet.ja
  va,
  Compiled Code)
   at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
  Compiled Code)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
  Compiled
  Code)
   at
  javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
  Code)
   at
  org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
  Compiled Code)
   at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
  Code)
   at
  org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
  Compiled Code)
   at
  org.apache.tomcat.core.ContextManager.internalService(ContextM
  anager.java,
  Compiled Code)
   at
  org.apache.tomcat.core.ContextManager.service(ContextManager.java,
  Compiled Code)
   at
  org.apache.tomcat.service.http.HttpConnectionHandler.processCo
  nnection(HttpC
  onnectionHandler.java,
  Compiled Code)
   at
  org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
  Compiled Code)
   at
  org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
  Compiled Code)
   at java.lang.Thread.run(Thread.java, Compiled Code)
 
  Whats the Story with Static Referencing???
  Please please help coz my p

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 availability' 
and the second 'view availability'.
On my right hand frame in the 'set availability' page when I set the 
availability and click submit, a response page is brought up at the bottom 
of the 'set availability' pageas follows:

"YOU SET AVAILABILITY AS BEING 15"   (or whatever the user set it at)

My problem is that when I click 'view availability' and try to bring up the 
variable that has been set in the set availability page. An error as follows 
comes up

"Tried to do an operation on a null object."

Does this have to do with   scope="session" scope="request" or 
scope="page"
I think the problem is that the bean is only set while the set Availability 
page is loaded because if I got to another page and then back to the 
setAvailability page the response at the bottom of the page is gone

Anyone got any ideas at all, Id say it’s a fairly easy problem to solve?
Big Thanks in advance,
Michael

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 availability' 
and the second 'view availability'.
On my right hand frame in the 'set availability' page when I set the 
availability and click submit, a response page is brought up at the bottom 
of the 'set availability' pageas follows:

"YOU SET AVAILABILITY AS BEING 15"   (or whatever the user set it at)

My problem is that when I click 'view availability' and try to bring up the 
variable(using JSP getproperty) that has been set in the set availability 
page. An error as follows comes up

"Tried to do an operation on a null object."

Does this have to do with   scope="session" scope="request" or 
scope="page"
I think the problem is that the bean is only set while the set Availability 
page is loaded because if I got to another page and then back to the 
setAvailability page the response at the bottom of the page is gone

Anyone got any ideas at all, Id say it’s a fairly easy problem to solve?
Big Thanks in advance,
Michael

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 
registration page?
Thanks in advance...
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 the response page, yet still the
response page loads after submission??
Anyone got any ideas?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 called view_parking_cost.jsp. 

Within view_parking_cost.jsp, I have the following JSP code declared at the top. 
%@ page import="parkingPrice.ParkingPriceHandler" %
jsp:useBean id="parkingpricebean" scope="page" class="parkingPrice.ParkingPriceHandler" /jsp:setProperty name="parkingpricebean" property="*" /

<%@ page import="parkingPrice.ParkingPriceHandler" %>





In the webapps\Admin\Web-inf\Classes\parkingPrice folder I have written the following .java file and compiled it to .class using JDK. 


Name of file = "ParkingPriceHandler.java" 
package parkingPrice; 

public class ParkingPriceHandler{ 

private String thePrice; 

public ParkingPriceHandler() { 
thePrice = null; 
} 
public void setPrice( String Price ) { 
thePrice = Price; 
} 
public String getPrice() { 
return thePrice; 
} 


} 


In the Server.xml file I have added this code for the context. 
docBase="webapps/Admin" 
debug="0" 
reloadable="true" 
trusted="false"  


When I start the server and point my webbrowser to 
http://localhost:8080/Admin/index.html 
and then go to the set_parking_price.jsp page I get the following error: 

Error: 500
Location: /Admin/set_parking_cost.jspInternal Servlet Error:org.apache.jasper.JasperException: Cannot find any information on property 'Price' in a bean of type 'parkingPrice.ParkingPriceHandler'
	at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java, Compiled Code)
	at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:101)
	at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java, Compiled Code)
	at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java, Compiled Code)
	at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:175)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)It says it cannot find any info on variable Price, though I have declared it.Could it be something to so with my classpath or something?Thanks in advance, Mick.
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



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 on Windows 95
Date: Mon, 15 Jan 2001 12:06:39 +0530



Dear Sir,

Can u pls tell me whether Tomcat Server can be started on Windows 95 
platform.
I am not able to start the server on Windows 95 PC, but working fine on 
Windows NT PC.
Expecting a feedback soon.

Regards,
Joby



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 to be in the CLASSPATH.
   If you are using JDK 1.1.x it will automatically be included. If
   you are using JDK 1.2 you will need to set JAVA_HOME to the directory
   where JDK is installed or alternately you can put "tools.jar" in your
   CLASSPATH.

   All other classes, jar files that are needed, are put by the startserver
   script and you don't need to worry about them
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 name is then printed up on the screen, i.e. "Hello name".

I have created the two .jsp files (hellouser.jsp and response.jsp) and stored them in 
C:\jakarta-tomcat\webapps\Hello\

I have created the bean (namehandler.java) as a .java file and stored it in
C:\jakarta-tomcat\webapps\Hello\Web-inf\Classes\
Are these the right folders to store those files in?

I have tried compiling the .java file to a .class in JBuilder, but I keep getting the following warning:
"Warning #908: check sourcepath; source c:\jakarta-tomcatzwebapps\Hello\Web-inf\Classes\namehandler.java cannot be found on source pathby appending \hello\namehandler.java to each sourcepath entry."
( hello is the name of the package)
I think the problem may be because I cant generate the .class file. Anyone know why this might be?

When I try to view the Application while tomcat is running I get this error message:

Error: 500
Location: /Hello/hellouser.jspInternal Servlet Error:org.apache.jasper.JasperException: Bad file argument to include 
	at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code)
	at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
	at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
	at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
	at java.lang.Thread.run(Thread.java:479)If anyone has any idea at all where the problem may lie please, please help me.Thanks in advance, Mick



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



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, you will be having a project(xxx.jpr) and all 
the java files that use will be under this project(you may to create the 
project if you haven't done already). 
Right click on the xxx.jpr and click properties.You will get a window.Under 
the source tab,u have got to specify the location of the *.java files.In 
most cases you will be having it all in the same folder,but some java files 
may be in a different folder.Make sure that you include all of them. 
Now select your java file that you want to compile and compile it.JBuilder 
will now where to look for the source file when it does the compiling 

Ram 




From: "Mary McCarthy" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Help on Internal server Error 500?? 
Date: Fri, 12 Jan 2001 19:31:44 - 
 

_ 
Get your FREE download of MSN Explorer at http://explorer.msn.com 
 message3.txt  
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, email: [EMAIL PROTECTED] 
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 argument to include 
	at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code)
	at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
	at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
	at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
	at java.lang.Thread.run(Thread.java:479)
ANY OF YOU WEB GURUS OUT THERE HAVE HAVE A CLUE WHAT THAT MEANS??THANKS IN ADVANCEGet Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



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 go from here
I want to convert these files to JSP files, which use Javabeans.
In which tomcat directory do I save these beans?
Aswell as this what software do I need to connect to a database to that the 
system will actually do something?
Any help at all would be great coz Im lost from here
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 go from here
I want to convert these files to JSP files, which use Javabeans.
In which tomcat directory do I save these beans?
Aswell as this what software do I need to connect to a database to that the 
system will actually do something?
Any help at all would be great coz Im lost from here
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 EST

Rick,

Thanks for your reply.  Tried what you suggested, but it didn't work.
Shouldn't I have two DOS windows on my machine after I type startup (I don't
it starting New Tomcat window just flashes)?  And why would I need to use
index.html in the URL?  Gonna be out of commission after this e-mail for a
few days.  Have a HAPPY NEW YEAR.  Be safe.

Calvin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 Environment space
Using classpath: ..\classes;..\lib\xml.jar

Then a seperate window pops up with 3 folders,
(1)Classes (2)Packages and (3)Trustlib.

Is Tomcat now running?
Where do I place my HTML files?
Ive tried placing them in \webapps folder and then typing in the laocation 
of the index.html file to the address bar of the browser, but it says
"The page cannot be displayed"
Someone please please help coz my head is wrecked.
A big thanks in Advance.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 window opens up with 3 folders, 
classes, packages and trustlib. Anyone PLEASE tell me where I go from here 
as I am totally lost.
Thanks in advance, Mick
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.