aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Port controll in servlet