| Author |
Accessing servlet in swing application
|
gayatri sabari
Greenhorn
Joined: Mar 14, 2006
Posts: 7
|
|
|
I want to access a servlet over the network from inside my Swing application. Can anyone help me to do this?
|
 |
Nadeem Awad
Ranch Hand
Joined: Jan 09, 2005
Posts: 74
|
|
Originally posted by gayatri sabari: I want to access a servlet over the network from inside my Swing application. Can anyone help me to do this?
You can perform an HTTP Get request to call your servlet. Here is a sample: I think you can also perform a POST request, but I'm not sure how. You can google it. Hope this helps,
|
Share Knowledge to gain it.<br /> <br />SCJP 1.2, SCDJWS 1.4, SCWCD 1.4, SCBCD 1.3, ICAD
|
 |
gayatri sabari
Greenhorn
Joined: Mar 14, 2006
Posts: 7
|
|
|
Nadeem ,i have to perform some servlet validation and i have to send those results to that swing application again.i will try this code and i will reply,thank u..
|
 |
 |
|
|
subject: Accessing servlet in swing application
|
|
|