Hi,

I'm confused about the behavior of getRequestURL in ServletTestCase.  I'm
using Cactus 1.4 and WebSphere.  I've extended ServletTestCase, and in one
of my test methods, I call:

((HttpServletRequest) request).getRequestURL().toString()

My webapp is running on port 8082, which is what is specified in
cactus.properties but instead I get the following output:
http://localhost:80/testnullnull

Why is the port not what I expect?

Thanks,
Nell

Nell Rehn
WebSphere Advanced Design and Technology
[EMAIL PROTECTED]
(919) 254-1088 t/l 444-1088


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to