facebook

Code assist for Struts

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #224275 Reply

    pchandr
    Member

    Hi All,

    I am using 3.8.4-BetaFor3.1 and i have a Struts code assist problem,

    <%@ page language=”java” import=”java.util.*” %>
    <%@ taglib uri=”struts-html” prefix=”html” %>
    /*****************************************/
    <html:text —-> Code assist does not work here

    But if i change the code to

    <%@ page language=”java” import=”java.util.*” %>
    <%@ taglib uri=”/WEB-INF/struts-html.tld” prefix=”html” %>
    /*****************************************/
    <html:text —-> Code assist works here

    In the first case eventhough i have declared the tld mapping in the web.xml file to denote that struts-html points to /WEB-INF/struts-html.tld file it does not work, the same piece of code used to work for MyEclipse IDE for 3.0

    Can somebody help me in this issue

    Thanks,
    Pradeep Chandra

    #224307 Reply

    Riyad Kalla
    Member

    Moving to J2EE dev.

    <%@ page language=”java” import=”java.util.*” %>
    <%@ taglib uri=”struts-html” prefix=”html” %>
    /*****************************************/
    <html:text —-> Code assist does not work here

    But if i change the code to

    <%@ page language=”java” import=”java.util.*” %>
    <%@ taglib uri=”/WEB-INF/struts-html.tld” prefix=”html” %>
    /*****************************************/
    <html:text —-> Code assist works here

    In the first case eventhough i have declared the tld mapping in the web.xml file to denote that struts-html points to /WEB-INF/struts-html.tld file it does not work, the same piece of code used to work for MyEclipse IDE for 3.0

    1) Make sure you are opening the JSP file with our editor “MyEclipse JSP Editor”
    2) Change the URI back to the right one (struts-html) and save the file, close all editors, close the project and restart eclipse
    3) Then oppen and rebuilt the project
    4) Now open the file, does autocomplete work?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Code assist for Struts

You must be logged in to post in the forum log in