Hello all,
I have around 3 webpages which use the same scriptlet code.
Hence the code is repeated.
Can i put the common code in a file & include the file.
Similar to a *.js file where you can put your common javascript code.
regards,
Gatuam.
Aj-India - 15 May 2006 11:58 GMT
yes you can.
put the common code in a jsp page (for e.g., CommonCode.jsp ) and call
them with
<%@ include file="CommonCode.jsp"%>
in the other 3 pages.
Cheers,
Aj