This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JSP and the fly likes question about a chat application written in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "question about a chat application written in JSP" Watch "question about a chat application written in JSP" New topic

question about a chat application written in JSP

peter holmes

Joined: Mar 29, 2011
Posts: 1

i wrote a chat application and it works, but i wanted to test it by chatting with other user. Till now i was just using my computer's localhost and was typing in new messages. i wrote that application in JSP and was using the apache tomcat to test it out.

can anyone suggest how can i test it actually? in do i have to put my machine as a server and ask my friend to access my computer and the application? or is there other way around it

Any suggestions/help will be appreciated!!

sudhir nim
Ranch Hand

Joined: Aug 29, 2007
Posts: 212

Deploy your application to your machine, give your IP to your friends and ask them to access it using urls like http://xx.xx.xx.xx/app-name
You need a static P to let your friends access it over internet, or if you are on a local network, you can give your IP to your fiends who are on the same network.

[Servlet tutorial] [Servlet 3.0 Cook Book]
naveen joyce

Joined: Apr 15, 2011
Posts: 6
Hi peter,
Can you provide me the code of your chat application?? I am developing an application so it would be helpful for me.

I agree. Here's the link:
subject: question about a chat application written in JSP
It's not a secret anymore!