The last two responses fixed the probem. I had to set the webapp root dir: to context/ and point my browser to http://localhost:8080/app and it worked. Thanks to everyone for all their help. Calvin
Mind Bridge wrote the following on 2/25/2006 6:17 PM: > Hi, > > Please try > > http://localhost:8080/app > > 'app' is the name of the servlet defined in WEB-INF/web.xml. > > Calvin Deiterich wrote: > >> After I start up Jetty Launcher within Eclipse I go to >> http://localhost:8080/ >> That brings me to a directory list in my web browser that contains: >> >> Directory: / >> .checkstyle 300 bytes Feb 23, 2006 9:09:30 PM >> .classpath 337 bytes Feb 23, 2006 8:32:04 PM >> .project 580 bytes Feb 23, 2006 8:32:04 PM >> .settings/ 0 bytes Feb 23, 2006 9:09:00 PM >> .spindleUI.prefs 71 bytes Feb 23, 2006 8:32:04 PM >> .tapestryplugin 188 bytes Feb 23, 2006 9:09:30 PM >> context/ 0 bytes Feb 23, 2006 8:31:59 PM >> src/ 0 bytes Feb 23, 2006 8:32:40 PM >> >> >> I then navigate to http://localhost:8080/context/WEB-INF/which displays >> >> Directory: /context/WEB-INF/ >> Parent Directory >> HelloWorld.application 488 bytes Feb 23, 2006 8:34:45 PM >> Home.html 277 bytes Feb 24, 2006 6:46:09 AM >> Home.page 448 bytes Feb 23, 2006 8:39:20 PM >> classes/ 0 bytes Feb 23, 2006 9:09:30 PM >> web.xml 647 bytes Feb 23, 2006 8:32:04 PM >> >> When I run Home.html the following is displayed in my browser: >> >> Welcome to your first Tapestry Application >> >> This text will be replaced by Tapestry >> >> Thanks >> Calvin >> >> Geoff Longman wrote the following on 2/25/2006 4:27 PM: >> >> >>> Disregard my last, Calvin sent me his project yesterday and Home.html is >>> under /WEB-INF so I don't think a badly crafted url is the cause of his >>> woes. >>> >>> (Calvin's project work for me BTW). >>> >>> Geoff >>> >>> On 2/25/06, Geoff Longman <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>> hmm, yes >>>> >>>> http://localhost/Home.html might load the template >>>> >>>> while >>>> >>>> http://localhost/app would load the, dynamic, Tapestry home page. >>>> >>>> I'm not near my setup to try it out Calvin but do check the url you >>>> were >>>> using. >>>> >>>> Geoff >>>> >>>> On 2/25/06, Sebastiaan van Erk <[EMAIL PROTECTED] > wrote: >>>> >>>> >>>> >>>>> What URL are you using to access your page? >>>>> >>>>> Are you sure you're not just viewing the static .html page? >>>>> >>>>> Greetings, >>>>> Sebastiaan >>>>> >>>>> Calvin Deiterich wrote: >>>>> >>>>> >>>>> >>>>>> Barry, >>>>>> Sorry about that, the code is below: >>>>>> The code: >>>>>> Home.html >>>>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >>>>>> <html> >>>>>> <head> >>>>>> <title>Hello World</title> >>>>>> </head> >>>>>> <body> >>>>>> Welcome to your first <b>Tapestry Application</b> >>>>>> <p> >>>>>> <h1> >>>>>> <span jwcid="insertSomeText">This text will be replaced by >>>>>> >>>>> >>>>> Tapestry</span> >>>>> >>>>> >>>>> >>>>>> </h1> >>>>>> </body> >>>>>> </html> >>>>>> >>>>>> Home.java >>>>>> package tutorial.hello; >>>>>> >>>>>> import org.apache.tapestry.html.BasePage; >>>>>> public class Home extends BasePage >>>>>> { >>>>>> public String getSomeText() >>>>>> { >>>>>> return "It's a brave new world!"; >>>>>> } >>>>>> } >>>>>> >>>>>> Home.page >>>>>> <?xml version="1.0 " encoding="UTF-8"?> >>>>>> <!DOCTYPE page-specification PUBLIC >>>>>> "-//Apache Software Foundation//Tapestry Specification 3.0//EN" >>>>>> " http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd "> >>>>>> <!-- generated by Spindle, http://spindle.sourceforge.net --> >>>>>> >>>>>> <page-specification class=" tutorial.hello.Home"> >>>>>> <component id="insertSomeText" type="Insert"> >>>>>> <binding name="value" expression="someText"/> >>>>>> </component> >>>>>> </page-specification> >>>>>> >>>>>> 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 "> >>>>>> <!-- generated by Spindle, http://spindle.sf.net --> >>>>>> >>>>>> >>>>>> <web-app> >>>>>> <display-name>HelloWorld</display-name> >>>>>> <servlet> >>>>>> <servlet-name>HelloWorld</servlet-name> >>>>>> >>>>>> <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class> >>>>>> <load-on-startup>1</load-on-startup> >>>>>> </servlet> >>>>>> <servlet-mapping> >>>>>> <servlet-name>HelloWorld</servlet-name> >>>>>> <url-pattern>/app</url-pattern> >>>>>> </servlet-mapping> >>>>>> </web-app> >>>>>> >>>>>> HelloWorld.application >>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>> <!DOCTYPE application PUBLIC >>>>>> "-//Apache Software Foundation//Tapestry Specification 3.0//EN" >>>>>> "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd "> >>>>>> <!-- generated by Spindle, http://spindle.sourceforge.net --> >>>>>> >>>>>> <application name="HelloWorld" >>>>>> engine-class="org.apache.tapestry.engine.BaseEngine"> >>>>>> >>>>>> <description>My Hello World Application</description> >>>>>> >>>>>> <page name="Home" specification-path="Home.page"/> >>>>>> >>>>>> </application> >>>>>> >>>>>> >>>>>> Barry Books wrote the following on 2/25/2006 8:15 AM: >>>>>> >>>>>> >>>>>> >>>>>>> You didn't post the code but I suspect you need <span >>>>>>> jwcid="@Insert" >>>>>>> value="ognl:yourMethod"/> Also what out for >>>>>>> misspelling jwcid. >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> >>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>> For additional commands, e-mail: >>>>>>> [EMAIL PROTECTED] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: >>>>>> [EMAIL PROTECTED] >>>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>>> >>>> >>>> -- >>>> The Spindle guy. http://spindle.sf.net >>>> Get help with Spindle: >>>> http://lists.sourceforge.net/mailman/listinfo/spindle-user >>>> Blog: http://jroller.com/page/glongman >>>> Feature Updates: http://spindle.sf.net/updates >>>> >>>> >>> >>> >>> >>> -- >>> The Spindle guy. http://spindle.sf.net >>> Get help with Spindle: >>> http://lists.sourceforge.net/mailman/listinfo/spindle-user >>> Blog: http://jroller.com/page/glongman >>> Feature Updates: http://spindle.sf.net/updates >>> >>> >> >> >> >> >> ------------------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://mywebpages.comcast.net/tnczoo/ ----- "If a dog will not come to you after having looked you in the face, you should go home and examine your conscience." - Woodrow Wilson -----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]