• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compile error in coreservlet book code

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SubmitResume.java
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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\
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thks bosun , yes, i need to set the classpath for it , thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic