tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thielen" <da...@windward.net>
Subject Can't change servlet path
Date Tue, 13 Sep 2005 21:50:34 GMT
Hi;

 

I have tried the following in context.xml (in webapps/store/WEB-INF and
META-INF):

 

<Context path="/abc" docBase="store" debug="5" reloadable="true"
crossContext="true">

      <Resource name="jdbc/storeDB" auth="Container"
type="javax.sql.DataSource"

            username="sa" password="*****"
driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"

 
url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=StoreTest;Select
Method=cursor"

            maxActive="8" maxIdle="4"/>

</Context>

 

But http://localhost:8080/abc/ fails while http://localhost:8080/store/
works. What am I doing wrong?

 

Also, does context.xml go in WEB-INF or META-INF?

 

Thanks - dave

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message