- This topic has 3 replies, 2 voices, and was last updated 19 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
ricklaMemberIs there an option in myeclipse to tell the valicator of jsp where the root war directory(s) are? I am thinking parallel to the eclipse setting where I Can add source paths.
I have: <%@ taglib uri=”/taglib.tld” prefix=”tag” %>
Which is fine but the jsp parse won’t find the taglib.tld unless I take out the leading slash.
My dir structure has my war a few levels deep and several different wars.
So I’m thinking there must be some way it knows how to resolve the paths if absolute? I can’t find it.
Riyad KallaMemberIs there an option in myeclipse to tell the valicator of jsp where the root war directory(s) are?
Directory (singular) and yes, this is suppose to be your WebRoot folder (or whatever you named it).
I have: <%@ taglib uri=”/taglib.tld” prefix=”tag” %>
Please read this: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251
My dir structure has my war a few levels deep and several different wars.
If the link above doesn’t help we will need a complete outline of your project (indentation should be maintained, use code button below) to help you out. Also please describe what is in each folder.
ricklaMemberMy question was really where do you set the WebRoot, which I did find. But it seems to want to set up a whole j2ee project structure etc, which isn’t how ours maps (plural!)
Anyway it didn’t seem to work, it’s like it’s not parsing the web.xml to find the mapping. I understand the URI is arbitrary, but it seems myeclipse actually will find just “taglib.tld” relative to the jsp if it doesn’t find that uri mapping.
I am just evaluating and I think myeclipse may be more than I need (just jsp editor without a structuring tool). We don’t map one project to one war as I think is implied here, our project constructs several wars.
Riyad KallaMemberI am just evaluating and I think myeclipse may be more than I need (just jsp editor without a structuring tool).
You might want to give just base WTP a try here: http://www.eclipse.org/webtools/
It’s a little buggy now, but if you just need better editors and such, that should be OK for you. Also NitroX is still doing a free JSP editor giveaway I believe, check them out too.
-
AuthorPosts