Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Equinox - Jetty - Rap - Default Page - Index.html
Equinox - Jetty - Rap - Default Page - Index.html [message #117603] Tue, 06 January 2009 12:37 Go to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
How can I configure equinox to load default" index.html" when
http://<domainname> is provided.

I tried using the latest rap from CVS Head and I get the following page for
http://localhost

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>

instead of loading index.html

- Walter.
Re: Equinox - Jetty - Rap - Default Page - Index.html [message #117615 is a reply to message #117603] Tue, 06 January 2009 12:39 Go to previous messageGo to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
My plugin.conf has the following entry

<extension point="org.eclipse.equinox.http.registry.resources">
<resource
alias="/"
base-name="/">
</resource>
</extension>


"Walter Prabhakar" <kwchess@gmail.com> wrote in message
news:gjvj87$7s5$1@build.eclipse.org...
> How can I configure equinox to load default" index.html" when
> http://<domainname> is provided.
>
> I tried using the latest rap from CVS Head and I get the following page
> for http://localhost
>
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
> <classpathentry kind="src" path="src"/>
> <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> <classpathentry kind="output" path="bin"/>
> </classpath>
>
> instead of loading index.html
>
> - Walter.
Re: Equinox - Jetty - Rap - Default Page - Index.html [message #117834 is a reply to message #117615] Wed, 07 January 2009 14:03 Go to previous messageGo to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
As a work around, I had copied index.html to ".aindex.html"
Looks like the first file in the bundle is shown.
By adding (dot)index.html I am able to achieve what I needed.

- Walter

"Walter Prabhakar" <kwchess@gmail.com> wrote in message
news:gjvjbl$872$1@build.eclipse.org...
> My plugin.conf has the following entry
>
> <extension point="org.eclipse.equinox.http.registry.resources">
> <resource
> alias="/"
> base-name="/">
> </resource>
> </extension>
>
>
> "Walter Prabhakar" <kwchess@gmail.com> wrote in message
> news:gjvj87$7s5$1@build.eclipse.org...
>> How can I configure equinox to load default" index.html" when
>> http://<domainname> is provided.
>>
>> I tried using the latest rap from CVS Head and I get the following page
>> for http://localhost
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <classpath>
>> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
>> <classpathentry kind="src" path="src"/>
>> <classpathentry kind="con"
>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>> <classpathentry kind="output" path="bin"/>
>> </classpath>
>>
>> instead of loading index.html
>>
>> - Walter.
>
Re: Equinox - Jetty - Rap - Default Page - Index.html [message #118156 is a reply to message #117834] Sat, 10 January 2009 01:13 Go to previous messageGo to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
Bad News. Works only within Eclipse IDE not outside.... Any work around ?

- Walter.

"Walter Prabhakar" <kwchess@gmail.com> wrote in message
news:gk2ck5$kmf$1@build.eclipse.org...
> As a work around, I had copied index.html to ".aindex.html"
> Looks like the first file in the bundle is shown.
> By adding (dot)index.html I am able to achieve what I needed.
>
> - Walter
>
> "Walter Prabhakar" <kwchess@gmail.com> wrote in message
> news:gjvjbl$872$1@build.eclipse.org...
>> My plugin.conf has the following entry
>>
>> <extension point="org.eclipse.equinox.http.registry.resources">
>> <resource
>> alias="/"
>> base-name="/">
>> </resource>
>> </extension>
>>
>>
>> "Walter Prabhakar" <kwchess@gmail.com> wrote in message
>> news:gjvj87$7s5$1@build.eclipse.org...
>>> How can I configure equinox to load default" index.html" when
>>> http://<domainname> is provided.
>>>
>>> I tried using the latest rap from CVS Head and I get the following page
>>> for http://localhost
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <classpath>
>>> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
>>> <classpathentry kind="src" path="src"/>
>>> <classpathentry kind="con"
>>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>>> <classpathentry kind="output" path="bin"/>
>>> </classpath>
>>>
>>> instead of loading index.html
>>>
>>> - Walter.
>>
>
Re: [Solved] Equinox - Jetty - Rap - Default Page - Index.html [message #118501 is a reply to message #118156] Thu, 15 January 2009 14:09 Go to previous message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
More info @
http://www.eclipse.org/newsportal/article.php?id=5720&gr oup=eclipse.technology.equinox#5720

- Walter

"Walter Prabhakar" <kwchess@gmail.com> wrote in message
news:gk8sko$pqh$1@build.eclipse.org...
> Bad News. Works only within Eclipse IDE not outside.... Any work around ?
>
> - Walter.
>
> "Walter Prabhakar" <kwchess@gmail.com> wrote in message
> news:gk2ck5$kmf$1@build.eclipse.org...
>> As a work around, I had copied index.html to ".aindex.html"
>> Looks like the first file in the bundle is shown.
>> By adding (dot)index.html I am able to achieve what I needed.
>>
>> - Walter
>>
>> "Walter Prabhakar" <kwchess@gmail.com> wrote in message
>> news:gjvjbl$872$1@build.eclipse.org...
>>> My plugin.conf has the following entry
>>>
>>> <extension point="org.eclipse.equinox.http.registry.resources">
>>> <resource
>>> alias="/"
>>> base-name="/">
>>> </resource>
>>> </extension>
>>>
>>>
>>> "Walter Prabhakar" <kwchess@gmail.com> wrote in message
>>> news:gjvj87$7s5$1@build.eclipse.org...
>>>> How can I configure equinox to load default" index.html" when
>>>> http://<domainname> is provided.
>>>>
>>>> I tried using the latest rap from CVS Head and I get the following page
>>>> for http://localhost
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <classpath>
>>>> <classpathentry kind="con"
>>>> path="org.eclipse.pde.core.requiredPlugins"/>
>>>> <classpathentry kind="src" path="src"/>
>>>> <classpathentry kind="con"
>>>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>>>> <classpathentry kind="output" path="bin"/>
>>>> </classpath>
>>>>
>>>> instead of loading index.html
>>>>
>>>> - Walter.
>>>
>>
>
Previous Topic:Store Initial Parameters from web.xml
Next Topic:observe when user hit the browser refresh button
Goto Forum:
  


Current Time: Tue Apr 23 14:07:48 GMT 2024

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

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

Back to the top