The only difference being that I define a Visit object and I have
"load-on-startup" set to 1.
Otherwise, yeah.
Preston
>>> [EMAIL PROTECTED] 7/18/2005 4:14:48 PM >>>
Am I correct that your web.xml looks like this:
<servlet>
<servlet-name>testing</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>testing</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
http://jakarta.apache.org/tapestry/UsersGuide/configuration.html
--- Preston CRAWFORD <[EMAIL PROTECTED]>
wrote:
> Still doesn't work. I have an entry in
> testing.application under Web-Inf
> for contrib, but the URL still doesn't work. Do I
> have to reference it
> in my .page file as well?
>
> Preston
>
> >>> [EMAIL PROTECTED] 7/18/2005 4:01:07
> PM >>>
> Nevermind, found it buried in chapter 6. Weird.
>
> Preston
>
> >>> [EMAIL PROTECTED] 7/18/2005 3:57:56
> PM >>>
> Um. What application file? That's never mentioned in
> Tapestry in
> Action
> that I saw. I just have been using web.xml.
>
> Preston
>
> >>> [EMAIL PROTECTED] 7/18/2005 3:53:37 PM >>>
> Do you have
> <library id="contrib"
>
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> in application file?
>
> --- Preston CRAWFORD <[EMAIL PROTECTED]>
> wrote:
>
> > By the way, when I try to hit the URL to reset....
> >
> >
>
http://localhost:8080/testing/app?service=reset/contrib:Inspector
>
> >
> > ...I get...
> >
> > org.apache.tapestry.ApplicationRuntimeException
> > Library 'contrib' not found in application
> > namespace.
> >
> > >>> [EMAIL PROTECTED] 7/18/2005 2:55:52
> > PM >>>
> > Okay, so I have the gist of how to do this now.
> The
> > problem is I'm
> > missing something. I can't call the reset method
> for
> > some reason. Am I
> > supposed to put a component or something in my
> .page
> > file? And if so
> > what does it look like? I'm trying to follow this
> > example here.
> >
> > http://blog.shadowbox.com/index.php?p=40
> >
> >
>
---------------------------------------------------------------------
> > 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]
> >
> >
>
>
> Konstantin Ignatyev
>
>
>
>
> PS: If this is a typical day on planet earth, humans
> will add fifteen
> million tons of carbon to the atmosphere, destroy
> 115 square miles of
> tropical rainforest, create seventy-two miles of
> desert, eliminate
> between forty to one hundred species, erode
> seventy-one million tons
> of
> topsoil, add 2,700 tons of CFCs to the stratosphere,
> and increase
> their
> population by 263,000
>
> Bowers, C.A. The Culture of Denial: Why the
> Environmental Movement
> Needs a Strategy for Reforming Universities and
> Public Schools. New
> York: State University of New York Press, 1997: (4)
> (5) (p.206)
>
>
---------------------------------------------------------------------
> 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]
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Konstantin Ignatyev
PS: If this is a typical day on planet earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate
between forty to one hundred species, erode seventy-one million tons of
topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their
population by 263,000
Bowers, C.A. The Culture of Denial: Why the Environmental Movement
Needs a Strategy for Reforming Universities and Public Schools. New
York: State University of New York Press, 1997: (4) (5) (p.206)
---------------------------------------------------------------------
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]