Hi!
Sorry for my bad english! I have got a big problem... I develop
struts web application
java 6 with apache
tomcat. This web application one most important function is read RSS sites. One RSS site (www.ft.com/rss/world) redirected (statusCode = 302), so I connect this site with Socket and send GET /rss/world HTTP/1.0 User-Agent: Wget/1.9.1 message, respose I give RSS site in XML format. This is work fine in sample java programme, but not in web application.
Simple java program source code:
And here is my web application class code:
When the program execute on while ((str = rd.readLine()) != null) { then nothing happend...no exception but my web app not response!
Please help me!