Ashutosh Sharma wrote:
You have to give a docBase that points to your webapps, in your example you must have this directory :Hi David, Thanks for the reply. But if i see the manager.xml under this location it's contents are like this:
<Context path="/manager" docBase="${catalina.home}/server/webapps/manager" debug="0" privileged="true">
<!-- Link to the user database we will get roles from --> <ResourceLink name="users" global="UserDatabase" type="org.apache.catalina.UserDatabase"/>
</Context>
So for my webApp viz. reports if i put this kind of contents:
<Context path="/reports" docBase="C:\talkBack src\talkback\java\build\reports"
debug="0" privileged="true">
</Context>
and then i restart the tomcat i see the directory listing.
Shud i giv refrence of build dir or src directory. Actually my
build.xml compiles everythign from my src to corresponding build Dir.
C:\talkBack src\talkback\java\build\reports\WEB-INF and I hope a web.xml inside.
and for java classes (your build dest must be something like this) C:\talkBack src\talkback\java\build\reports\WEB-INF\classes\
Your JSPs can be everywhere inside (depends on you web.xml): C:\talkBack src\talkback\java\build\reports\
Don't forget to specify welcome-file in your web.xml.
You removed the RessourceLink to user databases so why do you continue to use privileged="true" ? I don't know if it's correct...
You can add log info to your context that might help you later:
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_reports_log." suffix=".txt"
timestamp="true"/>Good luck,
David.
PS. I don't know if the '\' is OK for file separator inside this file: you'd better use '/'
like this: "c:/webapps/reports".
[...]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
