File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes please help me in how to create a java application to give url and get the requested page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "please help me in how to create a java application to give url and get the requested page" Watch "please help me in how to create a java application to give url and get the requested page" New topic
Author

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

baaru so
Greenhorn

Joined: Apr 02, 2008
Posts: 25
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

Joined: Feb 03, 2009
Posts: 44
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

Joined: Apr 02, 2008
Posts: 25
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

Joined: Apr 02, 2008
Posts: 25
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

Joined: Feb 03, 2009
Posts: 44
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

Joined: Oct 27, 2005
Posts: 19784
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
baaru so
Greenhorn

Joined: Apr 02, 2008
Posts: 25
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please help me in how to create a java application to give url and get the requested page