Re: Simple question.

2002-08-01 Thread Albert Pi
Yes, You need recompile. The servlet is java code not html/script. Not recomplie also you need redeploy your WAR file to see the changes. Albert Pi Corp IS System Delivery 516-803-3762 >>> [EMAIL PROTECTED] 08/01/02 12:31PM >>> This is a total beginners question. If I modify a servlet. Do I n

Re: Simple question.

2002-08-01 Thread Bhangale, Bhushan
Prais [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 12:31 PM To: [EMAIL PROTECTED] Subject: Simple question. This is a total beginners question. If I modify a servlet. Do I need to recompile to realize the changes? If so, how do I do that? Thanks in advance Lance

Simple question.

2002-08-01 Thread Lance Prais
This is a total beginners question. If I modify a servlet. Do I need to recompile to realize the changes? If so, how do I do that? Thanks in advance Lance ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in

Re: simple question

2002-04-28 Thread S Srinivas Nayak
t. Srinivas - Original Message - From: Nic Ferrier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 25, 2002 2:59 AM Subject: Re: simple question > Lance Prais <[EMAIL PROTECTED]> writes: > > > I am not sure what is

Re: simple question

2002-04-24 Thread Nic Ferrier
Lance Prais <[EMAIL PROTECTED]> writes: > I am not sure what is going wrong here could someone please help. > > I want to set a value to an input box. This value is passed from a previous > form. > I would normally do it this way. > style="text-align: Left; width: 280" tabindex="1" maxlength="5

Re: simple question

2002-04-24 Thread Galbreath, Mark
change <%QueryText%> to <%=QueryText%> Mark -Original Message- From: Lance Prais [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 4:30 PM To: [EMAIL PROTECTED] Subject: simple question I am not sure what is going wrong here could someone please help. I want to

Re: simple question

2002-04-24 Thread Nath, Vinay (CORP, GEITC)
2002 2:00 AM To: [EMAIL PROTECTED] Subject: simple question I am not sure what is going wrong here could someone please help. I want to set a value to an input box. This value is passed from a previous form. I would normally do it this way. I am using Iplanet and when I do the above statement

simple question

2002-04-24 Thread Lance Prais
I am not sure what is going wrong here could someone please help. I want to set a value to an input box. This value is passed from a previous form. I would normally do it this way. I am using Iplanet and when I do the above statement it blows up. Thank you in advance Lance __

Re: Simple Question

2001-02-14 Thread Rajeshwar Rao Vadheraju
Which method you are using? If you are using GET then .. -Original Message- From: ananthakrishnan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 9:20 AM To: [EMAIL PROTECTED] Subject: Simple Question Hi, I have an Interface [html page generated by a servlet]with a

Simple Question

2001-02-14 Thread ananthakrishnan
Hi, I have an Interface [html page generated by a servlet]with a drop down list and 50 text boxes. 1) Based on the value of the drop down list selected all the 50 boxes must be filled up with data. Iam submitting the page to itself . 2)Iam getting an error when submitting the page as Network ad

Re: FW: Simple Question

2001-02-12 Thread Chad Shook
icio Villa <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, February 12, 2001 2:15 AM > Subject: FW: Simple Question > > > > Ok, Here are the page and the servlet, the > question is why the page can > not > > find the servlet

Re: FW: Simple Question

2001-02-12 Thread Klaus Sonnenleiter
r example http://localhost/servlet/InsContactenos >instead of /servlets/InsContactenos > >-mw > > >- Original Message - >From: "Mauricio Villa" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Sunday, February 11, 2001 9:45 PM >Subject: F

Re: FW: Simple Question

2001-02-12 Thread Amarnath N.
replace /Servlets/InsContactenos with /Servlet/InsContactenos - Original Message - From: Mauricio Villa <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 12, 2001 2:15 AM Subject: FW: Simple Question > Ok, Here are the page and the servlet, the question

Re: Simple Question

