been looking through all the fourms, and it seems Wrox was liquidated. isnt much chance of support except maybe from the books writers, or maybe A Press who aquired some of the books! http://www.apress.com
. There is a FAQ from Kevin Mukhar athttp://home.earthlink.net/~kmukhar/books/BeginningJ2EE/index.html
Then using the 'deploytool' to create a WAR file you're asked to add various files one of which is FaqCategories.class. The problem is that this file does not exist and nowhere does it mention you should compile the java. Anyway, after the deploy and trying to run it, it failed.
I dont really understand the whole deploytool thing but thats another thread eh! :-)
So finally to answer your question(if i read it right!) i figured(when i hit the problem!) that its got to do with the way you compile FaqCategories.java. As the error shows its looking for the FaqCategories class in the Ch03 package, but doing a normal javac on the java file wont put it in to a package, the 1st line of the java file says its part of the Ch03 package.. On page 71 of the book its got the directory structure of the application, put your FaqCategories.java file into the 'classes' directory and then compile the file with : javac -d . FaqCategories.java
Doing this will create a directory Ch03 in the classes dir & Ch03 contains the FaqCategories class file.took me ages to figure this one out so im glad to see im not alone :-)
Got probs of my own with the javabean/session example (my categories dont show up after i've submitted my registration and when i go back to welcome.jsp after registering i get the "your not registered" part of the page. think its got to do with IE6 caching the page (initially) cos when i hit refresh the page loads as it should. any ideas?????????)
Also cant get the new pages you create for the Exception handling example to load. Think theres a typo on page 108, theres a "href" to welcome.jsp, think it should be "../welcome.jsp"
would be great if you (or anyone else) can help out.. users supporting users!