JSP Book for beginners?

2001-04-26 Thread Ruaidhrí Fernandes
Hi all, Ive just started learning about JSP, I'd like to know what is the best book to buy on JSP for the beginner and would it be able to help me build a fairly simple E-commerce web site with shopping cart, just using JSP. Let me know. Thanks Rui = "If a rabbit's foot is so lucky,. what

Re: MS Access

2001-05-01 Thread Ruaidhrí Fernandes
Hi all, Im new to JSP. Trying to create an e-commerce web site using JSP alone. Im usinf MS Acess as my database and im wondering how i would go about making a connection to it using JSP. If anyone knows or knows some web page explaining how to do it that would be great. Thanks Ruaidhri Fernandes

Re: MS Access

2001-05-01 Thread Ruaidhrí Fernandes
pid, stupid idea for any > kind of reliable > > database. In addition, the JDBC drivers for it > tend to.. um... suck. > > > > You should really look at using J2EE the way it's > meant to be used. This > > kind of "I'll port straight

Re: MS Access

2001-05-01 Thread Ruaidhrí Fernandes
#x27;s > meant to be used. This > kind of "I'll port straight from ASP!" approach > gives JSP - and you - a bad > reputation, undeservedly. > > >From: Ruaidhrí Fernandes > <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages &g

PROBLEM-Changes in included pages not updating?

2001-05-05 Thread Ruaidhrí Fernandes
Hi all, I'm new to JSP so this might be an easily answered question.(hope so :) I have a main JSP page called index.jsp and it contains links to other JSP pages, it also includes a banner.jsp. My problem is, that when i make a change in one/some of the linked files or banner files and save it and

C'ant refresh page

2001-05-05 Thread Ruaidhrí Fernandes
Hi all, Anyone know how to fix this problem please? I have a login page which asks the user to enter his/her username and password in forms. The submit button takes them to a verification page which checks their username and password against a database and they either will be greeted or told to t

Database locked?

2001-05-07 Thread Ruaidhrí Fernandes
Hi all, I'm getting an error saying : java.sql.SQLException: [Microsoft][ODBC Microsoft Access 97 Driver] Couldn't update; currently locked by user 'admin' on machine 'RUI'. What my program does is,I have a JSP page that opens a connection with the database and retrieves fields from a products ta

Re: Database locked?

2001-05-07 Thread Ruaidhrí Fernandes
Hi again, It's a standalone application. Im writing a e-commerce web site for my final year project. I have tomcat running on my machine.It is the only application open. Do u know what i mean? Basically, one page pulls columns from a table and puts this information in forms so the user can edit th

Re: Database locked?

2001-05-08 Thread Ruaidhrí Fernandes
x27;s accessing the DB; > 2. you are trying to do read/write to the DB > 3. you get table is locked error. > > Solution: > someone has suggested, > 1. close your DB connection after trieving the > records. > 2. reopen your db connection to update a record > > > &g

Re: Recommend Any Books

2001-05-10 Thread Ruaidhrí Fernandes
I bought Instant Java server pages and it wasn't that great. It came with a CD rom containing source code. It was based on programming on the Linux OS. Then I bought SAMS 24 JSP. Its great for beginners but some of the code is buggy. I then bought Special Edition JSP and Servlets. This is a good

Login Page Problem???

2001-05-11 Thread Ruaidhrí Fernandes
Hi, I have a login page that lets a user enter his/her username and password. If valid it takes them to a page where they can administer a table in their database using form fields. My question is, if another user comes along after somebody has been logged in,and presses the back button or forward

Re: Login Page Problem???

2001-05-11 Thread Ruaidhrí Fernandes
;user"); > if ( tUser != null) > session.removeAttribute("user"); > %> > > > > Patrick PIERRA > > > > Ruaidhrí Fernandes > [EMAIL PROTECTED] > YAHOO.COM>

What is SQL SELECT Syntax for strings?

2001-05-11 Thread Ruaidhrí Fernandes
Hi all, I have a page where a user fills in a form field. When they hit submit the page is sent to a database checker page where I want to retrieve all rows in the table containing the string the user entered in the form field. I'm not sure how to write this SELECT statement. I get this error when

