wood burning stoves 2.0*
The moose likes Servlets and the fly likes  how can I post my work online? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark " how can I post my work online?" Watch " how can I post my work online?" New topic
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: 60783
    
  65

Yes, you need a servlet container. Tomcat is a popular and free choice.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
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: 860
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how can I post my work online?
 
Similar Threads
straing servlet URL
Can not find server or DNS error
Servlets..
problem with mapping using servletrunner
File not found error