Give a sample jsp configuration in the deployment descriptor.



Give a sample jsp configuration in the deployment descriptor...

Answer / Vipin Kumar Raj

Here's an example of configuring JSP settings in the web.xml file:n```xmln<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" version="4.0">n <jsp-config>n <jsp-property-group>n <url-pattern>*.jsp</url-pattern>n <size-limit>1024000</size-limit>n </jsp-property-group>n </jsp-config>n</web-app>n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

Which is better jsp or javascript?

1 Answers  


What are the features of jsp?

1 Answers  


Can a constructor be used in place of init() method to initialize a servlet?

1 Answers  


How can automatic creation of session be prevented in a jsp page?

1 Answers  


Explain the advantages in jsp?

1 Answers  


How are cookies set in jsp?

1 Answers  


What are scripting elements?

1 Answers  


What are implicit objects?

9 Answers  


Which categories can be divided jstl tags, give examples.

1 Answers  


How to set a cookie in JSP?

2 Answers  


What are the different types of jstl tags?

1 Answers  


Can you override jspinit() method? If yes, in which cases?

1 Answers  


Categories