# \[JSP\] Get Contents?

**URL:** <https://forum.kirupa.com/t/jsp-get-contents/246840>\
**Category:** programming\
**Created:** [December 15, 2007, 4:09am UTC](https://forum.kirupa.com/t/jsp-get-contents/246840 "2007-12-15T04:09:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![siuj](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@siuj](https://forum.kirupa.com/u/siuj)\
**Post date:** [December 15, 2007, 4:09am UTC](https://forum.kirupa.com/t/jsp-get-contents/246840/1 "2007-12-15T04:09:46Z")

</div>

May I know how to write a JSP to communicate with PHP (or other page) without change the link of current page, and get the results (or contents) from PHP page and the JSP continue do somethings…?

coz i’m new babies in JSP, I just know there is a method in PHP by using file\_get\_contents()… and I dun know how to write it in JSP… :’(

Thanks in advanced! 🙂
