: Tomcat Users List
Subject: Re: Changing to different index.jsp from Tomcat default
index.jsp
McRaven, Brian wrote:
> When I start my Tomcat server and link to http://localhost/ I get the
> default index.jsp that comes with Apache Tomcat Server. I want to use
> my own index.jsp how do
When I start my Tomcat server and link to http://localhost/ I get the
default index.jsp that comes with Apache Tomcat Server. I want to use
my own index.jsp how do I achieve this objective?
Brian
nstall on XP Home edition
Seems like JAVA_HOME has not been defined or wrong java version.
check tomcat/logs/catalina.out
On 8/2/06, Lou Caudell <[EMAIL PROTECTED]> wrote:
>
> McRaven, Brian wrote:
> > I installed Tomcat 5.5.17 on my home computer so that I can test my
> &
I installed Tomcat 5.5.17 on my home computer so that I can test my
project when I'm away from work. After completing the steps from a
website (www.codeservlets.com) I try the startup.bat file in the bin
directory. The program runs for a very short time and quits before I
can read the one and onl
MAIL PROTECTED]
Sent: Wednesday, July 12, 2006 1:17 PM
To: Tomcat Users List
Subject: RE: Accessing a servlet
"McRaven, Brian" <[EMAIL PROTECTED]> wrote: I check out on all of that. I'm
not sure if this is important but when
I build the servlet there is an error that I get
Test.class
and JustALittleTest.java should have a package declaration of firstpack
prior to compilation.
McRaven, Brian wrote:
> Yes, the forms are in the ROOT webapp. The firstpack is in the
> ROOT/WEB-INF/classes folder. Where should the firstpack go?
>
> Brian
>
> -
servlet
You've deployed this in the ROOT webapp?
form action should be "/firstpack/JustALittleTest"
McRaven, Brian wrote:
> OK so now I have this:
>
> action="JustALittleTest/firstpack/JustALittleTest"
>
> For a web.xml of fil
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 -----
From: "McRaven, Brian" <[EMAIL PROTECTED]&
If the url-pattern should be /firstpack/JustALittleTest then should the
form on the JSP refer to action="firstpack.JustALittleTest" or
action="firstpack/JustALittleTest" ?
Brian
-Original Message-
From: McRaven, Brian
Sent: Wednesday, July 12, 2006 9:55 AM
T
ame" is used to link the definition to the mapping.
defs are grouped together in web.xml, as are mappings.
"url-pattern" refers to the path by which you'll access the servlet.
it can any unique url on your system, and does not have to reflect the
class name.
McRaven, Brian wr
q/classnotfound.html
HTH,
Jon
McRaven, Brian wrote:
> OK I did that and now my system is hanging which I guess could be an
> error in my code or something with the server. I think it is my code
> so I'll look that over. Thanks for your help. Sorry for the
confusion.
>
>
Sent: Tuesday, July 11, 2006 2:48 PM
To: Tomcat Users List
Subject: Re: Accessing a servlet
Did you reload the webapp after making the change? All changes to
WEB-INF/web.xml or files in WEB-INF/classes and WEB-INF/lib will require
a reload before they become active in tomcat.
--David
McRaven,
/JustALittleTest
And my action attribute="JustALittleTest".
Brian
-Original Message-----
From: McRaven, Brian
Sent: Tuesday, July 11, 2006 1:14 PM
To: users@tomcat.apache.org
Subject: Accessing a servlet
Well I'm ticking these newbie questions off. I have a simp
Well I'm ticking these newbie questions off. I have a simple servlet
that I want my form to access. I compiled the file fine and it is
called JustALittleTest.class. I placed this file in the
ROOT/WEB-INF/classes folder. In my JSP I have a form with some submit
buttons. The action element of th
sday, July 11, 2006 11:54 AM
To: Tomcat Users List
Subject: Re: File isn't found in ROOT directory
admin/index.jsp is a placeholder page for the admin webapp, not shipped
with tomcat. If you placed it there, the url would be
http://localhost:8080/admin/index.jsp.
--David
McRaven, B
restart tomcat (or just the ROOT webapp if
you have the manager webapp up and running), and all should be as
expected.
--David
Pid wrote:
>what version of tomcat?
>what have you got defined in the s in your server.xml?
>
>
>
>McRaven, Brian wrote:
>
>
>>I have
ve you got defined in the s in your server.xml?
McRaven, Brian wrote:
> I have placed an index.jsp file that I created in my servers
> webapps/ROOT folder. When I place the following address in my
browser:
>
> http://localhost/index.jsp
>
> I still come up with the tomcat h
I have placed an index.jsp file that I created in my servers
webapps/ROOT folder. When I place the following address in my browser:
http://localhost/index.jsp
I still come up with the tomcat homepage on my local host. I know that
file is located in the ROOT/admin folder is there some way that m
I have two separate installations of tomcat. One is version 5.5 and the
other is something I downloaded from www.coreservlets.com that is a
preconfigured version of tomcat 5.5.9. I have two separate errors with
these programs when I go to start up the server. A solution to either
would be great.
19 matches
Mail list logo