File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans and Struts Tags Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Netbeans and Struts Tags" Watch "Netbeans and Struts Tags" New topic
Author

Netbeans and Struts Tags

Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

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.


My Blog | DZone Articles
Sam Kebab
Ranch Hand

Joined: Jan 23, 2002
Posts: 104
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.
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

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
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.
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

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.
 
 
subject: Netbeans and Struts Tags
 
Threads others viewed
Struts Survival Guide
can we change the order of appearance of the elements in struts-config.xml ?
Resizable swing elements
problem in loading Struts2
Iterator Tag
MyEclipse, The Clear Choice