Troubleshooting

Compile Time Includes

Q1:Why won't my included file show up?
If you entered the correct filename and the JSP engine didn't report an error while including the file, chances are that the place you included the file causes it to not show up. For example, if you include some tags within the <head> tag, they probably won't show up. Likewise, if you include the file within an HTML comment it won't show up. Choose View Source in your browser and see what's being sent from your JSP.
Q2:Why doesn't my JSP recompile when I change the contents of the included file?
The JSP specification doesn't require JSP engines to check included files to see if they have changed. Yours probably doesn't.

Runtime Includes

Q1:My Java Server Pages have been ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.