Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compilation problems

 
Dan Caylor
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been learning from a book called Core Servlets and Java Server Pages for the past month or so, and I'm quite far into it. I have no problem running the examples when there's only one servlet or jsp file, but as soon as I try to run examples that use 5 or 6 servlets that reference each others methods, variables, etc I can't get it to work.
When I try to compile one of the Java files, I get an error saying that one of the other class files wasn't found. Naturally I try to compile that one in order to compile the first one, but the second one requires that you compile 3 others, etc.
I don't know which one to compile first, and when I finally do compile one succesfully, the other still won't work. Am I doing something wrong. I am using Textpad to compile the servlets, can anyone help?
Dan Caylor
dan@thinkdan.com
 
triveni sangam
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a problem quite amuses me as well.
Try javac *.java this will work but I do not have explanation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic