You don't have to build a war. You should be able to put a directory in $JETTY-HOME/webapps and fill it with html files (not even WEB-INF required) and they will be served. Alternatively you can set up just a ContextHandler which serves static content (like a webapp without any servlets or the rest of the trappings) by putting a suitable xml file in $JETTY-HOME/contexts.
In short, you should be able to do just about whatever standard jetty does. Have a read of the docs over at http://wiki.eclipse.org/Jetty
, and take a look at the standard jetty distro, in the $JETTY-HOME/contexts dir for some ideas.
You'll need to do your own encryption.
On 4 April 2012 23:10, ramya b.b <bbramya@xxxxxxxxx>
I am newbie developer of android tablets. i am using i-jetty3.1 server on the tablet.
Need to know how to host html webpages or does i-jetty suppory only hosting of webapps in *.war formats...?
Is there any encryption mechanism that the server provides so that we can encrypt the files as and when they are downloaded?
jetty-dev mailing list