help.html

来自「一个专门为struts开发的可视化xml配置文件的生成工具」· HTML 代码 · 共 515 行 · 第 1/2 页

HTML
515
字号


The following settings will be upgraded:
<UL>
<LI>&lt;definition&gt; tags should use "path" attributes and not "page" or "template" attributes</LI>
<LI>&lt;put&gt; tags should use "value" attributes and note "content" attributes</LI>
<LI>&lt;put&gt; tags' "type" attribute should use "page" and not "template" as attribute value</LI>
<LI>&lt;add&gt; tags' "type" attribute should use "page" and not "template" as attribute value</LI>
</UL>

</BLOCKQUOTE>

</FONT><BR>

<A NAME="jbuilder"></A>
<FONT FACE="Arial,Helvetica"><B>5.&nbsp; Using Struts Console with Borland JBuilder</B></FONT><BR><BR>
<FONT FACE="Arial,Helvetica" SIZE="-1">
The Struts Console software integrates with Borland JBuilder as an OpenTool for seamless development of Struts applications in one development tool.  Once the Struts Console OpenTool for JBuilder has been installed,
you can manage Struts config files by simply opening them and clicking on the "Struts Console" tab.
<BLOCKQUOTE>
<A NAME="jbuilder-install"></A>
<B>a.&nbsp; Installing Struts Console OpenTool</B>
<OL>
<LI>Shutdown JBuilder if it is currently running.</LI>
<LI>Navigate to the directory where you have JBuilder installed and then navigate into the "lib" directory.</LI>
<LI>In another window navigate to the directory where you installed the Struts Console software and then navigate into the "com.jamesholmes.console.struts" directory and then into the "lib" directory.</LI>
<LI>Copy the "xerces.jar" file from the Struts Console "lib" directory into the JBuilder "lib" directory <FONT COLOR="red">if and only if "xerces.jar" does not already exist (should only be necessary for JBuilder 4)</FONT>.</LI>
<LI>Navigate into the "ext" directory from the JBuilder "lib" directory.</LI>
<LI>Copy the "struts-console.jar" file from the Struts Console "lib" directory into the JBuilder "ext" directory.</LI>
<LI>Restart JBuilder.</LI>
</OL>

<A NAME="jbuilder-validation"></A>
<B>b.&nbsp; Turning Off DTD Validation / Configuring Output Options</B>
<OL>
<LI>Startup JBuilder if it is not already running.</LI>
<LI>Go to the "Tools" menu and then select "IDE Options".</LI>
<LI>Select the "Struts Console" tab.</LI>
<LI>Set your desired validation / output option preferences.</LI>
</OL>

<FONT COLOR="red">NOTE:</FONT> JBuilder will not recognize your Struts config files if they do not have a <A HREF="#using-support">proper DOCTYPE declaration</A>.<BR><BR>

<FONT COLOR="red">To see an example of how to use this OpenTool go to the</FONT> <A HREF="screenshots.html">Screen Shots Page</A>.

</BLOCKQUOTE>
</FONT><BR>


<A NAME="eclipse"></A>
<FONT FACE="Arial,Helvetica"><B>6.&nbsp; Using Struts Console with Eclipse and IBM WebSphere Application Developer</B></FONT><BR><BR>
<FONT FACE="Arial,Helvetica" SIZE="-1">
The Struts Console software integrates with Eclipse/WSAD as a Plugin for seamless development of Struts applications in
one development tool.  Once the Struts Console Plugin for Eclipse/WSAD has been installed, you can manage Struts config
files by simply right clicking on them and selecting "Open With" and then selecting "Struts Console".
<BLOCKQUOTE>
<A NAME="eclipse-install"></A>
<B>a.&nbsp; Installing Struts Console Plugin</B><BR><BR>
<B>Eclipse 3.0m7 and higher</B>
<OL>
<LI>Shutdown Eclipse if it is currently running.</LI>
<LI>Navigate to the directory where you have Eclipse installed and then navigate into the "plugins" directory.</LI>
<LI>In another window navigate to the directory where you installed the Struts Console software.</LI>
<LI>Copy the "com.jamesholmes.console.struts" directory from the Struts Console installation directory into the Eclipse "plugins" directory.</LI>
<LI>Navigate into the "com.jamesholmes.console.struts" directory underneath Eclipse "plugins" directory.</LI>
<LI>Rename "plugin.xml" to "plugin.xml.bak".</LI>
<LI>Rename "plugin-3.0.xml" to "plugin.xml".</LI>
<LI>
	Restart Eclipse.
	<ol>
		<li>
			<FONT COLOR="red">NOTE:</FONT> If you are using Eclipse 3 under Linux/Unix, you must run it using JDK 1.5.
			This is necessary because Faces Console makes uses of a special library (SWT_AWT) for integrating SWT and Swing.
			The SWT_AWT library requires JDK 1.5 under Linux/Unix.
		</LI>
	</oL>
