This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
Author

question about a chat application written in JSP

peter holmes
Greenhorn

Joined: Mar 29, 2011
Posts: 1
Hi,

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?...as 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!!

Thanks..
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
Greenhorn

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.


Thanks
naveen
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: question about a chat application written in JSP