Is there anyway to get Netbeans to autocomplete STRUTS Tag Elements like html: logic: bean:, etc, the same way that it autocompletes jsp: tag elements and the like? Thanks.
Using netbeans 3.5? - of course! just make sure: 1) put your jars in the lib folder - i.e. WEB-INF/lib. 2) the directive i.e. taglib-uri on your jsp page. 3) copy paste the tld's from the struts download to your web application. Then just tap away - ctrl-spacebar etc. Oh and i am using the new rc version of struts.
I have done all that. But it is not autocompleting. Is there anything else or is that it? And yes, I am using 3.5
Sam Kebab
Ranch Hand
Joined: Jan 23, 2002
Posts: 104
posted
0
Hmmm. Did you add a "web module" in the explorer window? In all my web applications i begin by adding a web module - and netbeans configures everything including adding the web.xml and all the jars that i install in my lib folder. You can check if the jar is included in the path in your explorer window(left hand side of the screen). If it is not there you can add it manually (the hard way w/c is really easy) by right clicking your root folder add jar.
Yep, I did the whole Web Module thing. I mean, everything is there and working. My app works and runs ok so far. It's just not giving me autocomplete for STRUTS tags. Oh well, it is not vital. I will keep chugging away.