Is there a way to send ajax requests in a Java program? I was thinking that there might be a jquery library somewhere, but I don't even know if jquery would be something that I should use. I'm trying to get the data from a certain request from a website as shown in this function:
function searchFraze(fraze, page) {
    page = typeof page !== 'undefined' ? page : 1;
    $.ajax({
        url: 'ajax/tradeCsRight.php',
        type: 'POST',
        data: "search=1&type=10&fraze="+fraze+"&page="+page,
        success: function(data) {
            $("#itemlist").html(data);
        }
    });
}
Basically, I want to POST custom data in the data field above to the website (http://csgolounge.com/).  Honestly, I don't even know if I should be doing what I'm doing this way, or if I should use some other method.
Also, in FireBug, I can see the contents of the tradeCsRight.php file as seen here (which is my goal, to see the html content of this): https://i.stack.imgur.com/Ix0F1.png If I open the actual file in chrome, however, the page and html is blank (https://i.stack.imgur.com/CbMU8.png). Can someone tell me why this is?
