Results 1 to 5 of 5
Thread: Running on a Server
- 01-30-2011, 08:06 PM #1
Member
- Join Date
- Oct 2010
- Location
- Canada
- Posts
- 20
- Rep Power
- 0
Running on a Server
So,
I am trying to write a program that runs on my desktop at home and listens to a port. When I send data over the internet to that port on my home computer the program appends it to an html document that I can access by searching my url. The only issue is I am totally confused as to how to run this program so that I can connect and send it information... How do I go about something like this?
I have downloaded tomcat, as I thought perhaps I could make a data entry page hosted on the desktop that sends data to an html generating servlet. Does that make sense? I've not done any web development before, so any help will be appreciated.
- 01-31-2011, 05:45 AM #2
Member
- Join Date
- Nov 2010
- Location
- New Delhi
- Posts
- 50
- Rep Power
- 0
u can put that code in jsp page so whenever u send request for that page(jsp) then server will send u the updated web page.
Last edited by baloda; 01-31-2011 at 05:49 AM.
- 01-31-2011, 09:21 PM #3
Yeah, JSP makes it easy since you can pass parameters and render html with it. Netbeans makes it easy!
- 01-31-2011, 11:00 PM #4
Member
- Join Date
- Oct 2010
- Location
- Canada
- Posts
- 20
- Rep Power
- 0
Perfect, I'll use a JSP, thanks for the help!
- 01-31-2011, 11:11 PM #5
No problem. I suggest making a simple 'Java Web Application' in netbeans, which will provide you with a sample JSP page and allow you to make class files. If you download the full java version of netbeans, it comes with glassfish server which works pretty well from within netbeans - though for actual deployment, I really like Jetty. Its very lightweight, and rock solid. Good Luck!
Similar Threads
-
How to test if server is running Windows 7?
By space889 in forum Advanced JavaReplies: 18Last Post: 07-21-2010, 01:37 AM -
how to keep server running
By Harris68 in forum NetworkingReplies: 4Last Post: 12-22-2009, 10:11 AM -
how to run web server w/out running at eclipse?
By anthrax in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-13-2009, 09:06 AM -
rmi when running server and client
By anukatoch in forum NetworkingReplies: 1Last Post: 01-28-2009, 12:03 PM -
running multiple server
By amitnayak1 in forum Advanced JavaReplies: 3Last Post: 06-05-2008, 04:14 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks