struts and code completion

i'm having trouble getting code completion on JSP tags with my struts
project. at the top of the file, i have a relative link to my tag libs
(e.g. <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>), but
they are highlighted in red and are obviously not being picked up. my
source control layout is not structured like a webapp, but i can't see how
that would help much since the URI is relative to a web server. i played
around with creating a "webapp" in IDEA, but that got me no where. can
someone help?

thanks,
dan


1 comment
Comment actions Permalink

WebApp is the way to go. Assuming you have a Web App named "test", your web
app set up should look like the following:

Name: test
Context: test
Path: E:\Tomcat4\webapps\test

A similar setup works for me.

Arjuna Chala



"Dan Cripe" <ecodan@hotmail.com> wrote in message
news:ajgclj$bo9$1@is.intellij.net...

i'm having trouble getting code completion on JSP tags with my struts
project. at the top of the file, i have a relative link to my tag libs
(e.g. <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>), but
they are highlighted in red and are obviously not being picked up. my
source control layout is not structured like a webapp, but i can't see how
that would help much since the URI is relative to a web server. i played
around with creating a "webapp" in IDEA, but that got me no where. can
someone help?

>

thanks,
dan

>
>


0

Please sign in to leave a comment.