View Single Post
  #3  
Old 07-10-2007, 01:46 AM
nicksnels nicksnels is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks for the reply. It is an application that is not written by me, so it would be hard(er) to change it. I will provide some more details, so a solution is possible.

In the WEB-INF folder there is a file called web.xml with the following content:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

<!-- General description of your web application -->

<display-name>An HTTP Binding Gateway to Jabber</display-name>
<description>
An implementation of JEP-0124 (HTTP-Binding). See
http://www.jabber.org/jeps/jep-0124.html for details.
</description>

<context-param>
<param-name>author</param-name>
<param-value>xxx</param-value>
<description>
The EMAIL address of the author to whom questions
and comments about this application should be addressed.
</description>
</context-param>

<servlet>
<servlet-name>Jabber HTTP Binding Servlet</servlet-name>
<servlet-class>org.jabber.JabberHTTPBind.JHBServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Jabber HTTP Binding Servlet</servlet-name>
<url-pattern>/JHB/</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>30</session-timeout> <!-- 30 minutes -->
</session-config>

</web-app>

This makes sure that when Tomcat is started, I can access a bunch of class files that are in WEB-INF/classes as http://localhost:8080/chat/JHB/ . Is it possible to access these files by using a proxy, ... or can I circumvent the security in LSWS or can I put these files elsewhere? Any help is very welcome. Thanks.

Kind regards,

Nick
Reply With Quote