tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bodycombe, Andrew" <andrew.bodyco...@siemens.com>
Subject RE: Special URL servlet request.
Date Fri, 23 Jan 2004 13:54:43 GMT
In web.xml:

<web-app>
	<servlet>
		<servlet-name>digfidl</servlet-name>
		<servlet-class>se.two4hr.servlet.DLServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>digfidl</servlet-name>
		<url-pattern>/digfidl</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>digfidl</servlet-name>
		<url-pattern>/digfidl/*</url-pattern>
	</servlet-mapping>
</web-app>

-----Original Message-----
From: matsmobil [mailto:matsmobil@sami.se] 
Sent: 23 January 2004 13:25
To: tomcat-user@jakarta.apache.org
Subject: Special URL servlet request.



This request works:http://digfi.com/digfidl/digfidl and calls my Servlet OK.

The question is how can I call my servlet with the following URL:
http://digfi.com/digfidl/digfidl/dAc/OM1617RbR/YT4075/Uk5673We/qih/dFOE1051/
1gpus/LYxx/tKG0/iXcaP.rm"/>?copyright="digfi.com"&author="Chine 
& The Slippery Horns"&title="Scatterminded"

I have to make this request like this because my calling applikation can't
use '?' in the URL-requests.

Could this be done in TC 5.0.18 only ore do I have to have apache as 
frontend for
TC 5.0.18.
---------------------
In TC/conf/server.xml I have added the following row:
<Context path="/digfidl" docBase="digfidl" debug="0" reloadable="true" />

---------------------
TC/webapps/digfidl/WEB-INF/web.xml contains:
<web-app>
-
<servlet>
<servlet-name>digfidl</servlet-name>
<servlet-class>se.two4hr.servlet.DLServlet</servlet-class>
</servlet>
-
<servlet-mapping>
<servlet-name>digfidl</servlet-name>
<url-pattern>/digfidl</url-pattern>
</servlet-mapping>
</web-app>
------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message