This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Port controll in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Port controll in servlet" Watch "Port controll in servlet" New topic
Author

Port controll in servlet

chandu joshi
Greenhorn

Joined: Sep 15, 2005
Posts: 12
I want to write a program which controll my port of PC.But i want to run that program in servlet.That servlet is able to controll port .How it possible.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You may need to explain a little further.

The port to which the container is bound is not controlled by the servlets.
This is a configuration issue. It's also one that is greatly affected by the operating system.
(i.e. On Unix systems, you would need to be root uer to bind to ports lower than 1025. You also can't have two applications bound to the same port/protocol combination).

Maybe you mean something else.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: Port controll in servlet
 
Similar Threads
Home Automation
Applet to Servlet Communication (only two ways?)
can we automate any audio player using java?
Thread Related Problem
Applet to Servlet Communication (only two ways?)