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 JNLP and Web Start and the fly likes how to call swing application from jsp 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 » JNLP and Web Start
Bookmark "how to call swing application from jsp" Watch "how to call swing application from jsp" New topic
Author

how to call swing application from jsp

John Pj
Greenhorn

Joined: Sep 28, 2004
Posts: 3
Hi all,

Im trying to code for uploading multiple photos at a time.I have swing application which will collect all the photos from the folder.How will i do this by callling application from jsp so that i can upload all the files at onces.


Regards,<br />John David
Bob Frapples
Ranch Hand

Joined: Mar 08, 2002
Posts: 32
What you're describing is apples & oranges. Swing is client-side and JSP is server-side. JSP renders HTML into a web browser (typically) whereas Swing runs in standalone apps (or in Applets).

Sounds like what you need is MultiPart request or something like that (if you're running in a web browser). There are probably other solutions. If you are running an application using Swing, then Web Start is what you probably want, and then use sockets (or whatever) to transfer data up to the server.
 
Don't get me started about those stupid light bulbs.
 
subject: how to call swing application from jsp
 
Similar Threads
if a use a folder my code cant read the path
Configuring Apache Web Server with Tomcat
Retreiving photos from the photo gallery
WHAT IS A SWING & WHAT IS THE NEED FOR A SWING?
JSP and Swing