This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I am having a problem in a java crawler that i have been using, I have a method for posting data so that i can get content of pages which require user to post necessary information to get through them and this method works fine with sites whose content type are "application/x-www-form-urlencoded". The method is
but for some sites whose content type is "multipart/form-data" the posting data has a different format than usual, the format is
and the above method doesn't works and i have been trying all possible methods found on google but all were in vain
so can anyone please suggest me any working way