I can see a component on one Page in to Another without including it
i trying learn including component @ page level :
here doing :
have component page (loginform.jsp) intrudes simple form :
<cq:include path="loginform" resourcetype="nho-cq-training/components/general/loginform"/>
control gets transfer servlet using :
response.sendredirect(request.getresource().getpath() + ".success.html");
success.jsp looks :
<%@include file="/apps/nho-cq-training/components/shared/global.jsp"%> // global.jsp includes packages , taglibs
<html>
<head>
<title>hello world!</title>
</head>
<body>
login successful
</body>
</html>
when success.jsp displayed see login form component loginform well.
i tried restrict path of componment page using allowed path still result same.
could 1 see wrong in example. there component setting missing ?
success.jsp and loginform.jsp on same folder level not sure if matters ?
More discussions in Archived Spaces
adobe
Comments
Post a Comment