|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Page
The Page
object is used to define the interface to a
compile page object. This contract must be fulfilled by all pages
compiled by the server. If the content type is specified within
the JSP source then the content type and charset will be set.
BasicPage
Method Summary | |
---|---|
java.lang.String |
getCharset()
This is used to provide the character encoding that will be used when the page is marshalled to a byte stream. |
java.lang.String |
getContentType()
This is used to provide a MIME content type, which can be used by the HTTP service to the the Content-Type header. |
void |
write(java.io.PrintWriter out,
Model model)
This is used to write the contents of the JSP page to the writer provided. |
Method Detail |
---|
void write(java.io.PrintWriter out, Model model) throws java.lang.Exception
out
- this is the writer used to output the page contentsmodel
- this contains all attributes passed into the page
java.lang.Exception
java.lang.String getContentType()
java.lang.String getCharset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |