facebook

setting war path?

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

    rickla
    Member

    Is 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.

    #227891 Reply

    Riyad Kalla
    Member

    Is 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.

    #227897 Reply

    rickla
    Member

    My 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.

    #227898 Reply

    Riyad Kalla
    Member

    I 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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: setting war path?

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