aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes IntelliJ and jsp/Struts tag libs? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IntelliJ and jsp/Struts tag libs?" Watch "IntelliJ and jsp/Struts tag libs?" New topic
Author

IntelliJ and jsp/Struts tag libs?

Lars Filbert
Greenhorn

Joined: Aug 26, 2004
Posts: 9
Hi,

I have a jsp that is referencing some struts tag libs i.e.:

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

And I can't get IntelliJ to find the above library - I have placed the WEB-INF everywhere I could think of for it to find them.

How can I have IntelliJ find the struts libraries - (I already have a struts.jar in the classpath), so I don't show a lot of errors in my jsp.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Well the first part is when you have your web.xml includes the tag libraries, and the classpath is set, then a restart of IntelliJ IDEA is needed.

The second part is the dtd that the xml file is pointing to. It appears that some tag names added hyphens in them, whereas an older version did not have the hyphens. Try typing "<" and see the drop down that occurs and the tags that are available. This is also a way to make sure that your classpath and tag libraries are correct.

Good Luck and I hope that helps. At least that worked for a co-worker's machine when he was having the same problem.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IntelliJ and jsp/Struts tag libs?