2001-02-12 Thread Bertus Viljoen
t: FW: Simple Question Ok, Here are the page and the servlet, the question is why the page can not find the servlet? Thanks for any help, Mauricio. The Page: Aca se Ingresan los Datos Nuevos The Servlet: import java.io.*; import javax.se

Re: Simple Question

2001-02-11 Thread Ramesh, Kesav
, February 12, 2001 2:16 AM To: [EMAIL PROTECTED] Subject: FW: Simple Question Ok, Here are the page and the servlet, the question is why the page can not find the servlet? Thanks for any help, Mauricio. The Page: Aca se Ingresan los Datos Nuevos

Re: FW: Simple Question

2001-02-11 Thread Michael Weller
IL PROTECTED]> Sent: Sunday, February 11, 2001 9:45 PM Subject: FW: Simple Question > Ok, Here are the page and the servlet, the question is why the page can not > find the servlet? > > Thanks for any help, Mauricio. > > > > > > T

FW: Simple Question

2001-02-11 Thread Mauricio Villa
Ok, Here are the page and the servlet, the question is why the page can not find the servlet? Thanks for any help, Mauricio. The Page: Aca se Ingresan los Datos Nuevos The Servlet: import java.io.*; import javax.servlet.*; import javax.serv

Re: Simple Question

2001-02-09 Thread Danny Rubis
Hey! Your action parameter is wrong. If I gave you the answer, you will never learn to look these things up in a book on servlets, where the answer lies. Sans adieu, Danny Rubis Mauricio Villa wrote: > Hi, I'm a newbie in this, > > I have a Sun micosystems Server, I had installed my JSP pages

Re: Simple Question

2001-02-09 Thread Murugan Patham
Check following : are you extending the HTTPServlet? is Prueba/Servlets directory comes under the Context? Regds Murugan K Patham 480 - 990 4200 Ext 2712 >>> [EMAIL PROTECTED] 02/09 8:00 AM >>> Hi, I'm a newbie in this, I have a Sun micosystems Server, I had installed my JSP pages in a d

Simple Question

2001-02-09 Thread Mauricio Villa
Hi, I'm a newbie in this, I have a Sun micosystems Server, I had installed my JSP pages in a directory called Prueba, my servlets are installed in a subdirectory of this called Servlets. The structure look like this: -Prueba ---Servlets One of my JSP pages is calling a servlet called InsConsta

Re: A Simple Question

2000-11-01 Thread Milt Epstein
goes to a file somewhere, and some servlet containers will allow you to specify which file it should go to. Check your servlet container documentation. > >From: Joe Hall <[EMAIL PROTECTED]> > >Subject: Re: A Simple Question > >Date: Wed, 1 Nov 2000 16:16:01 -0500 > >

Re: A Simple Question

2000-11-01 Thread Nic Ferrier
This whole thread is a waste of time and bandwidth. Peter: why don't you go read the servlet docs which explain how servlets work? Or if you find it difficult to understand those why not read one of the many FAQs about servlets that exist on the net? Go to: http://www.google.com and type:

Re: A Simple Question

2000-11-01 Thread Joe Hall
, November 01, 2000 6:57 AM To: [EMAIL PROTECTED] Subject: Re: A Simple Question Hi, Thanks for your answer. One thing that I'm still not clear: in init() method, we can use System.out.println to output some error message in try/catch. So, where does the error message go? Peter >From:

Re: A Simple Question

2000-11-01 Thread Peter Smith
r discussion about Sun Microsystem's Java >Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: A Simple Question >Date: Wed, 1 Nov 2000 16:16:01 -0500 > >The init() method is called when the servlet is instantiated. It does not >out

Re: A Simple Question