</LI>
</OL>

<B>WSAD and Eclipse 3.0m6 and earlier</B>
<OL>
<LI>Shutdown Eclipse/WSAD if it is currently running.</LI>
<LI>Navigate to the directory where you have Eclipse/WSAD installed and then navigate into the "plugins" directory.</LI>
<LI>In another window navigate to the directory where you installed the Struts Console software.</LI>
<LI>Copy the "com.jamesholmes.console.struts" directory from the Struts Console installation directory into the Eclipse/WSAD "plugins" directory.
<LI>Restart Eclipse/WSAD.</LI>
</OL>

<A NAME="eclipse-using"></A>
<B>b.&nbsp; Using Struts Console inside Eclipse/WSAD</B>
<OL>
<LI>Startup Eclipse/WSAD if it is not already running.</LI>
<LI>Find your Struts, Tiles or Validator config file in the Navigator or Packages view on the left hand side of the screen.</LI>
<LI>Right click on the config file and select "Open With" from the menu and then select "Struts Console".
	<ol><li><FONT COLOR="red">NOTE:</FONT> Eclipse/WSAD will not recognize your Struts config files if they are not
named "struts-config.xml" (Struts files), "tiles.xml", "tiles-defs.xml", (Tiles files) or "validation.xml" (Validator files). If you
would like Eclipse to recognize other filenames as being Struts files you can edit the "filenames" attribute in
the "plugin.xml" file in the "com.jamesholmes.console.struts" directory underneath your Eclipse/WSAD "plugins" directory.</LI></oL>
</LI>
<LI><FONT COLOR="red">To see an example of this, go to the</FONT> <A HREF="screenshots.html">Screen Shots Page</A>.</LI>
</OL>

<A NAME="eclipse-validation"></A>
<B>c.&nbsp; Turning Off DTD Validation / Configuring Output Options</B>
<OL>
<LI>Startup Eclipse/WSAD if it is not already running.</LI>
<LI>Go to the "Window" menu and then select "Preferences".</LI>
<LI>Select the "Struts Console" node in the tree on the left.</LI>
<LI>Set your desired validation / output option preference.</LI>
</OL>

</BLOCKQUOTE>
</FONT><BR>


<A NAME="idea"></A>
<FONT FACE="Arial,Helvetica"><B>7.&nbsp; Using Struts Console with IntelliJ IDEA</B></FONT><BR><BR>
<FONT FACE="Arial,Helvetica" SIZE="-1">
The Struts Console software integrates with IntelliJ IDEA as a Plugin for seamless development of Struts applications in one development tool.  Once the Struts Console Plugin for IDEA has been installed,
you can manage Struts config files by simply right clicking on their nodes in the Project window and then selecting "Struts Console".
<BLOCKQUOTE>
<A NAME="idea-install"></A>
<B>a.&nbsp; Installing Struts Console Plugin</B>
<OL>
<LI>Shutdown IDEA if it is currently running.</LI>
<LI>Navigate to the directory where you have IDEA installed and then navigate into the "plugins" directory.</LI>
<LI>In another window navigate to the directory where you installed the Struts Console software and then navigate into the "com.jamesholmes.console.struts" directory and then into the "lib" directory.</LI>
<LI>Copy the "struts-console.jar" file from the Struts Console "lib" directory into the IDEA "plugins" directory.</LI>
<LI>Restart IDEA.</LI>
</OL>