Can anyone answer this??? HELP

2001-05-11 Thread Ruaidhrí Fernandes
Hi all, Ok, I have a MS Acess database.(I'm using Access cause I'm doing a small project andi'm a beginner in Jsp) In the database is a table with 4 columns. I want one column to contain links so when I retrieve data from the table and put them in a HTML table, users will be able to click the lin

How to use Packages?

2001-05-14 Thread Ruaidhrí Fernandes
Hi all, I want to write a few classes for my shopping cart. I will have a Item.java,Billing.java,Shipping.java and a ShoppingCart.java. I have a main DisplayShoppingCart.jsp file that will use those classes. Can someone tell me how to create a package containing all my class files and where to put

Shopping Cart Question?

2001-05-14 Thread Ruaidhrí Fernandes
Hi all, I have to have a final year project in by the 24th and im running out of time. I'm a beginner to JSP. I want to create a shopping cart so users can add products,remove products,view their cart and checkout. I want to retrieve the products from the database and store them on a web page with

Clearing form fields after a submit?

2001-05-18 Thread Ruaidhrí Fernandes
Hi all, Can anyone tell me hoe to clear form fields after clicking on the submit button. I have fields which contain sensitive info. When the submit button is clicked the data is sent to another JSP. But how can I clear these fields after submitting? Thanks Rui = "If a rabbit's foot is so luc

Re: Clearing form fields after a submit?

2001-05-18 Thread Ruaidhrí Fernandes
clears. So what did you do? > > > -Original Message----- > > From: Ruaidhrí Fernandes > [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 18, 2001 11:03 AM > > To: [EMAIL PROTECTED] > > Subject: Clearing form fields after a submit? > > > > >

Cache Control Question?

2001-05-18 Thread Ruaidhrí Fernandes
Hi all, My problem is,I want to know how to stop users from seeing previous pages by using the back button. Like if someone fills out form fields and then submits and leaves the PC and then another user comes along and hits the back button then they can see all the past users sensitive info in the

Re: Cache Control Question?

2001-05-18 Thread Ruaidhrí Fernandes
e. they must not know > what the question is. > > 3. using document.[var].value="" with onsubmit > event?! lol, that won't work. > > > > -Original Message- > > From: Ruaidhrí Fernandes > [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 18,

IE5 and cached jsp pages?

2001-05-19 Thread Ruaidhrí Fernandes
Hi all, Sorry for sending in this question again but nothing I try is working. I've tried setting the response headers to control the cache and Ive tried setting the meta eqiv tags but I still have my problem. When the user hits the back button the previous pages is still there, I'm assuming its c

Re: Please Help a Beginner!

2001-05-22 Thread Ruaidhrí Fernandes
Hi, I'm a beginner aswell. I'm usinf Win95 and Ive set up Tomcat on it. Its working fine. Ive pasted my autoexec/bat contents below. It contains what I have in my path and classpath. Have a look and see if it helps. SET BLASTER=A220 I5 D1 T4 PATH=%PATH%;C:\ASYMPRES SET PATH=C:\WINDOWS;C:\WINDOWS\

CACHE CONTROL EXAMPLE

2001-05-23 Thread Ruaidhrí Fernandes
Hi all, still having problems with this one. Can anyone show me a simply WORKING example of JSP code telling the IE5 browser not to use cached pages and to reload the page if the user presses the back button. Ive tried everything and no success. Help would be very welcome. Thanks Rui = "If a

How to install SSL onto Tomcat?

2001-05-25 Thread Ruaidhrí Fernandes
Hi, Does anyone know a quick,easy way to install SSL onto TOMCAT or if they know a web site that explains it clearly and well. Somebody told me I might have to integrate Tomcat with Apache web server and then put SSL on. Is this true? Any help on the topic is welcomed. thanks Rui = "If a rabb

JSP EDITOR QUESTION. CAN ANYONE HELP?

2001-06-09 Thread Ruaidhrí Fernandes
Hi all, ok, ive just created a e-commerce web site using jsp. This was a project I had to do for my final year in college. I have to put up all the source code on the web so my lecturers can see it. I want to store my code in HTML file, and I also want thes HTML files to highlight the syntax in d