Community
Participate
Working Groups
When I coding Struts(version: 1.2.4) JSP, I need to copy the tag libary files (*.tld) to the WEB-INF folder. But with this version, I should not need to do such action. When I have not copy the tag libary files to the WEB-INF folder, all the Struts tag will be reverse like "<lmth", and other tags character will change colour like black or grey. When I delete a character, a NullPointerException will show, paste also show such exception. My colleague do not need to copy the tag libary files to WEB-INF folder, they use the universal uri like "http://struts.apache.org/tags-html" will be fine. My cooleague is using Windows 2000, and my OS is Windows XP, will it cause such bug?
I can guess at some possible factors, especially for the "backwards typing" you are seeing: "<lmth". We found, and I think fixed in 0.71 version. Have you tried that small upgrade? This backwards typing was releated to exceptions that occurred, at the worst time, thus messing up the precise timing on the UI tread. Our fix was to catch and handle the exceptions elsewhere, so wouldn't impact typing. Plus, there were/are problem finding the tag libs, which I think has been fixed some in M8, and more in M9. Windows XP vs. 2000 would not be a factor. There could also be issues if one is connected to the internet and the other note? So, please try upgrading to 071 if you haven't yet, as a first step, and see if that helps.
I can't solve the problem by upgrade the web tool to 0.7.1 version, in 0.7.1 version, the tag character will not type backwardly, but all of the tag including standard html tag and Struts tag can not be identify by the Eclipse. Please notes that my workstation and my colleague's workstation also have connect to the internet, and they do not need to copy the tag library files to the project folder and they are use the universal uri to use the tag library directly.
(In reply to comment #1) > When I coding Struts(version: 1.2.4) JSP, I need to copy the tag libary files > (*.tld) to the WEB-INF folder. But with this version, I should not need to do > such action. ... > My colleague do not need to copy the tag libary files to WEB-INF folder, they > use the universal uri like "http://struts.apache.org/tags-html" will be fine. If the Struts *jar* files aren't located within the project itself, your colleague may have it installed somewhere so that it still appears on the project's build path (does he see listed it in the Project Explorer. If that's the case, then both WTP and most servers will be able to find it.
Please reopen if it is still not working, but the jar files need to either be in the project or preferably somewhere on the Java Build Path. The universal URI only works when the jars are local.