RE: A hit Counter JigSaw 2.1.1

What I mean by the last question.  I created a directory under the root
directory in windows it was C:\Jigsaw\Jigsaw\WWW\Doc\Test.  It appeared that
I was not able to get to that directory until I added a resource.  For
whatever reason the problem I was having seems to have gone away.  

Well I still have the issue of I may want to have Resources and Frames (I
hope those are the right words) added to the directory I create.  The
question is then... can I create a root directory (add Frames and Resources
to it) and any then directories that are created under it will then inherit
the configuration from the root directory?

I will try your other fixes and let you know.  Well I created my file again
using the JigAdmin tool and got the same [Unknown] response.

Created a org.w3c.tools.resources.FileResource
Added a frame org.w3c.jigsaw.ssi.SSIFrame 
added a frame org.w3c.jigsaw.filters.CounterFilter

Do I need to restart the server?  If I do it appears that all configuration
information is lost when I stop and start the server.  I hit the save button
on the JigAdmin tool and nothing appears to be saved.  Any thoughts.

Thanks
Jim

-----Original Message-----
From: Yves Lafon [mailto:ylafon@w3.org]
Sent: Wednesday, May 10, 2000 1:18 PM
To: Tyrrell, Jim
Cc: 'www-jigsaw@w3.org'
Subject: Re: A hit Counter JigSaw 2.1.1


On Wed, 10 May 2000, Tyrrell, Jim wrote:

> Hello,
> 
> I have just come across Jigsaw and am amazed with what it can do in the
> documentation, but I am having a few problems.  The first one is with the
> JigAdmin tool.  I created a new file test.shtml:
> <html>
> <head>
> 	<title>Untitled</title>
> </head>
> 
> <body>
> 
> My Hit Count <!--#hitcount -->
> 
> </body>
> </html>
> 
> I add a resource of class name org.w3c.tools.resources.FileResource to an
> identifier of test.shtml.  To this I then add a SSI Frame to let my server
> side include work.  All I get on a web page when I view this is:
> My Hit Count [unknown] 
> My first question why is this unknown?  I seem to have followed the
> documentation and am at a loss.  Also it appears that the changes I make

For the hit count, it needs an extra configuration, there is a
CounterFilter in charge of doing... hit count :)
Look at
http://jigsaw.w3.org/Doc/Programmer/api/org/w3c/jigsaw/ssi/commands/DefaultC
ommandRegistry.html
The best way it to add a org.w3c.jigsaw.filters.CounterFilter to the
SSIFrame.
Also only "count" is required no hitcount, also reusing the reqstate will
work if the "count" still doesn't

> Finally one last question:  Is there a way to programmatically configure
up
> a new resource.  In other words I may want to add directories from a
servlet
> to a web server.  How can I configure those so they can be viewed.

What do you mean by that? Are directories real? or do you want to do
forwarding from another server? 

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Wednesday, 10 May 2000 13:54:45 UTC