• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

having someone else access my servlet..

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a web site(a very basic one) and have been practicing with servlets.
http://snydb2001.freeservers.com/
When the user clicks on "Try out my first servlet", it works, but when they go to click enter after typing in their name, my browser states that the web site can not be found. When I have the web site set to http:/localhost:8080/... that works. My problem is how do I allow OTHERS to access it since not everyone can go to http:/localhost:8080 as this would be the URL for their own machine....no???
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
cool.. you are getting there..
one way for others to get to your page (on your machine) would be if you had a DSL line to the internet and a static ip. Otherwise, it would be next to impossible.
Now you have to graduate to hosting your site on a webserver that is permanently hooked up to the internet.. Check out www.mycgiserver.com and www.webappcabaret.com These are two of the good servers out there supporting jsp/servlets
Get yourself an account and then if you need help uploading/configuring your account, post back here.
Before you ask, you will have to ftp your files (*.html, jsp, .class) to mycgiserver and copy them there using a browser based file manager to webappcabaret
[This message has been edited by Mak Bhandari (edited April 26, 2001).]
 
Brian Snyder
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mak....
That answers another big question of mine. I'll try it out and then get back to you.
Many thanks!!!
 
Brian Snyder
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Mak!!!
I got it working now.
Many thanks!!! http://www.webappcabaret.com/snydb/introductions.htm
 
Maky Chopra
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you are most welcome :-) I remember the feeling of running my first servlet !
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic