Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Web application Structure/setup in an IDE!  RSS feed

 
Al Kaiser
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the web application structure under an IDE or any development environment? I don't have the WAR file for this sample applcation - I know that makes it easier to create projects. But, I have all the files, such as JSP, JavaScript, HTML, servlets(.java), etc. Which files should I place where in order to work those in the IDE workspace and projects?
 
will lopez
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*Most* of today's IDEs comply with the Servlet spec as far as the web app deployment directory structure goes...for details read this http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/deployment.html
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think most of the IDE will do that for you automatically.
For example, I used WSAD 5.0 as the IDE, it allows you to add a Web Module, and all required structures and files (including web.xml) is there!
You even do not need to do anything additionally, to construct the directory structures.
Nick.
 
brightsome xie
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is a easy Web application !
you may test it!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!