Guide: Enable JSP in Jetty

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Guide: Enable JSP in Jetty

Post by Lapo »

Hi,
we have received several requests on how to configure the internal Jetty webserver coming with SFS2X so that it supports JSP pages.

The default version of Jetty that is embedded with SFS2X does not support JSP pages. It only supports Java or Python/Jython servelts.

In order to enable JSP follow these steps
1- Download this zip file from our websites
2- Stop SFS2X
3- Delete all files under {your-SFS2X-dir}/lib/Jetty then copy all JAR files from the downloaded archive to the same directory.
4- Start SFS2X
5- Enjoy :)


P.S.
If you want to check a quick JSP page, take a look at this quick example
Lapo
--
gotoAndPlay()
...addicted to flash games
chongspy
Posts: 1
Joined: 28 Jul 2011, 05:51

Re: Guide: Enable JSP in Jetty

Post by chongspy »

Thanks !! This is really helpful.
Democre
Posts: 77
Joined: 16 Sep 2010, 17:58

Re: Guide: Enable JSP in Jetty

Post by Democre »

Hello Lapo,
It seems the download link is no longer working. Does the new release of SFS2X include a JSP enabled Jetty?
Thanks,
Andy
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Guide: Enable JSP in Jetty

Post by Lapo »

Yes, it does
Lapo
--
gotoAndPlay()
...addicted to flash games
lisalee
Posts: 1
Joined: 05 Mar 2012, 06:53
Contact:

Re: Guide: Enable JSP in Jetty

Post by lisalee »

thx for your Guide :D
pauloamorimbr
Posts: 17
Joined: 05 Nov 2010, 15:31

Re: Guide: Enable JSP in Jetty

Post by pauloamorimbr »

Now it doesn't work anymore....the link! :(
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Guide: Enable JSP in Jetty

Post by rjgtav »

Hi.
As Lapo mentions some posts above, the latest release of SFS2X already comes with a JSP enabled Jetty.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Ilithios
Posts: 15
Joined: 04 Apr 2012, 12:12

Re: Guide: Enable JSP in Jetty

Post by Ilithios »

Now I just wish it would come with Jetty 8 so it would have Servlet 3.0. Guess I have to run another web server alongside it or is it upgradable?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Guide: Enable JSP in Jetty

Post by Lapo »

Not upgradable, sorry
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply