I want to design a webform that user should fill some fields. The value of one field should be read from Serial port (COM1) of client computer which a special hardware is co
Java might very well be your best choice for maintaining cross-browser and cross-platform compatibility. A quick search brought up these pages that you may find useful:
The server-side choice doesn't matter at all. Once the client reads the data, it's the same as sending any other data to a server-side script.