[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] i-jetty 3.1 on android

Rayama,

If you've run i-jetty, then you will see that it creates a jetty directory structure, within Environment.getExternalStorageDirectory() (often the sdcard) which includes the webapps dir.

Jan



On 5 April 2012 14:06, ramya b.b <bbramya@xxxxxxxxx> wrote:
how do I configure $JETTY-HOME/webapps as I am running the i-jetty server on an android tablet and develpment is eclipse on windows.
do I have to re-compile the i-jetty server?


--- On Thu, 4/5/12, Jan Bartel <janb@xxxxxxxxxxx> wrote:

From: Jan Bartel <janb@xxxxxxxxxxx>
Subject: Re: [jetty-dev] i-jetty 3.1 on android
To: "Jetty @ Eclipse developer discussion list" <jetty-dev@xxxxxxxxxxx>
Date: Thursday, April 5, 2012, 4:54 AM


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.

regards
Jan

On 4 April 2012 23:10, ramya b.b <bbramya@xxxxxxxxx> wrote:
hi,
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?
 
Thanks,
Ramya

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev



-----Inline Attachment Follows-----


_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev