Title: Сообщение
Oops, the folllowing message was rejected by [eap-list] when it grew to big. Sorry for reposting it.
 
 

Mike,

 

to get it straight before you release #616, here's the next observation:

 

I have applied your recommended change, now the display changed to the following:

 

<%@ page info="Jakarta request taglib test" %>
<%@
taglib uri="http://jakarta.apache.org/taglibs/request-1.0" prefix="req" %>
<req:request
id="xxx" />
Protocol=<jsp:getProperty name="xxx" property="protocol" />
<br />

<%
    out.println("Port=" + xxx.getServerPort());
    out.println(
"<br />");
    out.println("Host=" + xxx.getRemoteHost());
%>

 

Sort of "one step further" :-)

Ctrl+Shift+B on 'xxx' does not detect type declaration, while the same on 'out' opens JspWriter.class

 

However, if I include request.jar to Project Classpath, then it is perfect, both display and Ctrl+Shift+B navigation!

I don't think it is good approach to put taglibs on project classpath, they should be resolved in page scope.

 

Unfortunately, while request.jar works now, my own custom Tag library does not, even if I set it up like request.jar. There are some subtle differences and IDEA seems to be very strict when it rejects taglib for one or another reason.

 

BTW, sometimes I do not use <taglib> in web.xml, referencing TLD directly from JSP, like this:

<%@ taglib uri="/WEB-INF/request.tld" prefix="req" %>

 

Best regards

--

Edmundas


 

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Aizatsky
Sent: Thursday, April 04, 2002 8:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [Eap-list] 615: Custom TEI not supported

Edmundas, Alexey,

 

Exactly this sample is not working for me also. It is fixed in build #616. But small modification of your example works OK even in build #615: just change

 

  <taglib-location>/WEB-INF/request.tld</taglib-location>

to

 

  <taglib-location>/WEB-INF/lib/request.jar</taglib-location>

Best regards,
Mike Aizatsky.
------------------------------
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

Reply via email to