For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 20 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
Riyad KallaMemberOriginally from a PM
Hi,
I have a scenario like this. I had Java Project in Eclipse. I downloaded MyEclipse and opened my Java Project. In my jsp I look and feel for html tags proper. But rest of the tags which use TLD gives me unknown tag warning. Kindly let me know what should I do to get rid of this message.Eclipse Platform
Version: 3.0.0
February 17, 2005 at 12:17 pm #225360
Riyad KallaMemberThis is likely due to the tags not being setup correctly, please read this first: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251
If that does not help you and you cannot figure out what is wrong, please post:
1) What your @taglib directives look like on the page with the problems
2) What your web.xml entries for the <taglibs> look like for the taglibs that have problems
3) What JAR files you have in your build path for this project.February 17, 2005 at 12:46 pm #225363
Riyad KallaMemberAGAIN from a followup PM
<%@ taglib uri=”/tags/struts-bean” prefix=”bean” %>
<%@ taglib uri=”/tags/struts-html” prefix=”html” %>
<%@ taglib uri=”/tags/struts-logic” prefix=”logic” %>
<%@ taglib uri=”/tags/jstl-c” prefix=”c” %>and the web.xml has following entries
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib><taglib>
<taglib-uri>/tags/jstl-c</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>and my build path for this project is attached below.
Note: I am not using the same folder structure as specified in MYECLIPSE because I am using my existing java project and my build structure for this project is different.
Also Kindly let me know how can I change the Template to Use for the existing JSP files. For ex., if I create a JSP called MyJSP.jsp which uses Template to Use- 1] Default JSP Template.
Later I want to change Template to Use – 3] Standard JSP using Struts 1.1 with a formFebruary 17, 2005 at 12:48 pm #225364
Riyad KallaMemberNote: I am not using the same folder structure as specified in MYECLIPSE because I am using my existing java project and my build structure for this project is different.
This is exactly the problem, if you are not using a Web Project then MyEclipse cannot resolve your web-based artifacts, please add Web Capabilities to this project from the right-click MyEclipse menu.
Also Kindly let me know how can I change the Template to Use for the existing JSP files.
Certainly, navigate to your <myeclipse install dir>\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.4\Templates directory and edit any of the templates there that you want to change. You can check out the properties file one level up for a description of how to add your own templates.
February 17, 2005 at 1:59 pm #225367
br_roopaMemberHi,
I dont want to create an Template. But I have configured a JSP for Template1. And later after I write my code in JSP I want to change this JSP to Template2 i.e., enable Struts tag.
This is specific to project I believe not for MYECLIPSE.Please let me know how to Change the JSP to use Template2.
February 17, 2005 at 2:17 pm #225368
Riyad KallaMemberI have explained how to change the existing templates, this is all that is supported now.
-
AuthorPosts
