I would like to introduce prefix "pathPrefix" in call to getResourceAsStream, so the 
call

            input = getServletContext().getResourceAsStream("/WEB-INF/web.xml");

located in initServlet would look like:

            input = getServletContext().getResourceAsStream(pathPrefix + 
"/WEB-INF/web.xml");

with corresponding set/get methods for pathPrefix.

The reason for such change is that we have several web.xml files within the single 
project
and in order strutstest to work we have to set CLASPATH differently for different test 
classes.
While testing from command line in not a problem, since I can set -classpath, but it 
is tedious
with JBuilder, since I have to modify CLASSPATH each time I switch between webapps.

Perhaps you have better ideas.

Dmitri Valdin



--

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to