This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Tools I am using are: Tapestry 4.x Tomcat 5.5.x Eclipse java europa Situation: I can see tomcat up and running Problem: Now when I am trying to use Tapestry to run Hello World application, I am running into problems. It is perhaps not recognizing the file, as it is showing me page not found error. Error message: Document base (the path which I am providing in the context file) does not exist or is not a readable directory. What I have done so far: I can see Home.html and Home.page and web.xml in the C:\workspace\Hello World\context\WEB-INF. Also the HelloWorld.xml (context file) is there C:\Tomcat\conf\Catalina\localhost. I am following the example from the book and have checked the contents many a time and cannot find any mis-match with that. I have double checked the path in the context file as well and it is telling tomcat to look in the workspace directory for the html page. I can post the file contents if that can make it more clear, but rest assured it is the same as from book. Can I get some help here?, thanks
Well, the first question is: to which URL you are trying to navigate when you are getting the 404 error. If you are following Kent Tong's book, it should be something like http://localhost:8080/HelloWorld/app.
If you are doing this (to not forget /app in the end!) then please list the contents of your web.xml.
Alexander Kolesnikov<br />Java Web Developer<br />SCJP 1.4, SCWCD 1.4, SCBCD 1.3<br /><a href="http://sundraw.ws" target="_blank" rel="nofollow">Tapestry 5: Building Web Applications</a><br /><a href="http://sundraw.ws/batik.jsp" target="_blank" rel="nofollow">Java Drawing With Apache Batik</a>
Hmm... Everything seems to be all right. It can be just a simple typo somewhere.
Joined: May 31, 2002
are you the one who wrote step by step jakarta - tapestry ? It gives me immense pleasure to know that you are answering my questions. I am trying to set up tapestry framework at home, and I will try to re-do the whole setup, I hope it should work this time. At any rate, please update the tapestry installation from version 3.x to 4.x. I liked your article and was very helpful. If you could update that to latest version, that would be great. Thanks a lot for all your help. Tapestry seems a little complicated, not that I am giving up on it. I hope with more time spent on that, I will be in a better position to understand that well. Thanks again.