- This topic has 1 reply, 2 voices, and was last updated 20 years ago by Riyad Kalla.
-
AuthorPosts
-
sienalukeMemberi have a project in a CVS that i run with jboss. i installed eclipse and imported it ok and was able to use the build file that to compile and everything. i purchased myeclipse so i could edit the jsp files and i am having trouble with the jsp pages finding my struts libraries that i have installed.
this is in my web.xml file
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
</taglib>but in the jsp page it says that it cannot find the tag html:html
<%@ page language=”java” %>
<%@ taglib uri=”/tags/struts-bean” prefix=”bean” %>
<%@ taglib uri=”/tags/struts-html” prefix=”html” %>
<%@ taglib uri=”/tags/struts-logic” prefix=”logic” %><?xml version=”1.0″ encoding=”ISO-8859-1″?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”><html:html xhtml=”true”>
if i run my build file everything is still fine.
do i need to import it a different way?
thanks
Riyad KallaMembersienaluke,
I think it is very important that you read this quickstart guide:
http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.htmlto get introduced to how MyEclipse works and the idea of “Web Project”s, you may need to convert your Java project to a web project before MyEclipse is able to resolve your tag libraries and other resources; but once it has, you will get a lot of nice tools and help from MyEclipse including a visual Struts flow designer. You can see that in action here: http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/struts/index.html
-
AuthorPosts