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
nse is the right place to be looking.
Rgds
Duncan
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote:
> Its an amazing solution for me that i was looking for something like this
> exactly... But originally it would be better if i could send and set this
> from java response like
Its an amazing solution for me that i was looking for something like this
exactly... But originally it would be better if i could send and set this from
java response like response.BasePath=global value;
I looked at response functions its not directly possible. Or is it?
Thank you
Note:Previou
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 so I found th
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 <
y 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 more importantly the URL to it
can change without breaking links to resources.
--D
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
try in your hosts file
e.g.
127.0.0.1 mydomain.com
M-
- Original Message -
From: "Burak Yýlmaz" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, April 03, 2007 6:44 PM
Subject: Different aliases have different sessions in Tomcat, why?
> Hi all i have a Tomcat 6.0.10 run
Hi all i have a Tomcat 6.0.10 running on Centos 4.4
My configuration file(server.xml) is as below. Now i am explaning whats
happening..I have changed the default webapplication by setting context path to
zero length string and set my host applicationbase to "webapps/mydomainapp"
value... By the