Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
baaru so
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
 
Bartek Myszkowski
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.
 
Rob Spoor
Sheriff
Pie
Posts: 20531
54
Chrome Eclipse IDE Java 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic