Вы находитесь на странице: 1из 2

Vamsoft Technology & Consultancy Pvt Ltd

1. Start the dynamo and go to the control center.


2. Click on the utilities menu and select J2EE deployment.
3. The J2EE editor opens. Here select “new J2EE application” from the file menu.
4. Give the J2EE project name, application name and application type. The project
name is the name of the directory created under the atg6.4.0 directory. The
application name is the name of the J2EE application and select the type as
application and say ok.
5. This would create a folder structure as

6. Here testatg is the project name. The j2ee-apps folder would contain a folder of
your application name, which in turn would contain a standard exploded Web
application.

7. In the j2ee editor, select click on the web module and select new web module on
the RHS. Give a web module name. Say testatgwar.

8. Select the web module, on the RHS select the server tabbed pane and give the
context root. This is the alias name of the web application and will find mention
in the URL. Select the “list directories” checkbox.

9. Go to the Tools menu, and select file transfer tool. This will open two windows
with local file system on one side and the web application on the other.

10. Select the JSP files from the local file system and transfer them to the RHS above
WEB-INF.

11. Select the taglibs directory under the DSSJ2EEDemo\j2ee-apps\web-app\WEB-


INF directory and transfer it to the RHS under the WEB-INF.

12. Select the lib directory from the above location and transfer it to the RHS. Don’t
copy web.xml or DYNAMO-INF folder, as the J2EE Editor specific to your
application would generate these.

13. Close the file transfer tool.

Trendsetters for the future


Vamsoft Technology & Consultancy Pvt Ltd

14. Select tag libraries on the LHS and type the URI used inside the JSP page on the
RHS, and select the add button. Now browse and select the appropriate tld file.
The main entry to be made here is mapping /dspTaglib used in the JSP pages to
the /WEB-INF/taglibs/dspjspTaglib1_0.tld.

15. Save the application and start it from the tools menu.

16. For starting your application automatically when you restart the server next time,
either give the module name in the command line using the –m option or add it to
the ‘environnment.bat’ file available under the home\localconfig directory.

Trendsetters for the future

Вам также может понравиться