What are the attributes on page directives?



What are the attributes on page directives?..

Answer / Ashok Kumar Tiwari

Page directives in JSP allow you to set various properties for the current page. Here are some commonly used attributes:

1. `pageEncoding`: Specifies the character encoding for the page (e.g., UTF-8).
2. `import`: Imports specific classes or packages for use within the page.
3. `contentType`: Sets the MIME type of the content produced by the JSP page (e.g., text/html).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

How does a jsp engine work?

1 Answers  


What is context in web application?

1 Answers  


hi i m tannu and i m developing one web site as my project and i have created one chatting application using applet and socket it run perfactly using netbeans5.5 and appletviewer but when i run on browser it doent run i put it class file in jar file then call by jsp when it load in browser it stop on applet started plz help me soon

2 Answers  


What is application scope in jsp?

1 Answers  


What is jsp processing?

1 Answers  


Explain some jsp life-cycle methods that can be overridden.

1 Answers  


how to maintain sessions in jsp?can you tellme the methods.

16 Answers   IBM, Scope International, TCS,


How can I override the jspdestroy() method within a jsp page?

1 Answers  


What is jsp net?

1 Answers  


How do you delete a cookie within a jsp?

1 Answers  


How can the applets be displayed in the jsp? Explain with an example.

1 Answers  


How will you use jsp el in order to get the http method name?

1 Answers  


Categories