I am working in a struts application. I am working on a screen which has several sections. Each sections correspond to a .do and I am using <c:import> to call each .do to load the individual sections inside the JSP.
The 505 error code stands for "the server does not support or refuses to support the HTTP protocol version used in the request message"
That is pretty weird - if this was my problem I would attempt to capture the entire request - headers and body - with something like TCPMON.
There is a convenient list of response codes in the HttpServletResponse Javadocs.
Joined: Jun 06, 2006
Thanks for taking time to answer my question.
Can you please tell me how to capture the entire request?
"if this was my problem I would attempt to capture the entire request - headers and body - with something like TCPMON."
I am not able to understand the above line.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Recording the complete text of the request/response message cycle is one of the important debugging techniques for servlet/jsp applications. A tool that will let you do this is the open source utility TCPMON. It will let you see exactly what the headers and body of the request contain.
I don't know if it will lead you to the cause of that 505 error message, but it is an important tool to learn in any case.