6. /ext/ext-web

This directory will contain your JSPs, HTMLs, images, and all the web application related files inside the docroot subdirectory. Here are some of the most common activities you will be performing from this directory:

[Note]Note

It is strongly suggested that you place all you JSPs and accompanying files inside the subdirectory /ext/ext-web/docroot/html. This directory will be assumed to exist in certain operations, for example when forwarding to a JSP referenced from struts-config.xml or tiles-defs.xml.

[Tip]Tip

It is possible to override the JSPs that ship with Liferay Portal by placing them in /ext/ext-web/docroot/html and keeping the exact same path than the original version. When running ant deploy these files will be copied to /ext/ext-web/tmp and will override the original ones. Be aware that you'll have to review any changed JSPs when you upgrade to a new version of Liferay Portal.