• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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
  • 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
  • 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
  • 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
  • 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
  • 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: 21817
104
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
ice is for people that are not already cool. Chill with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!