|
|
|
|
Re: TCP/IP Monitor doing nothing [message #100858 is a reply to message #87954] |
Sat, 07 May 2005 18:15 |
Eclipse User |
|
|
|
Originally posted by: laurentd75___no.sp_am.yahoo.fr
Hi Chily,
Any update on your TCP Monitor problem ?
Have you solved it in M3 ? If not, have you filed a bug report ?
Is it still happening in M4 ?
Thanks,
Laurent
----- "Chily" wrote:
> The monitor always forwards the wrong request URL: Not the real
> Browser's URL (here with port 14333), but the server's URL (here with port
8080).
> And it even sets the request header "host" to the wrong port (here 8080).
>
> So the Java methods request.getRequestURL() or request.getServerPort()
don't
> return the URL from the Browser's address bar, but the server's URL.
>
> This is especcially a problem, since response.sendRedirect() (or the JSP
tag
> <jsp:forward>) use the wrong host as well.
> So it's not possible to klick through a web application using the TCP/IP
> monitor if the website uses redirects. You always end up calling the
server
> directly, not through the monitor port.
>
> The only workaround I found so far is to set the monitor's host/port as
proxy in the
> browser's settings and call the server's host in the browser's address
bar. But
> this way it's not possible to call any other website from the browser than
the
> monitored application.
>
> Any suggestions?
>
>> I think I got the point:
>> I have to call the local monitoring port through the browser's URL.
>> So if monitor entry is: localhost:8080 / HTTP / 14333 (local monitoring
port)
>> then I have to call http://localhost:14333/ instead of the server's
>> http://localhost:8080/
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03239 seconds