File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes compile error in coreservlet book code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "compile error in coreservlet book code" Watch "compile error in coreservlet book code" New topic
Author

compile error in coreservlet book code

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, i download the code from martin hall website, when i compile it, i get error as shown below, can anyone help me ?
for your information :
-- i make it under WEB-INF\classes\coreservlets
-- servletUtilities.java compile successfully
[ March 16, 2004: Message edited by: Alvin chew ]
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
SubmitResume.java
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
Error
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
ServletUtilities.java

ServletUtilities.java file under chapter 4
i couldn't paste here cause of error generate from javaranch, so pls download , the thing is this file can compile successfully in my pc
[ March 16, 2004: Message edited by: Alvin chew ]
[ March 16, 2004: Message edited by: Alvin chew ]
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Check your classpath settings. You have to add the directory that contains your paackage to your classpath. In this case, it will be
...WEB-INF\classes\


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
thks bosun , yes, i need to set the classpath for it , thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compile error in coreservlet book code
 
Similar Threads
generics extends question?
java.ditmas.net mock
Overloading with var-args
Wrapper Classes
help