RE: Changing to different index.jsp from Tomcat default index.jsp

2006-08-16 Thread McRaven, Brian
: 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

Changing to different index.jsp from Tomcat default index.jsp

2006-08-16 Thread McRaven, Brian
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

RE: Install on XP Home edition

2006-08-03 Thread McRaven, 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 > &

Install on XP Home edition

2006-08-02 Thread McRaven, Brian
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

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
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

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
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 > > -

RE: Accessing a servlet

2006-07-12 Thread McRaven, 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

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
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]&

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
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

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
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

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
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. > >

RE: Accessing a servlet

2006-07-11 Thread McRaven, Brian
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,

RE: Accessing a servlet

2006-07-11 Thread McRaven, Brian
/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

Accessing a servlet

2006-07-11 Thread McRaven, Brian
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

RE: File isn't found in ROOT directory

2006-07-11 Thread McRaven, Brian
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

RE: File isn't found in ROOT directory

2006-07-11 Thread McRaven, Brian
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

RE: File isn't found in ROOT directory

2006-07-11 Thread McRaven, Brian
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

File isn't found in ROOT directory

2006-07-11 Thread McRaven, Brian
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

Not able to start server

2006-07-10 Thread McRaven, Brian
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.