I thought for sure request.getRequestURL() would give you the URL in the browser bar, but apparently not. You could use JavaScript and document.location.toString(). That should give you the URL in the address bar.
Matt On 12/1/06, ros <[EMAIL PROTECTED]> wrote:
Hi! What could affect on <%=request.getRequestURL()%> in JSP code to return different results? http://domain.com/webapp/page.html - returned by application during cruisecontrol build test-jsp with isolated tomcat. http://comain.com/WEB-INF/pages/page.jsp - returned when run appfuse with tomcat as usually (e.g. like in tutorial). I need to send to another web application URL for call back, e.g. http://domain.com/webapp/tellMeSometinhg.html that's why I use request.getRequestURL() to make response URL. May be there is some better way to calculate callback URL? Thanks! ros -- View this message in context: http://www.nabble.com/request.getRequestURL-tf2737484s2369.html#a7637498 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
