• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

please help me in how to create a java application to give url and get the requested page

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hie,

Can any one tell me how to create an application in java which can invoke a URL when we type it and give the result in command prompt and open the web page which i have requested
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
run it and type for example: http://www.google.com - it's all You wanted, url invoked, got response and gave result on prompt, opened page in default browser. (remeber about "http://" or providing other protocol!)
 
baaru so
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oh thank you very much
and could there be some thing more implementation for this program in such a way that we can implement a client and server implementation
 
baaru so
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
actually i didn't metion the complete requirement of the project

it is a web server creation
could you help me
 
Bartek Myszkowski
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sorry but I'm not a sourcecode-generator so don't ask about writing complete project for You
Ask question and someone will give You the answer.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bartek Myszkowski wrote:I'm sorry but I'm not a sourcecode-generator so don't ask about writing complete project for You


And it's not just you - Not A Code Mill.
 
baaru so
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
haha actually im not asking the complete project
just asking for an over view over it how to start over and that too its not just asking for url actually i was not clear about the code which i asked
its like this

we need to give the http request with some port number such that it recognizes the port number and grants the request of the url depending on port number here is the place im confused

please help me so that i can make the code for it

thank you
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic