Null pointer problem

2001-09-20 Thread Jon Garry
Hello, I have a problem with JSP. I have developed a small piece of code using Visual Age, tested it and everything works fine - I get output from my database. However, when I try to create a JSP page to make use of the bean, it will import the class and allow me to create an instance of the cl

Re: OFF TOPIC: Terrorist attacks

2001-09-18 Thread Jon Garry
Please can everone stop sending these emails out. They serve absolutely no purpose and I am tiring of deleting them from my mailbox now - there are other forums for this type of 'discussion'. This is a discussion list for JSP - lets get back to it. -Original Message- From: Zahid Rahman [

Re: SQL Server Memo insert

2001-08-20 Thread Jon Garry
Hi Gregory, I think you need to replace the ' (apostrophe) character with a '' (double apostrophe) before you insert the string into your db and it should work fine. Jon -Original Message- From: Gregory Price [mailto:[EMAIL PROTECTED]] Sent: 20 August 2001 16:26 To: [EMAIL PROTECTED] Su

Re: Any good book to start learning JSP for ASP developers

2001-08-15 Thread Jon Garry
Hello Aftab, As a JSP newbie, I've found the Wrox book Professional JSP (2nd edition) to be absolutely brilliant. If you have some JSP/ASP knowledge then it is well recommended. Jon -Original Message- From: Aftab Ahmad [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 10:28 To: [EMAIL PRO

Re: ASP vs. JSP

2001-08-14 Thread Jon Garry
Hmmm... As someone who has had quite a lot of experience in the ASP/COM area and has moved to JSP/Java in the last few months I suppose I will still be more naturally biased towards the Microsoft way. In my experience and from what I've seen in the past, I don't think either will 'win' and the l

Re: User hits STOP button, then submits again..how to prevent thi s or provide a solution?

2001-08-14 Thread Jon Garry
re how the HTTP_REFERER would be blank...can you explain how you think this might be? > -Original Message- > From: A mailing list about Java Server Pages specification and > reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Garry > Sent: Tuesday, August 14, 2001 1:20 AM

Re: User hits STOP button, then submits again..how to prevent thi s or provide a solution?

2001-08-14 Thread Jon Garry
Kevin, Just an idea, but to stop someone opening up a new window, could you not check the HTTP_REFERER attribute? If a new window has been opened, it should (as far as I am aware) be blank whilst your 'legitimate' window would have some value in there - the URL of the old page. Jon -Origin

Re: ASP to JSP converstion

2001-08-09 Thread Jon Garry
I am in a similar situation where I am moving from a COM/ASP scenario over to a Bean/JSP environment. >From my experiences so far, I'd say that a tool to convert from ASP over to JSP isn't going to exist and I'd not put a lot of faith in the output that any tool would output, and there could be o

Stuck with beans

2001-08-06 Thread Jon Garry
Hello all, I've started to write my first beans/JSPs and have come across a problem that I am stuck on. I've wrote the bean and can get values out and display the HTML fine, but what I want to update a var in the bean by passing a value in the query string called id - eg the link will be update.