<A NAME="idea-using"></A>
<B>b.&nbsp; Using Struts Console inside IDEA</B>
<OL>
<LI>Startup IDEA if it is not already running.</LI>
<LI>Find your Struts, Tiles or Validator config file in the Project, Structure or Web pane on the left hand side of the screen.</LI>
<LI>Right click on the config file and select "Edit with Struts Console" from the menu.
	<ol><li>Note that if the "Edit with Struts Console" option does not show up on the file's context menu, then your config file does not have a DOCTYPE definition that Struts Console <a href="#using-support">recognizes</a>.</LI></oL>
</LI>
<LI><FONT COLOR="red">To see an example of this, go to the</FONT> <A HREF="screenshots.html">Screen Shots Page</A>.</LI>
</OL>

<A NAME="idea-validation"></A>
<B>c.&nbsp; Turning Off DTD Validation / Configuring Output Options</B>
<OL>
<LI>Startup IDEA if it is not already running.</LI>
<LI>Go to the "Options" menu and then select "IDE Settings".</LI>
<LI>Select the "Struts Console" button on the left.</LI>
<LI>Set your desired validation / output option preference.</LI>
</OL>

<FONT COLOR="red">NOTE:</FONT> This plugin currently only works with IDEA 3.0 (build 668) or later.

</BLOCKQUOTE>
</FONT><BR>


<A NAME="netbeans"></A>
<FONT FACE="Arial,Helvetica"><B>8.&nbsp; Using Struts Console with NetBeans and Sun One Studio (Forte)</B></FONT><BR><BR>
<FONT FACE="Arial,Helvetica" SIZE="-1">
The Struts Console software integrates with NetBeans/SOS for seamless development of Struts applications in one development tool.  Once the Struts Console module for NetBeans/SOS has been installed,
you can manage Struts config files by simply right clicking on their nodes in the Filesystems explorer and then selecting "Open".
<BLOCKQUOTE>
<A NAME="netbeans-install"></A>
<B>a.&nbsp; Installing Struts Console Module<BR><BR>
NetBeans 3.3 and Sun One Studio 4.0 and higher</B>
<OL>
<LI>Start up NetBeans/SOS.</LI>
<LI>Go to the "Tools" menu and select "Options".</LI>
<LI>In the tree on the left hand side, click on "IDE Configuration" then "System" then right click on the "Modules" node and select "Add" then select "Module...".</LI>
<LI>Use the file chooser to navigate to the directory where you installed the Struts Console software and then navigate into the "com.jamesholmes.console.struts" directory and then into the "lib" directory.</LI>
<LI>Select the file "struts-console.jar" and then select "Open" in the file chooser.</LI>
<LI>Restart NetBeans/SOS.</LI>
</OL>
<B>NetBeans 3.2.x and Forte for Java 3.0</B>
<OL>
<LI>Start up NetBeans/FFJ.</LI>
<LI>Go to the "Tools" menu and select "Options".</LI>
<LI>In the tree on the left hand side, right click on the "Modules" node and select "New" then select "Module...".</LI>
<LI>Use the file chooser to navigate to the directory where you installed the Struts Console software and then navigate into the "com.jamesholmes.console.struts" directory and then into the "lib" directory.</LI>
<LI>Select the file "struts-console.jar" and then select "Open" in the file chooser.</LI>
<LI>Restart NetBeans/FFJ.</LI>
</OL>

