Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » other web-inf stuff
other web-inf stuff [message #83982] Fri, 09 March 2007 21:57 Go to next message
Paul Gardiner is currently offline Paul GardinerFriend
Messages: 94
Registered: July 2009
Member
When runnning with Jetty, where do you put other web.xml stuff - i.e. mime
mappings, security stuff, etc. I know I can create an HttpContext, but
there should be a declarative way of handling this.
Re: other web-inf stuff [message #84013 is a reply to message #83982] Mon, 12 March 2007 04:56 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Paul,

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=176955 to deal
with adding mime-type mappings. This is fairly easy/small to add and should
be done.

For declarative security I've opened
https://bugs.eclipse.org/bugs/show_bug.cgi?id=176956
I'm a little bit more relucatant to do anything too quick with this one.
Discussion, advise, contributions welcome.

-Simon

"Paul Gardiner" <pgardiner@syntellect.com> wrote in message
news:essl9s$fft$1@utils.eclipse.org...
> When runnning with Jetty, where do you put other web.xml stuff - i.e. mime
> mappings, security stuff, etc. I know I can create an HttpContext, but
> there should be a declarative way of handling this.
>
Re: other web-inf stuff [message #84376 is a reply to message #84013] Mon, 19 March 2007 14:50 Go to previous messageGo to next message
Paul Gardiner is currently offline Paul GardinerFriend
Messages: 94
Registered: July 2009
Member
Thanks Simon. That's the critical one. The other tag that we use a lot is
filter. I know that is going to be a much bigger deal, so I'll work around
that one, but (how) do you intend to support it?

Paul

"Simon Kaegi" wrote in message news:et2mhc$j9m$1@utils.eclipse.org...
> Hi Paul,
>
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=176955 to deal
> with adding mime-type mappings. This is fairly easy/small to add and
> should be done.
>
> For declarative security I've opened
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=176956
> I'm a little bit more relucatant to do anything too quick with this one.
> Discussion, advise, contributions welcome.
>
> -Simon
>
> "Paul Gardiner" <pgardiner@syntellect.com> wrote in message
> news:essl9s$fft$1@utils.eclipse.org...
>> When runnning with Jetty, where do you put other web.xml stuff - i.e.
>> mime mappings, security stuff, etc. I know I can create an HttpContext,
>> but there should be a declarative way of handling this.
>>
>
>
Re: other web-inf stuff [message #84436 is a reply to message #84376] Tue, 20 March 2007 01:33 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Paul,

In 3.3 the approach for Filters (and Listeners) I'd suggest is to use the
various adapters in /equinox-incubator/org.eclipse.equinox.http.helper.
These let you wrap your Servlet/Resources with another Adaptor that will
Filter, activate listeners, etc. before handling the call.
This code is in the incubator because we're still trying to determine the
best way to handle this stuff.

--
Another approach that I'm interested in is to produce an HttpContext capable
of supporting Filters and the full range of Listeners.
The incubator would be a good place to explore this and I'd welcome help.

-Simon


"Paul Gardiner" <pgardiner@syntellect.com> wrote in message
news:etm80l$eer$1@utils.eclipse.org...
> Thanks Simon. That's the critical one. The other tag that we use a lot is
> filter. I know that is going to be a much bigger deal, so I'll work around
> that one, but (how) do you intend to support it?
>
> Paul
>
> "Simon Kaegi" wrote in message news:et2mhc$j9m$1@utils.eclipse.org...
>> Hi Paul,
>>
>> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=176955 to deal
>> with adding mime-type mappings. This is fairly easy/small to add and
>> should be done.
>>
>> For declarative security I've opened
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=176956
>> I'm a little bit more relucatant to do anything too quick with this one.
>> Discussion, advise, contributions welcome.
>>
>> -Simon
>>
>> "Paul Gardiner" <pgardiner@syntellect.com> wrote in message
>> news:essl9s$fft$1@utils.eclipse.org...
>>> When runnning with Jetty, where do you put other web.xml stuff - i.e.
>>> mime mappings, security stuff, etc. I know I can create an HttpContext,
>>> but there should be a declarative way of handling this.
>>>
>>
>>
>
>
Previous Topic:Equinox 3.3 and jsp, -jstl examples
Next Topic:difference between DefaultClassLoader and ContextFinder
Goto Forum:
  


Current Time: Sat Apr 27 02:20:07 GMT 2024

Powered by FUDForum. Page generated in 0.02362 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top