Hi Shanky,
I have to put all my webconent(html and jsp) under webconent folder
Yes, but you can put a jsp-file under the /WEB-INF if you have a <servlet> in your web.xml defining the jsp-file
all the java classes under src directory(java-model classes and servlet(which acts like a controller))
Yes, and the *.class files in the /WEB-INF/classes directory
I always recommend creating a war file by hand a couple of times before using an
IDE (see
example)
Regards,
Frits