Have you tried moving Home.html to webapps\examples ? Shing
--- Shalini Goel <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have the following files with me - > > web.xml in path E:\Tomcat > 4.1\webapps\examples\WEB-INF > > Home.html in path E:\Tomcat > 4.1\webapps\examples\WEB-INF > > And all tapestry and j2ee jars in E:\Tomcat > 4.1\webapps\examples\WEB-INF\lib > > > > This is very small tutorial which I am trying to > run. > > > > When I try to access this using the url > http://localhost:8080/examples/app I get the > following error - > > org.apache.tapestry.ApplicationRuntimeException > > Page 'Home' not found in application namespace. > > > > Please some one tell me how shall I put my files in > physical folder to > make this url work. I am new to Tapestry. > > > > Below are the contents of my files - > > > > Web.xml > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, > Inc.//DTD Web Application > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > > <display-name>Tutorial: > HelloWorld</display-name> > > <servlet> > > <servlet-name>app</servlet-name> > > > <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class> > > <load-on-startup>0</load-on-startup> > > </servlet> > > <servlet-mapping> > > <servlet-name>app</servlet-name> > > <url-pattern>/app</url-pattern> > > </servlet-mapping> > > > > </web-app> > > > > Home.html > > > > <html> > > <head> > > <title> HelloWorld</title> > > </head> > > <body> > > <h1>HelloWorld </h1> > > </body> > > </html> > > > > > > > > > > > > cheers, > > -shalini > > > > > > **************** CAUTION - Disclaimer > ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL > INFORMATION intended solely for the use of the > addressee(s). If you are not the intended recipient, > please notify the sender by e-mail and delete the > original message. Further, you are not to copy, > disclose, or distribute this e-mail or its contents > to any other person and any such actions are > unlawful. This e-mail may contain viruses. Infosys > has taken every reasonable precaution to minimize > this risk, but is not liable for any damage you may > sustain as a result of any virus in this e-mail. You > should carry out your own virus checks before > opening the e-mail or attachment. Infosys reserves > the right to monitor and review the content of all > messages sent to or from this e-mail address. > Messages sent to or from this e-mail address may be > stored on the Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** Home page : http://uk.geocities.com/matmsh/index.html ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
