• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can I post my work online?

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64958
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you need a servlet container. Tomcat is a popular and free choice.
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic