Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Several httpcontexts with JSPs
Several httpcontexts with JSPs [message #117810] Tue, 23 September 2008 06:44 Go to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi all,

My web application contains two plugins. Both of them registers
httpcontext linked to directory inside plugin which contains resources
like java scripts, images and JSPs. For JSPs I use JSPFactory with alias
"/*.jsp", so two contexts cannot work with JSPs together. I've tried to
use different aliases like "/first_context/*.jsp" and
"/second_context/*.jsp" and put resources in appropriate folders, but it
does not work. Maybe I use wrong aliases.

Do you have any ideas how to implement two contexts with JSPs inside
eqiunox web application?

Thanks.
Re: Several httpcontexts with JSPs [message #117823 is a reply to message #117810] Tue, 23 September 2008 13:08 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Boris,

You can definitely do this. Can you show us a bit more of your extension and
perhaps describe your bundle's layout.

-Simon
"Boris Stepanov" <freepriman@rambler.ru> wrote in message
news:gba399$tr4$1@build.eclipse.org...
> Hi all,
>
> My web application contains two plugins. Both of them registers
> httpcontext linked to directory inside plugin which contains resources
> like java scripts, images and JSPs. For JSPs I use JSPFactory with alias
> "/*.jsp", so two contexts cannot work with JSPs together. I've tried to
> use different aliases like "/first_context/*.jsp" and
> "/second_context/*.jsp" and put resources in appropriate folders, but it
> does not work. Maybe I use wrong aliases.
>
> Do you have any ideas how to implement two contexts with JSPs inside
> eqiunox web application?
>
> Thanks.
Previous Topic:Best practices for OSGI server side development
Next Topic:remove extension location
Goto Forum:
  


Current Time: Fri Apr 19 05:17:49 GMT 2024

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

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

Back to the top