I only want to re-link old uri to home page and any request which does not
exist to error page. I added
404
/404.jsp
to web.xml and used below code which I found after google but
request.getRequestURI() returns 404.jsp rather then the old-page.h
I have my application running on tomcat 5.5, it only has static pages. I
removed some page from my application and want to redirect any request to
deleted resource to homepage. Can someone point me how this can be done.
--
View this message in context:
http://www.nabble.com/Tomcat-301-redirect-t
Thanks! it diud work I had to create folder under /conf
Caldarale, Charles R wrote:
>
>> From: Murtuza [mailto:[EMAIL PROTECTED]
>> Subject: RE: making a directory we accesible
>>
>> I am using tomcat 6 and it doesn't have this directory
>> structure
&
I am using tomcat 6 and it doesn't have this directory structure, thanks for
the reply.
Caldarale, Charles R wrote:
>
>> From: Murtuza [mailto:[EMAIL PROTECTED]
>> Subject: making a directory we accesible
>>
>> so suppose all my files are in
>> /home
I have a directory on my Linux file system, which only has some text files. I
want to make its content web accessible without copying this directory
directly under tomcat installation. so suppose all my files are in
/home/mydir1/mydir/test.txt, I should be able to access them as
localhost:8080/my
I am running multiple instance of tomcat, now on new instance I want to add
some jar files to the lib folder. But for some reason I don't think it is
picking up the new library from this instance & I doubt this may be because
tomcat class path is still pointing to the original instance and loading
you offer some details? In a normal distribution of
> tomcat, database drivers go in the common/lib directory under tomcat.
> Also it looks like the stack trace in your original message wasn't
> complete. Was a root cause listed?
>
> --David
>
> Murtuza wrote:
>
>&
ly for the person(s) to whom this email message is
> addressed. If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
> - Original Message ---
ly for the person(s) to whom this email message is
> addressed. If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
> - Original Message ---
s not
picking up this driver.
-
Martin Gainty wrote:
>
> Murtuza
>
> here is server.xml example from Tomcat 5.5 docs where test is name of db
> user=testr and password=testr
>
>driverName="org.gjt.mm.mysql.Driver"
>
> connectionURL="jdbc:m
f you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
> - Original Message -
> From: "Murtuza" <[EMAIL PROTECTED]>
> To:
> Se
-I am using mysql as database..
-I have mysql-connector-java-5.0.5 jdbc driver in my tomcat/lib directory
-I am using JDBCRealm for authentication
-On my windows machine it works fine
-when I deployed it on linux box it does't work
-I get the foloowing error message from my localhost log file
...
12 matches
Mail list logo