Thanks for reply. Yes, I have default server.xml but I don't see
$CATALINA_BASE/webapps/ROOT anywhere. Can you please suggest what specific
configuration i can set in server.xml.
I am putting my page in $CATALINA_HOME/webapps/ROOT/ but it does not detect
it and gives me following error, however, it detects index.jsp which comes
with tomact. please suggest what is missing here.
HTTP Status 404 - /hello.jsp
--
*type* Status report
*message* */hello.jsp*
*description* *The requested resource (/hello.jsp) is not available.*
Thanks
Joseph
On Mon, Jan 4, 2010 at 12:13 AM, Mark Thomas ma...@apache.org wrote:
On 04/01/2010 06:57, File Send wrote:
Hi users,
I am using tomcat 5.5 and its running fine, however, I want to see
specific
jsp which I deployed in tomcat. I want to view this page by using url
like
http://localhost:8080/my.jsp. In this case, in which directory should i
keep
this file (my.jsp). I have tried keeping it in web-apps and other root
directory but its not showing up.
Assuming you have a default server.xml,
$CATALINA_BASE/webapps/ROOT/my.jsp
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
?xml version=1.0 encoding=UTF-8?
!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with1/5/2010
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the License); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an AS IS BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--
!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
!-- A Server is a singleton element that represents the entire JVM,
which may contain one or more Service instances. The Server
listens for a shutdown command on the indicated port.
Note: A Server is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--
Server port=8005 shutdown=SHUTDOWN
!-- Comment these entries out to disable JMX MBeans support used for the
administration web application --
Listener className=org.apache.catalina.core.AprLifecycleListener /
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener /
Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
!-- Global JNDI resources --
GlobalNamingResources
!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer value=30/
!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users --
Resource name=UserDatabase auth=Container
type=org.apache.catalina.UserDatabase
description=User database that can be updated and saved
factory=org.apache.catalina.users.MemoryUserDatabaseFactory
pathname=conf/tomcat-users.xml /
/GlobalNamingResources
!-- A Service is a collection of one or more Connectors that share
a single Container (and therefore the web applications visible
within that Container). Normally, that Container is an Engine,
but this is not required.
Note: A Service is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--
!-- Define the Tomcat Stand-Alone Service --
Service name=Catalina
!-- A Connector represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated Container (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 5 documentation bundle for more detailed
instructions):
* If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
later, and put the JAR files into $JAVA_HOME/jre/lib/ext.
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat