• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to run a servlet from a swing application?

 
Anamika Singh
Ranch Hand
Posts: 67
IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JButton in a swing application in whose action event I have to call a servlet which uploads a file on my server and returns a value to the swing application.I have deployed and run my servlet seperately using jboss tomcat but how do i call this servlet from the swing application. Can anyone pls tell me how to go about with this?? thanks.
 
Praveen Kumar Jha
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the answer:
http://www.javaworld.com/javaworld/javaqa/2002-01/01-qa-0118-servlet.html?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!