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

Popular posts from this blog

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support