How to include static files in a jsp?



How to include static files in a jsp?..

Answer / Bhavana Devi

Include static files (like CSS, JavaScript, images) in JSP by using the `<img>`, `<link>` or `<script>` tags with the file path relative to your web app's root directory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

Explain the difference between include directive and include action in jsp?

1 Answers  


How do you import the packages in the JSP?

14 Answers   HCL, Hyderabad Central University,


What is request scope in jsp?

1 Answers  


How do I set password expire time period?

4 Answers  


What are different types of comments in jsp?

1 Answers  


Explain the difference between servletcontext and pagecontext in jsp?

1 Answers  


What is tag file in jsp?

1 Answers  


What is jsp language?

1 Answers  


What are action tags?

1 Answers  


How can we prevent implicit session creation in jsp?

1 Answers  


how to make a jsp page threadsafe?

2 Answers   Mastek,


Define scriptlet, expression and declaration in jsp?

1 Answers  


Categories