(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) J2EE/JSP/EJB/Servlets/JDBC :
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: (Answer) How do I make ORBacus work with JBuilder
Next: (Answer) Integrate WebLogic 8.1 with JBuilder 8
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=432
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

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
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]