I config a new lib for struts1.1 include the new struts.jar and the new tlds.But the gui for struts -config doesn't change.There are some errors at validating the struts-config.xml.I guess the jbuilder doesn't find the new struts- config_1.1.dtd. Can anybody tell me how-to update to struts1.1 in JBuilder8 step by step?
In chapter 28 of Borland's "Developing Enterprise Applications" manual, is says "JBuilder8 officially supports Struts 1.0. Although JBuilder8 does not officially syupport the beta release of Struts 1.1. However, if you enable your struts-config.xml file for Struts 1.1 and download the Struts 1.1 JAR files to the <jbuilder>/extras folder, you will see support for Struts 1.1. The Struts Config Editor will display elements and attributes specific to 1.1. Additionally, if your Struts web aplication uses a tileDefinitions.xml file for presentation, a visual editor for the Tiles configuration is available." I'm not sure what they mean by enabling the struts-config file for 1.1, and I have not tried this yet (we're on a Very Tight deadline and the powers-that-be put the Struts jar files in the project lib directory) but I'll be trying it out later this week. In the meantime, I hope this helps. Burk
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Hi Stub, Burk, I am currenlty using JBuilder8 w/Struts1.1. You are both right, the JBuildeer Doc is somewhat vague and incomplete. It has been over 2 months since I configured my IDE. Nevertheless, here is more or less the steps I took to get the features working properly. 1) The JBuilder doc talks about pointing to the struts-config_1_1.dtd - Stub has done this. 2) In the JBuilder8/extra dir I dropped not just the struts.jar, but all commons jars as well. 3) In the ProjectPropetis-->Paths-->Required Libraries I set up the following
Joined: Jan 13, 2003
Cont'd from last post.... 3) In the ProjectProperties-->Paths-->Required Libs, I set up some proprietary Jbuilder "libs". You can configure these libraries to your needs via the Tools-->Configure Libs tag. In addition you can configure them using the add/edit tabs in ProjectProperties-->Paths-->Required Libs. a) First Jbuilder Lib in "userHome" points to Tomcat4.1 b) Second Jbuilder "User Home" Lib that I created I called "struts1.1". It points to JBuilder8/extras/*
This should do the trick, let me know how it goes. Regards, Joshua
Joined: Jul 17, 2001
I create a new struts lib and remove the old one( if there are two struts frameworks,the web appli- cation will add two struts-config.xml files,is it a bug?).Then I modify the dtd of struts-config .xml.It's ok.