Hi, what is the meaning of the code shown below?

<jsp:include page="/exec/employeesList"/>

Because usually include is like this include("a.php"), this means the page include the a.php page. But the jsp include is different, it doesn't show any extension like .jsp or .jav or .html. so where does it include?

is it including the whole employeesList directory or folder or the index in the employeesList folder?


Please Help

Thanks

Recommended Answers

no, we must have to give full file name with extension:
http://www.jsptube.com/jsp-tutorials/jsp-include-directive.html

Jump to Post

All 2 Replies

Its is jsp include you can merge and add two jsp pages ..u can use it in struts and validation framework


Hi, what is the meaning of the code shown below?

<jsp:include page="/exec/employeesList"/>

Because usually include is like this include("a.php"), this means the page include the a.php page. But the jsp include is different, it doesn't show any extension like .jsp or .jav or .html. so where does it include?

is it including the whole employeesList directory or folder or the index in the employeesList folder?


Please Help

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.