<A NAME="netbeans-validation"></A>
<B>b.&nbsp; Turning Off DTD Validation</B><BR><BR>
<B>NetBeans 3.3 and Sun One Studio 4.0 and higher</B>
<OL>
<LI>Startup Netbeans/SOS if it is not already running.</LI>
<LI>Go to the "Tools" menu and then select "Options".</LI>
<LI>Select the "Uncategorized" node and then the "Struts Console Settings" node in the tree on the left.</LI>
<LI>Set your desired validation preference.</LI>
</OL>
<B>NetBeans 3.2.x and Forte for Java 3.0</B>
<OL>
<LI>Startup Netbeans/FFJ if it is not already running.</LI>
<LI>Go to the "Tools" menu and then select "Options".</LI>
<LI>Select the "Struts Console Settings" node in the tree on the left.</LI>
<LI>Set your desired validation preference.</LI>
</OL>

<FONT COLOR="red">NOTE:</FONT> NetBeans/SOS will not recognize your Struts config files if they do not have a <A HREF="#using-support">proper DOCTYPE declaration</A>.<BR><BR>

<FONT COLOR="red">To see an example of how to use this Module go to the</FONT> <A HREF="screenshots.html">Screen Shots Page</A>.

</BLOCKQUOTE>
</FONT><BR>


<A NAME="jdeveloper"></A>
<FONT FACE="Arial,Helvetica"><B>9.&nbsp; Using Struts Console with Oracle JDeveloper</B></FONT><BR><BR>
<FONT FACE="Arial,Helvetica" SIZE="-1">
The Struts Console software integrates with Oracle JDeveloper as an Addin for seamless development of Struts applications in one development tool.  Once the Struts Console Addin for JDeveloper has been installed,
you can manage Struts config files by simply opening them with the "Struts Console Editor" from the System Navigator.
<BLOCKQUOTE>
<A NAME="jdeveloper-install"></A>
<B>a.&nbsp; Installing Struts Console Addin</B>
<OL>
<LI>Shutdown JDeveloper if it is currently running.</LI>
<LI>Navigate to the directory where you have JDeveloper installed and then navigate into the "jdev" directory.</LI>
<LI>Next, navigate into the "lib" directory and then into the "ext" directory.</LI>
<LI>In another window navigate to the directory where you installed the Struts Console software and then navigate into the "com.jamesholmes.console.struts" directory and then into the "lib" directory.</LI>
<LI>Copy the "struts-console.jar" file from the Struts Console "lib" directory into the JDeveloper "ext" directory.</LI>
<LI>Restart JDeveloper.</LI>
</OL>

<A NAME="jdeveloper-using"></A>
<B>b.&nbsp; Using Struts Console inside JDeveloper</B>
<OL>
<LI>Startup JDeveloper if it is not already running.</LI>
<LI>Find your Struts, Tiles or Validator config file in the System Navigator pane on the left hand side of the screen.</LI>
<LI>Right click on the config file and select "Struts Console Editor" from the menu.
	<ol><li>Note that if the "Struts Console Editor" option does not show up on the file's context menu, then your config file does not have a DOCTYPE definition that Struts Console <a href="#using-support">recognizes</a>.</LI></oL>
</LI>
<LI><FONT COLOR="red">To see an example of this, go to the</FONT> <A HREF="screenshots.html">Screen Shots Page</A>.</LI>
</OL>

<A NAME="jdeveloper-validation"></A>
<B>c.&nbsp; Turning Off DTD Validation / Configuring Output Options</B>
<OL>
<LI>Startup JDeveloper if it is not already running.</LI>
<LI>Go to the "Tools" menu and then select "Preferences".</LI>
<LI>Select the "Struts Console" node in the tree on the left.</LI>
<LI>Set your desired validation / output option preference.</LI>
</OL>

</BLOCKQUOTE>
</FONT>

</BLOCKQUOTE><BR>

<HR WIDTH="100%" SIZE="1" NOSHADE>
<FONT FACE="Arial,Helvetica" SIZE="-1"><B><A HREF="http://www.jamesholmes.com/">JamesHolmes.com</A></B>&nbsp;&nbsp;|&nbsp;&nbsp;<A HREF="mailto:james@jamesholmes.com">james@jamesholmes.com</A></FONT>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?