Use a servlet that loads the xml data from a file pointed by "web.xml"
or even better, use servlets parameters to load your data (if you can
control the generation of the xml file).
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com
Sudhrasun Ramalingam escribi�:
Hello there,
I'm Running TC 4.1
I've created a jar file which processes some xml. And the package names goes
like x.y.z.
For test this application I created a sample project (stand alone) under
c:\test and placed the xml file under c:\test\rule.xml. This works fine!
My problem is when I use the same jar in a webapp. Say my webapp name is
demo, and I run this using a jsp, I get an error saying "rule.xml" not
found.(rule.xml is inside WEB-INF)
When I put the file under $CATALINA_HOME this works fine.
Since it is a xml process rule for digester, this will be changed very
often.
How do I set my jar file to look at the webapp path?
Sudharsun
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]