On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
> i got the solution thank you. If you have free time come and override these
> thousands of links:) UltraEdit Program will do this automatization i hope.
Don't know anything about UltraEdit, but jEdit does a great job of
global search/replace.
ct: Re: How to change(override) application path
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
> I am also not sure i will ask about it on Sun Java Forums. If i get any
> working valuable solution i will write here.
The "solution" is to use absolute links a
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
> I am also not sure i will ask about it on Sun Java Forums. If i get any
> working valuable solution i will write here.
The "solution" is to use absolute links and follow David's suggestion --
${pageContext.request.contextPath}/path/to/resource
I am also not sure i will ask about it on Sun Java Forums. If i get any working
valuable solution i will write here.
- Original Message
From: Lyallex <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 10:17:48 PM
Subject: Re: How to change(override) applicatio
nd solve this pathing problem.
- Original Message
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 8:17:09 PM
Subject: Re: How to change(override) application path
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
my links to ima
sers List
> Sent: Monday, July 30, 2007 9:29:01 PM
> Subject: Re: How to change(override) application path
>
>
> Hi
>
> I've had all sorts of problems understanding how relative links are
> resolved so I found this solution somewhere and it works well for me
>
> A
Note:Previous email was wrongly sent without any text from me sorry.
- Original Message
From: Lyallex <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 9:29:01 PM
Subject: Re: How to change(override) application path
Hi
I've had all sorts of problems understanding h
Its an amazing solution
- Original Message
From: Lyallex <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 9:29:01 PM
Subject: Re: How to change(override) application path
Hi
I've had all sorts of problems understanding how relative links are
resolved
Hi
I've had all sorts of problems understanding how relative links are
resolved so I found this solution somewhere and it works well for me
All my pages import a header file (header.jsp) in header.jsp I have this
<%
String basePath = request.getScheme()+"://"+request.getServerName()+"/";
%>
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
> My links was not starting with "/" i misswrote it sorry.
>
> now when i wrote my links starting with "/" and links are like;
> /images/xxx.jpg
> and the images are displayed now. Anyway i now i have to put "/" on the start
> of my every link...
nk that if i can override
any tomcat parameters and solve this pathing problem.
- Original Message
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 8:17:09 PM
Subject: Re: How to change(override) application path
On 7/30/07, Burak Yýlmaz <
x.jpg
But its hard to change thousands of links and i thought if it is logical or not
so i looked to a solution at container level.
- Original Message
From: David Smith <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 7:05:47 PM
Subject: Re: How to chan
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
> my links to images,css,js are like below in jsp files;
>
> /images/xxx.jpg
> /js/xxx.js
> /css/xxx.css
>
> solution is fully re rewriting the url's i know like;
No, not at all. If your links are really absolute paths, it should just
work. The
ution at container level.
- Original Message
From: David Smith <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Monday, July 30, 2007 7:05:47 PM
Subject: Re: How to change(override) application path
How is the jsp composing the relative urls to images and stylesheets?
I typicall
How is the jsp composing the relative urls to images and stylesheets?
I typically have jsps reference urls by doing
${pageContext.request.contextPath}/path/to/resource.jpg for example.
That fills in the context path and forms a site absolute path to the
resource. The jsp can move around and
My question is related with java but i think the solution is at the tomcat
global variables so i need this groups help.
I want my web links to be like www.mydomain.com/album/13
with the help of the front controller at java i will translate the url to
www.mydomain.com/album.jsp?id=3 and dispatch
16 matches
Mail list logo