: Help root context problem!!!
I did not see the other posts, but anytime I have a problem with issues
like this I use a meta tag to make the page expire some time ago. I
usually put stuff like this:
META HTTP-EQUIV=expires CONTENT=Tue, 2 OCT 1996 17:45:00 GMT
in my head. There is also a header
Well, I got it to work, but I don't care for it. I'd like to know what's
wrong if someone knows. Here's the jsp below:
%
java.net.URL url = new
java.net.URL(request.getRequestURL().append(/PageWorks/servlet/PageMill).toString());
java.net.URLConnection connect = url.openConnection();
To: Tomcat Users List
Subject: RE: Help root context problem!!!
Well, I got it to work, but I don't care for it. I'd like to know what's
wrong if someone knows. Here's the jsp below:
%
java.net.URL url = new
java.net.URL(request.getRequestURL().append(/PageWorks/servlet/PageMill
).toString
I'm having caching problems with Tomcat. Here's what I'm trying to do. I
have an app under the mapping of /PageWorks. In the context I have a
index.jsp that does a jsp:forward to a servlet that handles the request.
So to access the app you have to type http://myserver/PageWorks and it
works.
]
Subject: Help root context problem!!!
I'm having caching problems with Tomcat. Here's what I'm trying to do.
I
have an app under the mapping of /PageWorks. In the context I have a
index.jsp that does a jsp:forward to a servlet that handles the
request.
So to access the app you have to type http
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:RE: Help root context problem!!!
Howdy,
Post the relevant sections of your server.xml. All you had to do is
make path= in your Context declaration.
Yoav Shapira
Millennium ChemInformatics
-Original Message
Hi Justin,
Did you try deleting the contents of the work folder?
Regards,
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: Help root context problem!!!
I'm having caching problems
To: 'Tomcat Users List' [EMAIL PROTECTED]
cc:
Subject:RE: Help root context problem!!!
Hi Justin,
Did you try deleting the contents of the work folder?
Regards,
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday
PROTECTED]
Sent: Thursday, October 09, 2003 4:25 PM
To: Tomcat Users List
Subject: RE: Help root context problem!!!
No, but what will that do for me? Would I have to do that every time?
Thank You,
Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813
:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 4:25 PM
To: Tomcat Users List
Subject: RE: Help root context problem!!!
No, but what will that do for me? Would I have to do that every time?
Thank You,
Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888
: Help root context problem!!!
Oh, no that's not it. It does recompile the code just fine. If you for
example call http://myserver/a-path/index.jsp it works fine. Then
index.jsp will forward to http://myserver/a-path/servlet/MyServlet and
that works just fine. Both path will reflect any changes
:RE: Help root context problem!!!
Sorry, I misunderstood. So something else here is caching your page. Do
you have a webserver sitting in front of tomcat or just tomcat?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 5:05 PM
' [EMAIL PROTECTED]
cc:
Subject:RE: Help root context problem!!!
Sorry, I misunderstood. So something else here is caching your page. Do
you have a webserver sitting in front of tomcat or just tomcat?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
I just changed the jsp page to a program and removed the jsp:forward and
it works. I set a single parameter that can be supplied and that will make
it print a different set of numbers. When I do that it changes just fine.
So my question is, why will the forward not work?
Thank You,
Justin A.
14 matches
Mail list logo