Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JSP in Eclipse WebBrowser?
JSP in Eclipse WebBrowser? [message #328295] Tue, 20 May 2008 23:24 Go to next message
Eclipse UserFriend
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 #328298 is a reply to message #328295] Tue, 20 May 2008 23:55 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 555
Registered: December 2017
Senior Member
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
Re: JSP in Eclipse WebBrowser? [message #328305 is a reply to message #328298] Wed, 21 May 2008 09:06 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:[JFace Viewers] Coordinate content provider and viewer filters
Next Topic:listener on editor (close event)
Goto Forum:
  


Current Time: Thu Dec 26 15:27:15 GMT 2024

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

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

Back to the top