There used to be a bug in the PDF plugin for IE. To get around it you had to
do something like set the content length right at the start. You might want
to search the web for that. It would also, as I remember, make the browser
ask for the PDF twice and ignore the first time.

-- Lee Meador

On 10/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
>
> According to the javadoc for HttpServletRequest getRemoteHost() gives you:
>
> Returns the fully qualified name of the client that sent the request.
>
> By the sounds of it this is not what you were looking for? Hence it worked
> on local host, but not a remote machine....
>
> I think the method you are looking for is getServerName() ?
>
> Mike.
>
> On 10/22/07, John Kwon <[EMAIL PROTECTED]> wrote:
> >
> > Problem solved.  I'm just returning the URL to the PDF file, no
> > controller.  Put in a bypass for ROLE_ANONYMOUS for /**/*.pdf
> >
> > That, and I have the Tomcat host address in a properties file now.
> > Never trust getRemoteHost()...  it doesn't always return a true address for
> > the Tomcat host.
> >
>
>


-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com

Reply via email to