Re: Where to put JSP file?
Thanks very much for your help. It was really valuable to resolve my problem: I placed FirstPage.jsp into SRC directory instead of WEB. As I'm beginner I'll bother you with such kind of 'dummy' qestions in the future I think. Thank you very much once again. Regards Bogdan Brzozowski -- email: [EMAIL PROTECTED] - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 24, 2003 2:57 PM Subject: Re: Where to put JSP file? Bogdan, I' m begginer, so my question is very fundamental. jsp_xml\ src\FistPage.jsp If your .jsp file is in jsp_xml/src, then your URL should be: http://localhost:8080/jsp_xml/src/FirstPage.jsp It looks like you are following the recommended directory structure for using 'ant', which is intended to build to a separate directory for deployment. Your .jsp files should probably go in your web directory, and ant should copy them to the place where your server.xml points as the docbase for your web application. Hope that helps, -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where to put JSP file?
Hi everybody, I' m begginer, so my question is very fundamental. Where should I put my FirstPage.jsp file? My application context name is /jsp_xml/ (Tomcat manager shows this name on the list of running applications). When I refer to http:\\localhost:8080\jsp_xml\ (in web browser) I see an empty directory. When I refer to http:\\localhost:8080\jsp_xml\FirstPage.jsp server Tomcat raises 404 status that requested resource is not available. I've got in my home directory recommended by Tomcat documentation structure: jsp_xml\ src\FistPage.jsp docs\ web\ WEB-INF\web.xml build.xml build.properties Thanks in advance Bogdan Brzozowski Soft. Dept. Manager NOVUM Ltd. Spokojna 9A 18-400 Lomza POLAND phone: +48 604 52 72 50 email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie to Tomcat server.
Thank you very much, that was exactly this problem. After adding manager role for tomcat user my application is succesfully installed and running on Tomcat server. I have another dummy question: where should I put my FirstPage.jsp file? My application context name is /jsp_xml/ (Tomcat manager shows this name on the list of running applications). When I refer to http:\\localhost:8080\jsp_xml\ (in web browser) I see an empty directory. When I refer to http:\\localhost:8080\jsp_xml\FirstPage.jsp server Bogdan Brzozowski Soft. Dept. Manager NOVUM Ltd. Spokojna 9A 18-400 Lomza POLAND phone: +48 604 52 72 50 email: [EMAIL PROTECTED] - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 3:03 PM Subject: RE: Newbie to Tomcat server. Howdy, Does that tomcat user in tomcat-users.xml file have a role=manager defined? Yoav Shapira Millennium ChemInformatics -Original Message- From: Bogdan Brzozowski [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 7:33 AM To: Tomcat Users List Subject: Re: Newbie to Tomcat server. Hi Holger, Thank you for your respond. I know that Tomcat users aren't OS users. There is only one user named tomcat (with password tomcat) in tomcat-users.xml file after installing Tomcat. Regards Bogdan Brzozowski -- tel. +48 604 52 72 50 email: [EMAIL PROTECTED] - Original Message - From: Holger Klawitter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 12:14 PM Subject: Re: Newbie to Tomcat server. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 1. When I try to run Tomcat administration utility and log as usewr tomcat with password tomcat I receive http status 403, that acces to requested source is denied. Tomcat-Users have nothing to do with UNIX-Users. Tomcat maintains an own user database (by default in $TOMCAT_HOME/conf/tomcat-users.xml). All operate from UNIX' point of view as the UNIX user under which tomcat is currently running. 2. When I try to install my simple single JSP page using ant install command I also receive status 403 from server. I've never used that feature, but it might be the result of the same problem. Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists at klawitter dot de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/j8Ej1Xdt0HKSwgYRAvkxAKCAUdTN1NW3/PKZe3xI3SVU0PTIyQCgmPY4 s9WvJpRskEJZBK0kLcFp/rg= =nNV8 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie to Tomcat server.
Sorry for sending unfinished email (I don't like Microsoft software - too many shortcuts...). Thank you very much, that was exactly this problem. After adding manager role for tomcat user my application is succesfully installed and running on Tomcat server. I have another dummy question: where should I put my FirstPage.jsp file? My application context name is /jsp_xml/ (Tomcat manager shows this name on the list of running applications). When I refer to http:\\localhost:8080\jsp_xml\ (in web browser) I see an empty directory. When I refer to http:\\localhost:8080\jsp_xml\FirstPage.jsp server Tomcat raises 404 status that requested resource is not available. I've got in my home directory recommended by Tomcat documentation structure: jsp_xml\ src\FistPage.jsp docs\ web\ WEB-INF\web.xml build.xml build.properties Bogdan Brzozowski Soft. Dept. Manager NOVUM Ltd. Spokojna 9A 18-400 Lomza POLAND phone: +48 604 52 72 50 email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie to Tomcat server.
Hi everybody, I'm absolutelly beginner so be patient, please. I installed Tomcat 4 version on Red Hat Linux (version 9). I followed documentation for applicatation developers included with Tomcat and can resolve 2 problems (perhaps it's one common problem). 1. When I try to run Tomcat administration utility and log as usewr tomcat with password tomcat I receive http status 403, that acces to requested source is denied. 2. When I try to install my simple single JSP page using ant install command I also receive status 403 from server. I'll be grateful for any help. Regards Bogdan Brzozowski Soft. Dept. Manager NOVUM Ltd. Spokojna 9A 18-400 Lomza POLAND phone: +48 604 52 72 50 email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie to Tomcat server.
Hi Holger, Thank you for your respond. I know that Tomcat users aren't OS users. There is only one user named tomcat (with password tomcat) in tomcat-users.xml file after installing Tomcat. Regards Bogdan Brzozowski -- tel. +48 604 52 72 50 email: [EMAIL PROTECTED] - Original Message - From: Holger Klawitter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 12:14 PM Subject: Re: Newbie to Tomcat server. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 1. When I try to run Tomcat administration utility and log as usewr tomcat with password tomcat I receive http status 403, that acces to requested source is denied. Tomcat-Users have nothing to do with UNIX-Users. Tomcat maintains an own user database (by default in $TOMCAT_HOME/conf/tomcat-users.xml). All operate from UNIX' point of view as the UNIX user under which tomcat is currently running. 2. When I try to install my simple single JSP page using ant install command I also receive status 403 from server. I've never used that feature, but it might be the result of the same problem. Mit freundlichem Gruß / With kind regards Holger Klawitter - -- lists at klawitter dot de -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/j8Ej1Xdt0HKSwgYRAvkxAKCAUdTN1NW3/PKZe3xI3SVU0PTIyQCgmPY4 s9WvJpRskEJZBK0kLcFp/rg= =nNV8 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]