Hi! I am using IBM VisualAge 4.0 doing a Web-application with jsp's. I want to delete unnecessary import statements from both, the jsp files and the java classes. Yet I found a few tools which work fine for java files (IntelliJ IDE, WoodenChair import+). The Problem here is that these tools do not take in consideration the java code in the jsp's and screw up. Does anyone know a tool that could help me? Or is the win of having proper import statements too less to bother? thx for your help! greets andreas
Extra import statements will only affect the compilation of the JSP, I don't think it is worth fooling with to save compilation time. However, in terms of documenting your code, useless import statements could cause some future programmer annoyance when he or she can't figure out what you are doing. Bill
Hi , Having etra statement does not make any differece . Because all of them are not included in the file at the Runtime when u make an object of the required class , the class is then looked up and is taken . Its not like # include pre-prossor libaries.
Try and Try Till u succeed<br /> <br />Sandeep Jain
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: removing unnecessary import from jsp AND java