以前用过Bea Workshop Studio这个是支持的,就是输个${su: ...}后面自动就给出提示了
但是放到myeclipse里就不支持了,快捷键也用了也不行,
难道自定义的那么多EL函数每次用的时候都去把那个文件打开吗?不知道大家有没有什么好的方法啊,
web.xml的配置:XML code   
   <jsp-config> 
      <taglib> 
       <taglib-uri>/tags/suncer-utils</taglib-uri> 
       <taglib-location> /WEB-INF/tld/suncer-utils.tld </taglib-location> 
      </taglib> 
   </jsp-config>
 
tld文件的的配置XML code   
    <?xml version="1.0" encoding="UTF-8"?>
 <taglib version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd">
 <description>suncer utils by suncer.com</description> 
  <tlib-version>1.0</tlib-version> 
  <short-name>SuncerUtils</short-name> 
  <uri>/tags/suncer-utils</uri> 
     <function> 
       <name>getSysparamCode</name> 
       <function-class>com.suncer.tags.SuncerUtils</function-class> 
       <function-signature>getSysparamCode</function-signature> 
     </function> 
</taglib>
 页面引入Java code    <%@ taglib prefix="su" uri="/tags/suncer-utils"%>上面是我的配置,配置肯定没问题的,程序可以运行,就是没有提示,很麻烦啊,大家知道应该怎么设置吗,帮帮小弟

解决方案 »

  1.   

      按 Ctrl + Alt + <  试试
      

  2.   

    不管用,
    没有试过在myeclipse里使用自定义El函数吗,当函数多了,没有提示真的太麻烦了
      

  3.   

    加上这个<@page isELIgnored="false">试试
      

  4.   


    标签是会有提示的 只是不知道LZ你的EL怎么那样调用
      

  5.   


    自定义的EL函数不就是这样用的吗,编写类,编写TLD文件,配置web.xml,在页面上${myEl:funciontName()}调用,还有别的方法吗