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

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

Guide: Enable JSP in Jetty

Postby Lapo » 18 Sep 2011, 08:31

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

Postby chongspy » 27 Oct 2011, 02:21

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

Re: Guide: Enable JSP in Jetty

Postby Democre » 01 Mar 2012, 20:50

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: 20959
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Guide: Enable JSP in Jetty

Postby Lapo » 02 Mar 2012, 08:42

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

Postby lisalee » 05 Mar 2012, 06:59

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

Re: Guide: Enable JSP in Jetty

Postby pauloamorimbr » 03 Jul 2012, 13:57

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

Postby rjgtav » 03 Jul 2012, 14:06

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

Postby Ilithios » 13 Jul 2012, 15:39

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: 20959
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Guide: Enable JSP in Jetty

Postby Lapo » 23 Jul 2012, 17:05

Not upgradable, sorry
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 23 guests