Skip to Content
0
Former Member
Nov 07, 2006 at 07:23 AM

Problem using htmlb in jsp

30 Views

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