|
|
Using JBuilder 8 with Struts 1.1 |
Q: How do I use the newest Struts release (ver 1.1) with JBuilder 8? It seems like JBuilder 8 only supports Struts 1.0. A: (Thanks to Ken Sipe for this information) Here's the skinny! 1. Download struts 1.1 to the jb8/thirdparty directory. 2. Go to the struts library ( the library defined by jb8). It references the 1.0 library, change it's struts.jar to the jars in the 1.1 distribution. That's it to get struts 1.1 going, This will change the framework references to struts 1.1. However there really is one more step.... When you create a new struts web app, the wizard still produces the struts 1.0 xml for the struts-config file. The header will contain this: <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> Change the last 0 to a 1 ( you'll have to go to the source tab), then look at the struts Editor (Magic!!). Here's the changed xml tag: <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> Try to avoid having a struts 1.0 and a struts 1.1 library, it's a pain. It causes issues. If you really need to switch back and forth between struts versions, try the following: 1. Have 2 libraries for struts, the one provided out of the box and the new struts 1.1. 2. For one of the them, select the None for framework, under the framework tag, in the library settings for the one your not working with at the time. In this case, you should have only one of the libraries with struts defined as it's framework at a time.2003-Apr-07 7:45pm dave@davenet.net | |
| [Append to This Answer] | |
| 2003-Apr-07 7:45pm |
| Previous: |
|
| Next: |
|
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||