Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between static and dynamic web project in eclipse

Tags:

eclipse

Is there any difference between static and dynamic projects in eclipse 3.x.when it will be use static project?

like image 269
user1357722 Avatar asked Oct 26 '12 06:10

user1357722


3 Answers

In static web project, you will not have Java, servlets and JSP etc. (server side scripts). You can only have HTML, JavaScript etc.

Please check the link below, it will help you:

http://www.velvetblues.com/web-development-blog/what-is-the-difference-between-static-and-dynamic-websites/

like image 60
sunleo Avatar answered Oct 19 '22 12:10

sunleo


Static Web Project is written entirely using HTML. Each web page is a separate document and there are no databases or external files that are drawn upon. means that you can edit any web page using FrontPage Editor, Dreamweaver or pay your web developer to make updates for you.

Dynamic Web Project are builds upon more complex code like PHP, ASP, JSP, Servlet java file etc. in this project server side coding. You should select Dynamic web project to get more benifits.

like image 8
Ashu Avatar answered Oct 19 '22 10:10

Ashu


Dynamic and static. Dynamic web projects can contain dynamic Java EE resources such as servlets, JSP files, filters, and associated metadata, in addition to static resources such as images and HTML files. Static web projects only contains static resources. When you create Web projects, you can include cascading style sheets and JSP tag libraries (for dynamic Web projects), so that you can begin development with a richer set of project resources.

For more : http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.wst.webtools.doc.user%2Ftopics%2Fccwebprj.html

like image 5
bmck Avatar answered Oct 19 '22 12:10

bmck