You might want to start with this first:
  
  http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmitchtx




> -----Original Message-----
> From: David Friedman [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 23, 2003 1:43 AM
> To: Struts Users Mailing List
> Subject: Eclipse question about using taglibs in 
> 
> 
> 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]
> 


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

Reply via email to