2000-11-01 Thread Joe Hall
, 2000 5:13 AM To: [EMAIL PROTECTED] Subject: A Simple Question Hi: I'm new on Java servlet. My question is: In init() method, System.out.println("some string"); doesn't output to the web page, is that right? If it is, how can we get some information to stand output in init(

Re: A Simple Question

2000-11-01 Thread Peter Smith
Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: A Simple Question >Date: Wed, 1 Nov 2000 15:23:16 -0500 > >Hi, > >System.out.println("some string"); will send the output to the console. > >To send to

Re: A Simple Question

2000-11-01 Thread Sandeep, Mini
Message- > From: Peter Smith [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 01, 2000 5:13 AM > To: [EMAIL PROTECTED] > Subject: A Simple Question > > > Hi: > > I'm new on Java servlet. My question is: > > In init() method, > System.out.println("

A Simple Question

2000-11-01 Thread Peter Smith
Hi: I'm new on Java servlet. My question is: In init() method, System.out.println("some string"); doesn't output to the web page, is that right? If it is, how can we get some information to stand output in init() method? Thanks in advance, Peter

Re: synchronized methods - simple question

2000-05-26 Thread Nic Ferrier
>>> "Chauhan, Vivek" <[EMAIL PROTECTED]> 26-May-00 3:46:23 PM >>> >It's not necessary to synchronize the calls to database if >you take care in writing the SQL code. For example if you >use a SEQUENCE in ORACLE to get next available ID, >there is no possibility of a conflict. Also rather than >sy

Re: synchronized methods - simple question

2000-05-26 Thread Chauhan, Vivek
time) explicitly if there is a need. Almost all relational databases take care of concurrency issues. thanks Vivek -Original Message- From: Nic Ferrier [mailto:[EMAIL PROTECTED]] Sent: Friday, May 26, 2000 9:58 AM To: [EMAIL PROTECTED] Subject: Re: synchronized methods - simple que

Re: synchronized methods - simple question

2000-05-26 Thread Kevin Jones
un Microsystem's Java Servlet > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nic > Ferrier > Sent: 26 May 2000 14:58 > To: [EMAIL PROTECTED] > Subject: Re: synchronized methods - simple question > > > >>> Steven Costello <[EMAIL PROTECTED]> 26-May

Re: synchronized methods - simple question

2000-05-26 Thread Nic Ferrier
>>> Steven Costello <[EMAIL PROTECTED]> 26-May-00 2:16:49 PM >>> >This discussion got me re-thinking my implementation in terms >of synchronizing my methods which make database queries or >updates. >Is it necessary to synchronize all of the methods that access a >database? Just the updates? or

Re: synchronized methods - simple question

2000-05-26 Thread Steven Costello
This discussion got me re-thinking my implementation in terms of synchronizing my methods which make database queries or updates. Is it necessary to synchronize all of the methods that access a database? Just the updates? or none at all? I have several different servlets accessing the databa

Re: synchronized methods - simple question

2000-05-25 Thread Marius Sorin Barduta
> I wonder if anyone can confirm the following: > > I have a servlet that will call a synchronized method that will write to a > file. My understanding of how Servlets work is that for every web session > (web browser) which calls the servlet the servlet will have a thread created > for that sess

Re: synchronized methods - simple question

2000-05-24 Thread Craig R. McClanahan
Nic Ferrier wrote: > >>> Milt Epstein <[EMAIL PROTECTED]> 24-May-00 2:36:10 PM >>> > > >OK. But then how is this reconciled with what I said about the > spec > >requiring that only one instance be created in most cases? Is the > >correct interpretation that only one instance be created unless >

Re: synchronized methods - simple question

2000-05-24 Thread Nic Ferrier
>>> Milt Epstein <[EMAIL PROTECTED]> 24-May-00 2:36:10 PM >>> >OK. But then how is this reconciled with what I said about the spec >requiring that only one instance be created in most cases? Is the >correct interpretation that only one instance be created unless there >are multiple mappings *or

Re: synchronized methods - simple question

2000-05-24 Thread Milt Epstein
On Wed, 24 May 2000, Nic Ferrier wrote: > >>> Milt Epstein <[EMAIL PROTECTED]> 24-May-00 12:45:15 AM >>> > > >(There's one thing I'm having problem resolving with this: I > >believe that you can have several aliases for the same servlet, > >perhaps varying by the init arguments they take. If tha

Re: synchronized methods - simple question

2000-05-24 Thread Anil Lobo
080-5522892 extn 156 -Original Message- From: veena T [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 24, 2000 3:00 AM To: [EMAIL PROTECTED] Subject: Re: synchronized methods - simple question >Is this true?? I donot think that is necessary. Please check it again. Bye, veena T --- Veena T Assi

Re: synchronized methods - simple question

2000-05-24 Thread Nic Ferrier
>>> Milt Epstein <[EMAIL PROTECTED]> 24-May-00 12:45:15 AM >>> >(There's one thing I'm having problem resolving with this: I believe >that you can have several aliases for the same servlet, perhaps >varying by the init arguments they take. If that is the case, it >would seem that each alias woul

Re: synchronized methods - simple question

2000-05-24 Thread veena T
>Is this true?? I donot think that is necessary. Please check it again. Bye, veena T --- Veena T Assistant Profesor, Manipal Center for Information Science, Manipal. 576 119 Email: [EMAIL PROTECTED] Telephone: 91+08252-71915/71914 On Sun, 21 May 2000 17:10:32 Marc Krisjanous wrote:

Re: synchronized methods - simple question

2000-05-23 Thread Milt Epstein
On Tue, 23 May 2000, Craig R. McClanahan wrote: > Tim Panton - Westhawk Ltd wrote: > > > Marc Krisjanous <[EMAIL PROTECTED]> wrote: > > __ > > >Hi all, > > >I wonder if anyone can confirm the following: > > > > > >I have a servlet that will call a synchronized method that will > > >write

Re: synchronized methods - simple question

2000-05-23 Thread Milt Epstein
On Tue, 23 May 2000, Tim Panton - Westhawk Ltd wrote: > Marc Krisjanous <[EMAIL PROTECTED]> wrote: > >Hi all, > >I wonder if anyone can confirm the following: > > > >I have a servlet that will call a synchronized method that will > >write to a file. My understanding of how Servlets work is that

Re: synchronized methods - simple question

2000-05-23 Thread Craig R. McClanahan
Tim Panton - Westhawk Ltd wrote: > Marc Krisjanous <[EMAIL PROTECTED]> wrote: > __ > >Hi all, > >I wonder if anyone can confirm the following: > > > >I have a servlet that will call a synchronized method that will write to a > >file. My understanding of how Servlets work is that for ever

Re: synchronized methods - simple question

2000-05-23 Thread Tim Panton - Westhawk Ltd
Marc Krisjanous <[EMAIL PROTECTED]> wrote: __ >Hi all, >I wonder if anyone can confirm the following: > >I have a servlet that will call a synchronized method that will write to a >file. My understanding of how Servlets work is that for every web session >(web browser) which calls the ser

Re: synchronized methods - simple question

2000-05-21 Thread Steven D. Meacham
ng list for discussion about Sun Microsystem's > Java Servlet > API Technology. [mailto:[EMAIL PROTECTED]]On > Behalf Of Marc > Krisjanous > Sent: Sunday, May 21, 2000 5:11 PM > To: [EMAIL PROTECTED] > Subject: synchronized methods - simple question > > > Hi all,

Re: synchronized methods - simple question

2000-05-21 Thread Nic Ferrier
>>> Marc Krisjanous <[EMAIL PROTECTED]> 21-May-00 11:10:32 PM >Is this true?? Yes. Nic Ferrier ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archiv

synchronized methods - simple question

2000-05-21 Thread Marc Krisjanous
Hi all, I wonder if anyone can confirm the following: I have a servlet that will call a synchronized method that will write to a file. My understanding of how Servlets work is that for every web session (web browser) which calls the servlet the servlet will have a thread created for that session

SQL stupid/simple question

2000-01-14 Thread Denis Bucher
Hello ! I successfully compiled the msql mm driver, but my question is WHERE should I put this JDBC driver ? Thanks a lot ! Denis Bucher -- Denis Bucher, / [EMAIL PROTECTED] Tél. +41-22-8000625 \ Internet Horus Networks / horus-networks.comFax: +41-22-8000622 \ Services

Re: simple question

2000-01-03 Thread Altrine Christopher
Dear [EMAIL PROTECTED], I will be away till 11/01/2000. Should there be anything urgent, pls call the office at 874-5480. Thank you very much and do have a nice day. Regards, Malcolm ___ To unsubscribe, send email to [EM

Re: simple question

2000-01-03 Thread Stephen Raj A
rties. > > DD > > -- > From: Jerzy Brzezicki[SMTP:[EMAIL PROTECTED]] > Sent: Monday, January 03, 2000 09:09 PM > To: [EMAIL PROTECTED] > Subject:simple question > > I am new to servlets, trying to write some simple one. > What I need to do is to create

Re: simple question

2000-01-03 Thread Dr. Dragomir D. Dimitrijevic
Defin it as wrapper.classpath=... in jserv.properties. DD -- From: Jerzy Brzezicki[SMTP:[EMAIL PROTECTED]] Sent: Monday, January 03, 2000 09:09 PM To: [EMAIL PROTECTED] Subject:simple question I am new to servlets, trying to write some simple one. What I need to do is

simple question

2000-01-03 Thread Jerzy Brzezicki
I am new to servlets, trying to write some simple one. What I need to do is to create a servlet that uses some classes that are not deployed with sevlet. When I create servlet and run it with servletrunner it works ok, but when I deploy it to my Apache servlet directory (on NT machine) than I am g

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Chris Pratt
] Sent: Tuesday, October 05, 1999 3:08 AM Subject: Re: Me again with another simple question (CLASSPATH PROBLEM) So that means I can put my Mail API(+Java Bean Activation.jar) and JDBC Driver in that directory and they will work ?   Thanks for the TIP, I never knew that.   Keith

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Julian Flores
"A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject Re: Me again with another simple question :(CLASSPATH PROBLEM) I found the solution to

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Sascha Schmidt
; Phone : 0049-89-6088-2556 > Email : [EMAIL PROTECTED] WWW site : www.iabg.de > -> --- > > - Original Message - > From: Chris Pratt > To: [EMAIL PROTECTED] > Sent: Tuesday, Oc

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Keith Ball
: Chris Pratt To: [EMAIL PROTECTED] Sent: Tuesday, October 05, 1999 11:36 AM Subject: Re: Me again with another simple question (CLASSPATH PROBLEM) That's not a bug, that's a new feature of the Java2 environment called the Java Extension Mechanism.  It's

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Chris Pratt
l To: [EMAIL PROTECTED] Sent: Tuesday, October 05, 1999 2:14 AM Subject: Re: Me again with another simple question (CLASSPATH PROBLEM) I found the solution to the problem, its a BUG.   You have to move the JSDK.JAR file into the c:\jdk1.2.2\jre\lib\ext\  directory which forces

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Keith Ball
I found the solution to the problem, its a BUG.   You have to move the JSDK.JAR file into the c:\jdk1.2.2\jre\lib\ext\  directory which forces the compiler to see the jar files. Hm Nothing is ever simple.Keith ---Keit

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Keith Ball
, October 05, 1999 10:28 AM Subject: Re: Me again with another simple question (CLASSPATH PROBLEM) Yup, if you want to run with JSDK 2.0, you have to compile with JSDK 2.0.  Set your CLASSPATH to point to the jsdk.jar and recompile your servlets.     (*Chris

Re: Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Chris Pratt
Subject: Me again with another simple question (CLASSPATH PROBLEM) I apologise for this once again, but this time I think there really is a problem.   As many of you will be aware I had a problem with my class path, this is due to the fact that I set the JSDK2.1 servlet.jar as the

Me again with another simple question (CLASSPATH PROBLEM)

1999-10-05 Thread Keith Ball
I apologise for this once again, but this time I think there really is a problem.   As many of you will be aware I had a problem with my class path, this is due to the fact that I set the JSDK2.1 servlet.jar as the server.jar(oops).   I am running Apache 1.3.9 with Jserv version 1.0.  JServ

A simple question........

1999-10-04 Thread Keith Ball
Ok. silly mistake sorry for cluttering your mail box's   Keith ---Keith Ball - PraktikantAF12 Operationelle  Analysen  LuftwaffeIABG MbH Einsteinstr. 20  85521 OttobrunnPhone : 0049-89-60

Re: Simple question

1999-08-27 Thread Chen Li Wen
file in the correct directory. regards big mouse - Original Message - From: sarma <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 27, 1999 11:46 PM Subject: Simple question > I've downloaded JSDK2.1 software on my sun workstation yesterday night. &g

Re: Simple question

1999-08-27 Thread sarma
Thank you, It worked. -Sarma James Todd wrote: > with jsdk2.1 your servlets should reside in a "web application" > WEB-INF/servlets directory > (eg: examples/WEB-INF/servlets/Samples.class) and are invokable > via a uri (eg: http://localhost:8080/examples/servlet/Sample). > > hope this helps, >

Re: Simple question

1999-08-27 Thread James Todd
with jsdk2.1 your servlets should reside in a "web application" WEB-INF/servlets directory (eg: examples/WEB-INF/servlets/Samples.class) and are invokable via a uri (eg: http://localhost:8080/examples/servlet/Sample). hope this helps, - james sarma wrote: > > I've downloaded JSDK2.1 software on

Simple question

1999-08-27 Thread sarma
I've downloaded JSDK2.1 software on my sun workstation yesterday night. I've read the README file and could able to start server and run all examples programs in my netscape browser. After a while, I wrote a sample servlet program,then compiled and end up with Sample.class. Then I was trying to r

Re: simple question

1999-03-23 Thread Nasir Alzidi
try to add the following line to your Autoexec.bat file set classpath=c:\jsdk2.0\lib\jsdk.jar -Original Message- From: Your Jianfei Cheng <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, March 23, 1999 03:28 Õ Subject: simple question >Hi all

Re: simple question

1999-03-22 Thread Your Jianfei Cheng
Thanks. That works now. -JFC -Original Message- From: Christopher Lintlop [mailto:[EMAIL PROTECTED]] Sent: Monday, March 22, 1999 3:13 PM To: [EMAIL PROTECTED] Cc: Your Jianfei Cheng Subject: Re: simple question At 02:00 PM 03/22/1999 -0500, you wrote: >Hi all. this is first tim

Re: simple question

1999-03-22 Thread Erik Sahl
st for discussion about Sun Microsystem's Java Servlet > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Your > Jianfei Cheng > Sent: Monday, March 22, 1999 12:00 PM > To: [EMAIL PROTECTED] > Subject: simple question > > > Hi all. this is first time I am using t

Re: simple question

1999-03-22 Thread Timothy Gallagher
: simple question Hi all. this is first time I am using this list. I got a simple question about coding with JSDK. I just downloaded JDK2.0 and JSDK2.0. I installed JDK2.0 on my machine. I tried to compile my servlet code. I keep got error with import javax.servlet.* and import javax.servlet.http

simple question

1999-03-22 Thread Your Jianfei Cheng
Hi all. this is first time I am using this list. I got a simple question about coding with JSDK. I just downloaded JDK2.0 and JSDK2.0. I installed JDK2.0 on my machine. I tried to compile my servlet code. I keep got error with import javax.servlet.* and import javax.servlet.http.* Error message