Howdy, If you're just starting out with servlets/JSPs/webapps, follow the app developer's guide instead of forming bad habits ;) It's here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
Don't worry about Apache front-end and JK or other connectors for now. Just develop, deploy, test on tomcat-standalone first. You'll likely find that the performance, including for static resources, is sufficient for your needs. Yoav Shapira --- [EMAIL PROTECTED] wrote: > I guess I am confused. > > I set up my workers2.properties to link to > /exmaples/jsp/* > > then when I type in the ip/port of myu web server (NOT > tomcat) /examples/jsp/dates/dates.jsp for example it > comes up. > > SO > > I thought hey, you don't I copy an example into my > main www dir and see if that works. > > for some reason there are no jsp files in the > examples, they are all .java and .class. now I do use > java files but I guess they do not actually in it is > called by an htnl doc so not a big deal BUT why are > these no .jsp? I searched all the examples/jsp and > found no .jsp. > > what the heck is going on? > > correct me if I am wrong... > what it seems to be is that when you set say > /examples/jsp/* > > that is then placed into the tomcat path. so if I > wanted to branch out my own stuff, I would need to add > a dir somewhere (I can look into that) and then link > to that, I guess jsp does not like the company of > other stuff, just likes to be on it's own. > > still a little confused, and the file extensions! ??? > > > > > --- [EMAIL PROTECTED] wrote: > > ok, I am used to Java and PHP and had a question > > about > > where to put jsp/servlet code. what is the best > > thing > > to do? > > > > I am used to just putting it anywhere I want as long > > as I sperate it how I would like BUt with jsp it > > seems > > you need to tell it the actual folders the jsp is > > in. > > > > what I was looking for is like, here is my normal > > web > > page strucutre, full of sub dirs. > > > > /path/to/my/www/root/index.html et al > > > > when I see a jsp file, to send to tomcat. > > > > is this possible, I am not sure how the magic > > happens. > > > > where does the jsp file go? in the normal www > > structure and the processing is passed on that file > > to > > the tomcat process for execution, correct? > > > > I don't see how to set it up recurvisly it does not > > seem to work? I know I can do *.jsp etc. > > > > Thanks > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ===== Yoav Shapira [EMAIL PROTECTED] __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]