>> I'm getting 404s for everything

Is it your tag not being accessed, or files accessed from your tag, or
the whole webapp missing?

If it is just an issue of your tag not being able to find files as you
think they should, 
Just create a File (new File("xxx")) within your tag and System.out the
absolute path of that file.  That will
Tell you what the tag sees as your root! 

>> Is there a way to set up a debugger or something?

You can do remote debugging of the JSP containing the tag.

>> Oh, and by the way, I'm using the ancient Tomcat 4.1

Why?

-----Original Message-----
From: PCJ [mailto:peter.jones....@gmail.com] 
Sent: Friday, March 12, 2010 10:58 AM
To: users@tomcat.apache.org
Subject: Examining where Tomcat is serving files from


Hi, I'm trying to test a custom tag library and not quite getting there.
I'm
using Tomcat to serve the files but when I navigate to where they should
be,
I'm getting 404s for everything. I have a project in Eclipse called
MyTagLib, which Tomcat (integrated into Eclipse) is serving on port
8080,
and my Web content is in MyTagLib/web/content appropriately enough. I
have
the following tag set in org.eclipse.wst.common.component:

<wb-resource deploy-path="/" source-path="/web/content"/>

So localhost:8080/blarg.html should serve
MyTagLib/web/content/blarg.html,
but it doesn't. What I want to know is, if Tomcat isn't seeing these
files,
how can I examine where it IS looking? Is there a way to set up a
debugger
or something?

Oh, and by the way, I'm using the ancient Tomcat 4.1, but if anybody
knows
anything about dealing with this in newer versions I'll make an effort
to
translate. Thanks!
-- 
View this message in context:
http://old.nabble.com/Examining-where-Tomcat-is-serving-files-from-tp278
79973p27879973.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to