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 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 3429
    
  12
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: 8836
    
    7

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]
 
 
subject: how to call url
 
Similar Threads
where to map the domain name in Tomcat?
Page not displaying
Migrating from Tomcat to Resin
Simple Servlet Not Working
execution of jsp prog step by step