Tomcat Configuration

I'm new to Java's webtechnology..

I configurate tomcat in this way..

For example:

I place the tomcat related files here

D:\PROJECT\APPLICATION\TEST\Tomcat

Servlet:

D:\PROJECT\APPLICATION\TEST\WEB-INF\classes

JSP:

D:\PROJECT\APPLICATION\TEST\jsp

After placing them i run the application...It works fine.....

I'm very much confused with WEBAPPS/ROOT folder...

everywhere i see them...

what is the necessary for them when my Application runs fine with out them in the above manner..

That will be really great if anyone can clear my concepts....

Thanks,

Ram

[653 byte] By [ram-javaa] at [2007-11-27 11:23:47]
# 1

hi,

what you coming to say, please in detail..

i little confuse

drvijayy2k2a at 2007-7-29 15:53:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

My doubt is whether the structure which i had mentioned is proper?

Is there a necessary for a WEBAPPS Folder to run a Web Application using Tomcat?

WEBAPPS/ROOT?Is this folder necessary or Optional?

Waiting for your reply?

ram-javaa at 2007-7-29 15:53:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

hi,

better you use this structure,

x:\yourfolder>

|

-> index.jsp

->jsp <dir>all jsp files

->WEB-INF <DIR>

|

-> classes <dir> to store all your business class (servlets)

-> web.xml(deployment descriptors)

No need to create webapps\root dir in your own area,

but keep in mind, everything depend upon your configuration (web.xml)

WEB-INF\web.xml ,

drvijayy2k2a at 2007-7-29 15:53:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Thanks a lot

ram-javaa at 2007-7-29 15:53:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...