简体   繁体   中英

creating a TomCat 6.0 Web Application

I am trying to create a small Java application using Tomcat and am having some trouble getting started. Are there any resources online that can point me in the right direction? I've tried http://www.online-etraining.com/creating-a-tomcat-web-application but it's saying to use version 5.x of TomCat. I am currently running Eclipse with TomCat 6.0 on a Windows 7 machine. Any help is greatly appreciated.

Thanks,

Sebastian

This is also just for tomcat 5, but the steps should be similar:

For my website, which is a Java Web App, I started of with http://static.springsource.org/docs/Spring-MVC-step-by-step/ . Although, I'm not sure of you're planning to use MVC or not, but I highly recommend it.

I suggest you use Eclipse Web Tools (WTP) 'Dynamic Web Project'

I've already covered how to set it up here -> How do I properly deploy and structure projects in Eclipse against Tomcat?

It also talks about Tomcat 5.5, but that is because the OP there asked about that particular version. It actually works the same with 6.0 and even 7.0

I've covered how to get WTP installed here -> Integrating Tomcat7 and Eclipse Helios on Snow Leopard

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM