File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes how to call url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to call url" Watch "how to call url" New topic
Author

how to call url

Madhu Sudhana
Ranch Hand

Joined: Apr 16, 2006
Posts: 127
How can I call a url like

http://localhost:8080/MyAppName/Myjsp.jsp

from a stand alone application ??

please let me know if any body know


"And the trouble is, if you don't risk anything, you risk even more." -- Erica Jong.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3548
    
  15
HttpURLConnection

Working with URLs tutorial
[ September 27, 2006: Message edited by: Joanne Neal ]

Joanne
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Originally posted by sudhana madhu:
How can I call a url


One doesn't normally speak of "calling" a URL. Typically, one connects to a particular type of service at a particular URL, then maybe sends and/or receives some data.

What do you actually want to do with the URL? I see it is a JSP. Do you want to read the content of the JSP into your application as HTML text? Or do you want to display the page in a Web browser? Or something else...?
[ September 27, 2006: Message edited by: Peter Chase ]

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
Madhu Sudhana
Ranch Hand

Joined: Apr 16, 2006
Posts: 127
I want to display the page in the browser....
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

Have a look at JDIC or Bare Bones Browser Launch.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to call url