Servlet Mapping in Equinox Webapp [message #80701] |
Thu, 11 January 2007 11:28  |
Eclipse User |
|
|
|
Originally posted by: jason.duley.gmail.com
Hi,
I have a web application where I defined the following items in plugin.xml ...
<extension point="org.eclipse.equinox.http.registry.servlets">
<servlet alias="/ajax" class="org.foo.bar.MyServlet"/>
</extension>
<!-- html pages -->
<extension
point="org.eclipse.equinox.http.registry.resources">
<resource alias="/" base-name="/web_files"/>
</extension>
given these two items, I want to configure the app such that a request to the html page:
"http://myserver.org/html_files/myhtml.html"
will first be intercepted by the servlet (defined by /ajax). What is the best way to accomplish this in the equinox framework?
Thanks.
Jason
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24177 seconds