views:

39

answers:

2

Just downloaded netbeans, and curious if I was to play around with JSP's etc., do I have to put my source files in a particular folder layout?

How will I hookup tomcat?

A: 

You don't need configure somewhere for tomcat.you must develop your code and only run in tomcat.
see this tutorial.

SjB
+2  A: 

If you're just getting started with JSP programming, then I recommend that you download NetBeans 5.5, which comes with a built-in Tomcat server. If you use the current version of NetBeans (6.7?), then you'll have to manually attach it to your server, which means you'll have to learn to set up the server first.

As for "particular folder layout", the answer is yes, both for NetBeans and for J2EE web applications in general. However, when you create your project as a web application, NetBeans will handle that for you.

kdgregory
The current version of NB is 6.8. It includes TC 6.0.20 as part of the Java and All download bundle. When you install the IDE, you need to tell the installer that you want to install TC, too.
vkraemer