Ya thats how my test env is setup as well.. but in a linux environment that
requires running tomcat under root access.. I'd rather avoid that so I have
a tomcat user setup to run it, with the side effect it can only bind to
ports > 1024.
-David

----- Original Message ----- 
From: "Brice Ruth" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 23, 2003 12:10 PM
Subject: Re: Struts HTML tag rewriting url wrong


> Any reason why you can't setup Tomcat to listen on port 80, instead of
> forwarding the requests? That's how my dev/test env is setup, and it
> seems to do the trick :)
>
> David Erickson wrote:
>
> >Hi all, I'm using the html struts tags to do some url writing for me,
with
> >forms etc.  I have tomcat setup to listen on port 8080, but its proxyPort
> >attribute is set as 80, and i have forwarding on the machine so requests
> >come in on 80 get routed to 8080.  Then whenever you call
> >request.getServerPort() it reports 80 so the requests stay correct.
However
> >I have just noticed that the struts tags are writing in :8080 as the
server
> >port!  Any idea what method they are calling to get that as the port?  Or
> >how I can correct this?  I took a look at the tag source but didn't see
> >much..
> >
> >Thanks in advance,
> >David
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> -- 
> Brice D. Ruth
> Sr. IT Analyst
> Fiskars Brands, Inc.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to