I'm missing something; are you trying to navigate to another application?
Another page in a different application?  A different page in the same
application?

Cases 1 and 2 are a bit tricky, since you need outside knowledge of the
other application (its context and servlet URI).  If you look at the
Tutorial index.html, you'll see that it contains static references to the
applicaton servlets.

Case 3 is easy, just use a Page component.  Copious examples throughout.

Remember that in Tapestry, the servlet is the least important part of the
equation; it forms a bridge between the Servlet API and the Tapestry
framework and is unintesting after that.

It's not completely uncommon to package two Tapestry applications in the
same WAR file; I've seen the pattern of packaging a customer-facing
application and a complimentary adminstrative application together; they
share some common resources, including EJBs and some components, but rarely
need to "call into" each other.

----- Original Message -----
From: "Michael Doherty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 8:06 PM
Subject: [Tapestry-developer] Beginning Navigation Question


> I've implemented some Tapestry functionality a la the Tutorial, but one
> thing has gotten me
> stuck. I've got a number of Tapestry applications together, just like in
the
> Tutorial. How do  you
> navigate to another page when you have only one application?
>
> For example, I  have this link, <a href="hello">Hello World</a>, which
works
> when
> I have a HelloWorldServlet, mapped in the web.xml file as per below, and a
> HelloWorld.application,
> but how do I do it when it's only one "top" application?
>     <servlet>
>
>         <servlet-name>hello</servlet-name>
>
>         <servlet-class>hello.HelloWorldServlet</servlet-class>
>
>         <load-on-startup>0</load-on-startup>
>
>     </servlet>
>
>     <servlet-mapping>
>
>         <servlet-name>hello</servlet-name>
>
>         <url-pattern>/hello/*</url-pattern>
>
>         </servlet-mapping>
>
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to