Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is Directory Structure of webapplication?

Answers were Sorted based on User's Feedback



what is Directory Structure of webapplication?..

Answer / baiju viswam

The most common hierarchy is (eclipse IDE)

applnroot -
+src (your source files in packages)
build
libraries added by ide
-WebContent
+images
+css
+scripts (javascripts)
index.htm (index page)
-WEB-INF
+lib (libray files used)
+jsp (jsp's)
web.xml (deployment descriptor)
classes (generated class files)

Is This Answer Correct ?    22 Yes 4 No

what is Directory Structure of webapplication?..

Answer / nirmala

webcontent contains root folder which inturn contains
all JSP ,HTML besides ur WEB-INF ,

Then WEB-INF contains classes, lib and web.xml which is
nothing but a deployment descriptor

Is This Answer Correct ?    10 Yes 2 No

what is Directory Structure of webapplication?..

Answer / dhanabir

Directory Structure

SampleApplication(Root)
-->jsp(all the JSP pages under this folder)
like SampleApplication/jsp/common/Header.jsp
like SampleApplication/jsp/common/LeftNevigator.jsp
like SampleApplication/jsp/common/Footer.jsp
like SampleApplication/jsp/Employee/AddEmployee.jsp

-->html(All the necessary html pages under this folder)
like SampleApplication/html/Warning.html
-->theme(can put CSS file)
like SampleApplication/theme/Theme.css

-->javascripts(All the Javascript files under this folder)
like SampleApplication/javascripts/Calander.js

-->images(All the image pictures under this folder)
like SampleApplication/images/logo.gif

-->src/com (All the java source codes under this folder
like SampleApplication/src/com/beans/EmployeeBean.java
(all the simple java bean which acts as DTO)
like
SampleApplication/src/com/servlets/EmployeeServlet.java(all
the controller java servlets )
like
SampleApplication/src/com/common/ConnectionBroker.java(all
the modeldata java )
like SampleApplication/src/com/common/EmployeeData.java
(all the modeldata java using DTO )

com:-package,bean:-bean folder

SampleApplication/src/resources/ApplicatioResources.properti
es

-->WEB-INF/classes(the outputs compile classes of the
corresponding java files in src/com )
like SampleApplication/src/com/beans/EmployeeBean.class
(all the simple java bean which acts as DTO)
like
SampleApplication/src/com/servlets/EmployeeServlet.class
(all the controller java servlets )
like
SampleApplication/src/com/common/ConnectionBroker.class(all
the modeldata java )
like SampleApplication/src/com/common/EmployeeData.class
(all the modeldata java using DTO )

-->WEB-INF/lib(all the required jar files)
like SampleApplication/WEB-INF/lib/class12.jar

-->WEB-INF/web.xml(Deployment descriptor)

Is This Answer Correct ?    6 Yes 1 No

what is Directory Structure of webapplication?..

Answer / radhi

SRC
|
| ----Package1
} |_ _Classes
| |_ _Bean Classes
| |_ _ Util
| |_ _Property files
|
|----Package2
|_ _Classes
|_ _Bean Classes
|_ _ Util
|_ _Property files
WEBCONTENT
|
|_ _ _WEB-INF -root directory
| |
| --classes dir
| --lib dir
| --web.xml
|
| --html
--dhtml
--jsp etc...

Is This Answer Correct ?    6 Yes 1 No

what is Directory Structure of webapplication?..

Answer / mukesh jha

root directory .. contains all html ,jsps , pictures
subdirectory WEB_INF
contains subdirectory classes , lib ,tlds
and web.xml.
classes -- all class file .
lib-- all jar file .
tld-- all tld file for custom tag.
web.xml--- for deployment of servlet and other
configuration file.
root directory can be your directory name. wich
come on url as path. like root is maukesh.
then url will . mukesh/login.jsp etc.
mukesh

Is This Answer Correct ?    4 Yes 1 No

what is Directory Structure of webapplication?..

Answer / neeraj_passion2001

(WEB-ROOT FOLDER) AND ALL HTML AND JSP are at same level
and WEB-ROOT CONTAINS A CLASSES FOLDER WHERE WE KEPT SERVLET
CLASSES AND IN WEB-ROOT ANOTHER FILE WEB.XML IS ALSO DEFINED.

Is This Answer Correct ?    9 Yes 7 No

what is Directory Structure of webapplication?..

Answer / suresh

WEB-INF -root directory
|
--classes dir
--lib dir
--src dir
--web.xml
|
--html
--dhtml
--jsp etc...

Is This Answer Correct ?    8 Yes 6 No

what is Directory Structure of webapplication?..

Answer / sreenivasulu

WEB-INF -root directory
|
--classes dir
--lib dir
--src dir
--web.xml
|
--html
--dhtml
--jsp etc...

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More J2EE Interview Questions

Which one should we prefer while using bean ? managed bean annotation or faces-config

1 Answers  


What is java naming and directory service?

0 Answers  


What is java secure socket extension (jsse)?

0 Answers  


What are the main components of multi-tier architecture?

0 Answers  


How do you make a class immutable in java?

0 Answers  


What is included in j2ee?

0 Answers  


What is external subset?

0 Answers  


What is a web container j2ee?

0 Answers  


What is j2ee product?

0 Answers  


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

0 Answers  


What are the different java technologies?

0 Answers  


What is the use of method saveorupdate()?

0 Answers  


Categories