I think

mountResource("/mount/path", new SomeResourceReference());

should do exactly that. BUT if you don't need it at the same path
(e.g. wicket is at localhost:8080/mywicketapp and the resources at
localhost:8080/myresources) then using the plain http service is
definitely the best solution to host static resources.

On Fri, Nov 16, 2012 at 6:26 PM, Dan Tran <[email protected]> wrote:
> not sure it helps by looking at the code involved.  All I want  is to
> have pax-wicket picking up my initial index.html as the starting point
> and form there on every thing is like a static content
>
> -D
>
> On Fri, Nov 16, 2012 at 9:16 AM, Andreas Pieber <[email protected]> wrote:
>> OK, basically all you have to do is to mount static resources [1].
>>
>> Is this what you're looking for?
>>
>> Kind regards,
>> Andreas
>>
>> [1] http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
>>
>> On Fri, Nov 16, 2012 at 6:07 PM, Dan Tran <[email protected]> wrote:
>>> Hi Andreas,
>>>
>>> Exactly, you have summarized what I am try to convey.  Basically, I
>>> would like pax-wicket to serve my static contents which are in a
>>> bundle/jar.
>>>
>>> is it possible?
>>>
>>> -Dan
>>>
>>>
>>> On Fri, Nov 16, 2012 at 4:31 AM, Andreas Pieber <[email protected]> wrote:
>>>> Hey Dan,
>>>>
>>>> What exactly do you want pax-wicket to do here? Provide static
>>>> content? Or is all you want to do providing static content? Or do I
>>>> completely miss the point?
>>>>
>>>> Kind regards,
>>>> Andreas
>>>>
>>>> On Thu, Nov 8, 2012 at 12:32 AM, Dan Tran <[email protected]> wrote:
>>>>> I have webhelp content in a jar file.  I like to covert it to a
>>>>> paxwicket's osgi bundle  so that when user clicks on my help button,
>>>>> it will navigate to our bundle's index.html as a external window. Is
>>>>> it possible?
>>>>>
>>>>> Thanks
>>>>>
>>>>> -D

Reply via email to