In order to get the output of a JSP, I want to try to call the struts
Bean.IncludeTag from my struts action.  I've never tried calling a taglib
from java before, only used the TLDs in JSP's.  So, here is my attempt:

package org.nothing;

import org.apache.struts.taglib.bean.IncludeTag;

public class David {
        String pageURL = "/index.jsp";
        IncludeTag includePage = new IncludeTag();
        includePage.setPage(pageURL);
}

It compiles okay BUT in the Eclipse IDE, the methods under for includePage
don't auto-complete and also give me syntax warnings.  I know my tag is
readable since I can click down through the
org.apache.struts.taglib.bean.IncludeTag class in Eclipse.  Does anyone have
any pointers on how to correct this since I'm clueless having never tried to
call a taglib inside an action before.  Any hints, suggestions, tutorials,
etc.?

Regards,
David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to