The Show tag name of the request object –%>
| Header |
Value |
< % Enumeration e = request.getHeaderNames(); c while(e.hasMoreElements()) { String name = (String)e.nextElement(); %>
| < %= name %> |
B Shows the request locale. C Creates a table of header names and values. Starts by enumerating the header names. D Prints the header value We are using runtime expression to define the object we work with and to provide the index into the header property. E Gets the value of the response s committed property It should be false, since writing back to the user has not started. Throughout the entire JSP file we never defined any of the objects used as a Java- Bean; ShowTag will treat any object we give it as a bean, and this lets us take the regular request and response objects and use them without prior definition. This
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Tomcat Web Hosting services
No comments yet.
RSS feed for comments on this post.
TrackBack URI
Sorry, the comment form is closed at this time.
Powered by Java Web Hosting
|