facebook

jsp code assist

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

    neadamthal
    Member

    eclipse 3.0.0
    myeclipse 3.8.1

    code assist isn’t working for me …. any suggestions? 🙁

    #218962 Reply

    Riyad Kalla
    Member

    What kind of project are you trying to edit? What is the directory layout? Where isyour webroot? What kind of JSP file are you trying to edit? What are you not getting code assit with?

    #219147 Reply

    neadamthal
    Member

    the project was just a regular java project… tried creating a webproject and moved the file over but the problem persisted… in the end i figured it out…

    it was my filename that was causing the problem… name was “file-name.jsp”…. the hyphen was causing the problems. i renamed it “fileName.jsp” and everything started working… ie., codeassist, etc.

    thanks anyway! this is a bug though, might want to be addressed…

    #219150 Reply

    Riyad Kalla
    Member

    this is a bug though, might want to be addressed…

    I can’t reproduce this, please show me what I’m doing wrong…

    Here is what I have for the page contents:
    My-Jsp.jsp

    
    
    <%@ page language="java"%>
    
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html:html locale="true">
      <head>
        <html:base />
        
        <title>My-Jsp.jsp</title>
        
        <meta http-equiv="pragma" content="no-cache">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="expires" content="0">    
        <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
        <meta http-equiv="description" content="This is my page">
      </head>
      
      <body>
        This a struts page. <br>
        <bean:define id="test" />
        <%= new com.yourcompany.struts.Bean().getName() %>
      </body>
    </html:html>
    

    I made sure that taglib autocomplete worked AND that a fake class called “Bean” that I created would offer not only class autocomplete, but method autocomplete as well… everything worked as expected. Tell me how to reproduce the problem you were seeing OR createa small project that exhibits the problem and email it to support@genuitec.com

    Please note that there were probably a 100 or so bug fixes between version 3.8.1 (what you are using) and 3.8.2+QuickFix #2, that might be why I can’t reproduce this problem.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: jsp code assist

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