aspose file tools
The moose likes JSP and the fly likes JSP equivalent of the PHP file_get_contents() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP equivalent of the PHP file_get_contents() " Watch "JSP equivalent of the PHP file_get_contents() " New topic
Author

JSP equivalent of the PHP file_get_contents()

Renato Losio
Ranch Hand

Joined: Nov 23, 2005
Posts: 99
Hello,

what's the simplest JSP equivalent of the PHP file_get_contents() function?

I would like to translate the following

$request = 'http://www.yoursite.com';

$response = file_get_contents($request);

if($response == "1")
{

(...)

Thanks,

Renato


Renato Losio - www.arsenio.it - renatoweb@arsenio.it
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56201
    
  13

Check out the JSTL <c:import> action.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP equivalent of the PHP file_get_contents()
 
Similar Threads
complete java desktop app GUI, to send email only inserting To,From,Subject,Message and press SEND
Not able to forward servlet to
[Solved] Help With Regular Expressions/Scraping
JSP's not capable of promting the client for request?
Good Material for Ajax with Jsp