Author
how can I post my work online?
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
Hi guys, I am completly newbie to servlets ; and I just managed to run my first helloWorld servlet . http://localhost:8080/HelloWorld/hello Q: say I want to run this online. how do I do that? (I know how to publish html etc) but do i need to have something that supports servlets? Thanks for any help
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
Yes, you need a servlet container. Tomcat is a popular and free choice.
[Smart Questions ] [JSP FAQ ] [Books by Bear ] [Bear's FrontMan ] [About Bear ]
Steven Bell
Ranch Hand
Joined: Dec 29, 2004
Posts: 1071
posted Feb 08, 2005 23:02:00
0
Based on the link you posted (and that won't work for anybody else but you) I would guess you have Tomcat installed and running your new HelloWorld servlet. If that is the case take a look at this thread: http://www.coderanch.com/t/84674/Tomcat/turning-localhost-web-site
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
yes you are right, I've installed the tomcat and the servlet runs ok on my computer. thanks for the link, I will explore it.
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
If you want to publish your work, you'll either need to find a hosting company that supports JSP or set up a Domain that points to your home/office. The former will be the easiest.
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Fisher Daniel
Ranch Hand
Joined: Sep 14, 2001
Posts: 582
Hi, Maybe you can publish your work on My Java Server site . Correct me if I am wrong to understand your question thanks daniel
steve souza
Ranch Hand
Joined: Jun 26, 2002
Posts: 852
I use kgb internet and have been very happy with their reliability, speed, cost and support. It is something like $8 a month for running servlets. http://www.kgbinternet.com/ The application that I run can be found by clicking the live demo link at http://www.fdsapi.com
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
subject: how can I post my work online?