Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Java compile error


Message #1 by "EXT-Zhang, Alice W" <Alice.Zhang@P...> on Thu, 22 Feb 2001 13:29:48 -0800
Hello, asp_web developer,

 

I got followings errors when compiling my Java code, is there anyone knows what's wrong? package javax.servlet belong to JDK1.3 or
something else? Thanks in advance!!!



C:\default\F13TierServlet1.java:2: package javax.servlet does not exist

import javax.servlet.*;

^

C:\default\F13TierServlet1.java:3: package javax.servlet.http does not exist

import javax.servlet.http.*;

^



part of the code:

-------------------------

import java.io.*;

import javax.servlet.*;

import javax.servlet.http.*;

import com.f1j.swing.*;



public class F13TierServlet1 extends HttpServlet {



public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException

    { ....

 

Alice W. Zhang

Finance E-Business Group

Boeing Commercial Airplanes

Tel:  xxx-xxx-xxxx

Location: 5A4-3.2 (Blg.10-18)

Mail/Stop: 6X-PM



> ----------

> From: 	Scott Watermasysk[SMTP:swatermasysk@C...]

> Reply To: 	ASP Web HowTo

> Sent: 	Thursday, February 22, 2001 11:51 AM

> To: 	ASP Web HowTo

> Subject: 	[asp_web_howto] Access to Excel

> 

> Hello All,

> 

> I know you can store Excel files in a MS Access Database. How could I get

> them there through an ASP interface?

> 

> I also want people to be able to click on a link to down load the files, but

> everytime I link to an excel file, it opens in the browser. Is there away

> around this?

> 

> -Thanks

> Scott

> 




> 

Message #2 by "EXT-Zhang, Alice W" <Alice.Zhang@P...> on Thu, 22 Feb 2001 14:16:39 -0800
All, Thanks much. The error has been solved. I need to install jsdk2.1 to run my program. 

Alice W. Zhang

Finance E-Business Group

Boeing Commercial Airplanes

Tel:  xxx-xxx-xxxx

Location: 5A4-3.2 (Blg.10-18)

Mail/Stop: 6X-PM



> ----------

> From: 	EXT-Zhang, Alice W[SMTP:Alice.Zhang@P...]

> Reply To: 	ASP Web HowTo

> Sent: 	Thursday, February 22, 2001 1:29 PM

> To: 	ASP Web HowTo

> Subject: 	[asp_web_howto] Java compile error

> 

> Hello, asp_web developer,

>  

> I got followings errors when compiling my Java code, is there anyone knows what's wrong? package javax.servlet belong to JDK1.3
or something else? Thanks in advance!!!

> 

> C:\default\F13TierServlet1.java:2: package javax.servlet does not exist

> import javax.servlet.*;

> ^

> C:\default\F13TierServlet1.java:3: package javax.servlet.http does not exist

> import javax.servlet.http.*;

> ^

> 

> part of the code:

> -------------------------

> import java.io.*;

> import javax.servlet.*;

> import javax.servlet.http.*;

> import com.f1j.swing.*;

> 

> public class F13TierServlet1 extends HttpServlet {

> 

> public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException

>     { ....

>  

> Alice W. Zhang

> Finance E-Business Group

> Boeing Commercial Airplanes

> Tel:  xxx-xxx-xxxx

> Location: 5A4-3.2 (Blg.10-18)

> Mail/Stop: 6X-PM

> 

> > ----------

> > From: 	Scott Watermasysk[SMTP:swatermasysk@C...]

> > Reply To: 	ASP Web HowTo

> > Sent: 	Thursday, February 22, 2001 11:51 AM

> > To: 	ASP Web HowTo

> > Subject: 	[asp_web_howto] Access to Excel

> > 

> > Hello All,

> > 

> > I know you can store Excel files in a MS Access Database. How could I get

> > them there through an ASP interface?

> > 

> > I also want people to be able to click on a link to down load the files, but

> > everytime I link to an excel file, it opens in the browser. Is there away

> > around this?

> > 

> > -Thanks

> > Scott

> 

  Return to Index