[Logo]
Forums Register Login
jsp:include


Questions:

1. Does test.jsp and main.jsp share the same javascript "document" ?

2. test.jsp should be able to use any css and javascript imported in main.jsp, correct ?
What happens on the server is entirely moot. All that matters, when it comes to JavaScript and CSS, is what gets delivered to the browser. So do a View Source in the browser and see if you can answer your own question.
By doing "vew source", I saw all the content from test.jsp pasted in the inclduing page. So I think the answers to my questios are YES. Right? If my thought is wrong please do warn me !

Thanks for the help !
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database


This thread has been viewed 1063 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 20, 2019 13:39:22.