Sun Portal Server: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: =Tips und Tricks= ==Recompiling JSPs== Every time you make a modification to a JSP file, you need to recompile. You do this by running the touch command on the modifie...)
 
Keine Bearbeitungszusammenfassung
Zeile 18: Zeile 18:


See JavaServer Page Caching Information for information on how to find the top-level (parent) JSP.
See JavaServer Page Caching Information for information on how to find the top-level (parent) JSP.
[[Category: Tips_und_Tricks]]

Version vom 21. Februar 2007, 17:29 Uhr

Tips und Tricks

Recompiling JSPs

Every time you make a modification to a JSP file, you need to recompile. You do this by running the touch command on the modified container’s top-level JSP file.

For example, type

touch tab.jsp.

Note

A typical desktop will include content from several JSPs. However, if you make a modification to a non-toplevel JSP that has been included in a top level JSP, the included JSP will not be recomplied. The end result is your desktop changes will never be reflected.

If the top-level JSP is touched, the JSP engine recompiles all the relevant JSPs. If you cannot find the top level JSP, run the touch command on all JSPs in the directory, for example,

touch *.jsp

This modifies all JSPs, including the top-level JSP.

See JavaServer Page Caching Information for information on how to find the top-level (parent) JSP.