-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas,
On 4/6/2009 7:41 PM, Tomas Rodriguez wrote: > > thanks for the answer about advantages of tomcat + mod_jk, ok. > I want to have a different directory for my examples of java, or web > pages, wherever, but I will don't like to have the default directory for > my examples. This should not be a problem, and Apache httpd will not help you achieve it at all. In fact, there is /nothing/ you can do with Apache httpd to make this work /unless/ it is already working using Tomcat standalone. > I have a huge problem with this, I need configurate my tomcat6.0.18 for > windows for load all my example create for by myself in > d:\websites\examplestomcat > > however charles he sent me an email with the short explanation about it, > but dosen't work. he told me that I need to create my own web.xml > I following him according with his step, he told me this. > 1) no changes are needed to server.xml > > 2) create the file C:\tomcat6.0\conf\Catalina\localhost\tomas.xml > > 3) the contents of the above file are just: > <Context docBase="D:/examplestomcat" /> If you want your application to live in "D:\websites\examplestomcat" then you'll need to set your docBase to "D:/websites/examplestomcat", not "D:/examplestomcat" because that's not where your files are. > 4) under D:\examplestomcat, you should have: Let's go ahead and say D:\websites\examplestomcat > BUT my big doubt is. > What paremeters I'll need write inside of my new file web.xml, this is > my big problem. Your web.xml should not change from whatever it was before. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknbotQACgkQ9CaO5/Lv0PCNYwCdE56gbUQ8CuX2XK/QIUjByuyy LDkAmQGGvkYvcB7lWWu3TFB484n6e+xT =ixuE -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org