JSP in Eclipse WebBrowser? [message #328295] |
Tue, 20 May 2008 23:24 |
Eclipse User |
|
|
|
Originally posted by: schoepke.thetaris.com
I use the Eclipse WebBrowser to display a welcome page in an editor.
like so:
IWebBrowser browser = support.createBrowser(style,browserId,name,tooltip);
browser.openURL(url);
Right now i'm able to show HTML. Is it possible to show JSP as well?
I tried but it just displays the source code :(
How can I re-use the Eclipse JSP Support?
thanks for any advice
Norbert Schoepke
|
|
|
|
Re: JSP in Eclipse WebBrowser? [message #328305 is a reply to message #328298] |
Wed, 21 May 2008 09:06 |
Eclipse User |
|
|
|
Originally posted by: schoepke.thetaris.com
Ok, thanks,
I know JSP needs a server, and as i include Eclipse help i thought some
sort of JSP server must be running, isn't that correct?
So is there a way to load a JSP resource, pass it to this server
infrastructure and get an in-memory URL back that i can pass on to the
built in WebBrowser?
Wayne Beaton wrote:
> JSPs don't run in the browser, they run on a server. You'll need a
> running server that supports JSP. Something like Jetty or Tomcat.
>
> There are some instructions on getting a Jetty+JSP server running on the
> Equinox pages.
>
> http://www.eclipse.org/equinox
>
> HTH,
>
> Wayne
>
> On Wed, 2008-05-21 at 01:24 +0200, Norbert Schoepke wrote:
>> I use the Eclipse WebBrowser to display a welcome page in an editor.
>> like so:
>> IWebBrowser browser = support.createBrowser(style,browserId,name,tooltip);
>> browser.openURL(url);
>>
>> Right now i'm able to show HTML. Is it possible to show JSP as well?
>> I tried but it just displays the source code :(
>> How can I re-use the Eclipse JSP Support?
>>
>> thanks for any advice
>> Norbert Schoepke
>
|
|
|
Powered by
FUDForum. Page generated in 0.03595 seconds