cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using htmlb in jsp

Former Member
0 Kudos

Hi,

I am making a project with jsp but i have problems.

- Created EJB

- Created Web project

File web.xml

...

<servlet>

<servlet-name>index3.jsp</servlet-name>

<jsp-file>/index3.jsp</jsp-file>

</servlet>

<taglib>

<taglib-uri> htmlb </taglib-uri>

<taglib-location> /WEB-INF/htmlb.jar </taglib-location>

</taglib>

<ejb-ref>

<ejb-ref-name>ejb/EjemploEJBBean</ejb-ref-name>

<ejb-ref-type>Session</ejb-ref-type>

<home>com.offilog.ejemplo.EjemploEJBHome</home>

......

the file htmlb.jar is copy in this folder WEB-INF in project

page *.jsp:

<%@taglib uri="htmlb" prefix="hbj" %>

<hbj:content id="myContext1" >

<hbj:page title="PageTitle1">

<hbj:form id="myFormId1" >

<table width="200" border="0">

<tr>

<td><hbj:textView

id="Nom"

text="Nombre"

design="STANDARD"

.......

- Created EAR project

Somebody knows where this the error?

Thanks

Toni

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Toni,

Make sure that you add

<component-profile>

<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>

</property>

</component-profile>

in portalapp.xml file.

Regards,

Vishal

PS: Reward points for helpful answer

Former Member
0 Kudos

Hi Vishal,

My project don't is Aplication Portal, and don't have file portalapp.xml

Regards,

Toni