📄 in2_jws.htm
字号:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<style>
<!--
p
{margin-right:0cm;
margin-left:0cm;
font-size:12.0pt;
font-family:宋体;
}
p.MsoNormal
{mso-style-parent:"";
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Times New Roman";
margin-left:0cm; margin-right:0cm; margin-top:0cm}
-->
</style>
<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]-->
<link rel="File-List" href="in2_JWS_files/filelist.xml">
<!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>
<body>
<p align="center" style="text-align:center"><b>
<span lang="EN-US" style="font-size:15.0pt">JavaWebStudio系列开发工具<br>
Visaul Struts版本简介</span></b></p>
<p><span lang="EN-US" style="font-size:10.5pt"> </span></p>
<p style="text-indent: 21.0pt"><span lang="EN-US" style="font-size:10.5pt">
JavaWebStudio系列开发工具包括Visaul Struts、Visaul JSF、Visaul Tapestry 、Visaul jython及Visaul
C51(C51是附加版本,与Java Web无关,主要用于可视化单片机C51的开发)等多个版本。</span></p>
<p style="text-indent: 21.0pt"><span style="font-size:
10.5pt">其中<span lang="EN-US">Visaul
Struts版本是专业的Struts可视化开发集成环境,是目前最方便快捷的Struts开发平台。</span></span></p>
<p style="text-indent: 21.0pt"><span style="font-size:
10.5pt">用<span lang="EN-US">JavaWebStudio开发Struts非常容易,运行速度也快(是用VC.NET写的),有点像VB.NET。在组件栏中除html、JSP外,还有Struts标签组件,例如插入一个<html:text>标签组件,在编辑页中看到的就是一个输入文本框,即可视化设计,对输入文本框点鼠标右键选择“属性”,可直接添加变量;对组件双击鼠标左键自动跳转到相应的Java文件中。利用文件向导,选择数据源后数据库应用所有代码都自动生成,并生成具有分页、记录添加、编辑、更新、删除的页面和所有源代码,像ASP.NET吧?编辑java代码时,有打"."自动提示的功能,包括自定义的变量、项目中自定义的类、JDK类、Struts类等,像VC.NET中的有打"."自动提示。</span></span></p>
<p style="text-indent: 21.0pt"><span lang="EN-US" style="font-size:10.5pt">
1、可视化Struts标签的web设计界面,这是JCreator、eclipse、JB没有的功能。在JavaWebStudio中设计Struts的JSP页面,就像在Microsoft
FrontPage中设计普通网页一样所见即所得,一样方便。<br>
与Dreamweaver MX类似,主窗口中上半部分是JSP源代码编辑窗口,下半部分是可视化编辑窗口。</span></p>
<p class="MsoNormal" align="left" style="text-align:left">
<span lang="EN-US" style="font-family: 宋体"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t75" alt="" style='width:472.5pt;
height:447.75pt'>
<v:imagedata src="in2_JWS_files/image001.jpg" o:href="../../../../../../../JavaWebStudio/help/help/html/05.htm3.jpg"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=630 height=597
src="in2_JWS_files/image002.jpg" v:shapes="_x0000_s1025"><![endif]></span></p>
<p class="MsoNormal" align="left" style="text-align: left; text-indent: 21.0pt">
<span lang="EN-US" style="font-family: 宋体"> JavaWebStudio开发工具支持Struts标签的可视化设计,在JavaWebStudio的WEB可视化编辑界面里,<html:text
property="name"/>是一个输入文本框,点击鼠标右键选择“添加变量”,自动添加标签的property名称,同时自动在ActionForm中自动添加相应的变量和函数,非常方便。在JavaWebStudio的WEB可视化编辑界面里,对着按钮双击自动跳转到Action中,对着输入框双击自动跳转到ActionForm中,类似VB、DELPH的事件编程。</span></p>
<p class="MsoNormal" align="left" style="text-align:left">
<span style="font-family: 宋体"> <span lang="EN-US"><!--[if gte vml 1]><v:shape
id="_x0000_s1026" type="#_x0000_t75" style='width:414.75pt;height:291pt'>
<v:imagedata src="in2_JWS_files/image003.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=388
src="in2_JWS_files/image004.jpg" v:shapes="_x0000_s1026"><![endif]></span></span></p>
<p class="MsoNormal" align="left" style="text-align:left">
<span lang="EN-US" style="font-family: 宋体"><!--[if gte vml 1]><v:shape
id="_x0000_s1027" type="#_x0000_t75" style='width:414.75pt;height:291pt'>
<v:imagedata src="in2_JWS_files/image005.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=388
src="in2_JWS_files/image006.jpg" v:shapes="_x0000_s1027"><![endif]></span></p>
<p class="MsoNormal" align="left" style="text-align:left">
<span style="font-family: 宋体"> <span lang="EN-US"> JavaWebStudio开发工具支持Struts标签的“拖动”可视化设计,把开左边的工具栏,选择Struts标签项,把所需的Struts标签拖动到源代码编辑窗口中或者是拖动到WEB可视化编辑窗口中即可:</span></span></p>
<p><span lang="EN-US" style="font-size:10.5pt"><!--[if gte vml 1]><v:shape
id="_x0000_s1028" type="#_x0000_t75" style='width:414.75pt;height:290.25pt'>
<v:imagedata src="in2_JWS_files/image007.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=387
src="in2_JWS_files/image008.jpg" v:shapes="_x0000_s1028"><![endif]></span></p>
<p style="text-indent: 21.0pt"><span lang="EN-US" style="font-size:10.5pt">
2、Struts类、项目自定义类及Java类所有类对象都带“打.提示”,只要选择就可输入函数,对不熟悉StrutsAPI的人来说是最好不过的了。</span></p>
<p style="text-indent: 21.0pt"><span lang="EN-US" style="font-size:10.5pt"><!--[if gte vml 1]><v:shape
id="_x0000_s1029" type="#_x0000_t75" style='width:415.5pt;height:300pt'>
<v:imagedata src="in2_JWS_files/image009.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=554 height=400
src="in2_JWS_files/image010.jpg" v:shapes="_x0000_s1029"><![endif]></span></p>
<p style="text-indent: 21.0pt"><span lang="EN-US" style="font-size:10.5pt">
3、Struts完全中文显示解决方案:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"> (1)JSP页面中文显示问题:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"> 新建JSP文件时,自己加入如下代码:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"><%@ page
contentType="text/html;charset=GB2312" %></span></p>
<p><span style="font-size:10.5pt">这样<span lang="EN-US">JSP页面上的中文就可以正常显示了。</span></span></p>
<p><span lang="EN-US" style="font-size:10.5pt"> (2)中文资源显示问题:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt">
在JavaWebStudio中,默认的中文资源文件名是“ApplicationResources_ch.properties”,用户先将中文资源定入文件“ApplicationResources.properties”</span></p>
<p><span style="font-size:10.5pt">然后选择工具条的<span lang="EN-US">“资源文件编码转换”键或选择“运行”菜单上的“资源文件编码转换”项,即可实现编码转换功能。</span></span></p>
<p><span lang="EN-US" style="font-size:10.5pt"> (3)表单和数据库中文显示问题:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt">
在JavaWebStudio中建立Struts项目时,自动加入了编码转换设置过滤器。</span></p>
<p><span lang="EN-US" style="font-size:10.5pt">
可见在JavaWebStudio中,不需编程人员编写任何代码,仅仅点击一个资源文件编码转换键即可完全解决Struts中文显示问题。</span></p>
<p><span lang="EN-US" style="font-size:10.5pt">4、Struts 数据库应用向导功能:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt">
在新版的JavaWebStudio中,通过“Struts数据库应用文件向导”可完全自动实现数据库应用。</span></p>
<p style="text-indent: 21.0pt"><span style="font-size:
10.5pt">在向导中,只需输入文件名,通过手动加入数据库字段名或通过选择数据源自动添加数据库字段名,即可自动产生实体<span lang="EN-US">Bean,操作ADO(包括插入、删除、更新、查找功能)、输入JSP、JSP对应的ACtionForm、JSP对应的Action(例如打查找结果放入Bean中)、JSP输出(根据数据库自动产生输出表格)、自动配置XML文件等;</span></span></p>
<p style="text-indent: 21.0pt"><span style="font-size:
10.5pt">在<span lang="EN-US">JavaWebStudio中,通过“Struts数据库应用文件向导”可完全自动实现数据库应用。在向导中,只需输入文件名,通过手动加入数据库字段名或通过选择数据源自动添加数据库字段名,即可自动产生实体Bean,操作ADO(包括插入、删除、更新、查找功能)、输入JSP、JSP对应的ACtionForm、JSP对应的Action(例如打查找结果放入Bean中)、JSP输出(根据数据库自动产生输出表格)、自动配置XML文件等。</span></span></p>
<p style="text-indent: 21.0pt"><span style="font-size:
10.5pt">由于产生了操作<span lang="EN-US">ADO(包括插入、删除、更新、查找功能),只需编写很少的代码,即可实现完整的数据插入、删除、更新功能。另外,还有自动分页的功能。</span></span></p>
<p style="text-indent: 21.0pt"><span style="font-size:
10.5pt">数据库连接池只需通过配置即可使用:</span></p>
<p style="text-indent: 15.75pt"><span lang="EN-US" style="font-size:10.5pt"><!--[if gte vml 1]><v:shape
id="_x0000_s1030" type="#_x0000_t75" style='width:414.75pt;height:251.25pt'>
<v:imagedata src="in2_JWS_files/image011.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=335
src="in2_JWS_files/image012.jpg" v:shapes="_x0000_s1030"><![endif]></span></p>
<p><span lang="EN-US" style="font-size:10.5pt">5、提供了大量的应用程序模块:</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"><!--[if gte vml 1]><v:shape
id="_x0000_s1031" type="#_x0000_t75" style='width:414.75pt;height:291pt'>
<v:imagedata src="in2_JWS_files/image013.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=388
src="in2_JWS_files/image014.jpg" v:shapes="_x0000_s1031"><![endif]></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="text-indent: 21.0pt"><span style="font-family: 宋体">
每一个模板就是一个保存在</span><span lang="EN-US">\bin\</span><span style="font-family: 宋体">模板</span><span lang="EN-US">\</span><span style="font-family: 宋体">目录下的项目,所以用户可非常方便地建立各种自己的模板。</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"><!--[if gte vml 1]><v:shape
id="_x0000_s1032" type="#_x0000_t75" style='width:310.5pt;height:289.5pt'>
<v:imagedata src="in2_JWS_files/image015.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img border=0 width=414 height=386
src="in2_JWS_files/image016.jpg" v:shapes="_x0000_s1032"><![endif]></span></p>
<p><span lang="EN-US" style="font-size:10.5pt"> </span></p>
<p><b><span lang="EN-US" style="font-size:
14.0pt">[相关链接]<br>
</span></b><span lang="EN-US" style="font-size:10.5pt">http://dev.csdn.net/user/kui</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"> </span></p>
<p><span lang="EN-US" style="font-size:10.5pt">
***********************************************************<br>
<b><span style="letter-spacing:.75pt">最新JavaWebStudio下载地址:</span></b><br>
——————————————————————————————<br>
<span style="letter-spacing:.75pt"> <a style="color: #0066CC; text-decoration: none; text-underline: none; text-line-through: none" href="ftp://210.36.64.79/kui">ftp://210.36.64.79/kui</a></span>
</span></p>
<p><span lang="EN-US" style="font-size:10.5pt"><br>
***********************************************************<br>
<b><span style="letter-spacing:.75pt">较新JavaWebStudio下载地址:</span></b><span style="letter-spacing:.75pt"><br>
</span>——————————————————————————————<br>
<a style="color: #0066CC; text-decoration: none; text-underline: none; text-line-through: none" href="ftp://download:download@222.34.5.61/JavaWebStudio.rar">
ftp://download:download@222.34.5.61/JavaWebStudio.rar</a><br>
——————————————————————————————<br>
JavaWebStudio放到<a style="color: #0066CC; text-decoration: none; text-underline: none; text-line-through: none" href="ftp://218.28.64.19:22">ftp://218.28.64.19:22</a><br>
下载帐号:javadown<br>
下载密码:javadown<br>
目录是:JavaWebStudio(VisualStruts20040611版本)<br>
——————————————————————————————<br>
<a style="color: #0066CC; text-decoration: none; text-underline: none; text-line-through: none" href="ftp://61.129.102.53">
ftp://61.129.102.53</a><br>
下载帐号:csdn<br>
下载密码:csdn<br>
——————————————————————————————<br>
JavaWebStudio 20040521:<br>
华军软件园:<br>
<a style="color: #0066CC; text-decoration: none; text-underline: none; text-line-through: none" href="http://www.onlinedown.net/soft/31867.htm">
http://www.onlinedown.net/soft/31867.htm</a> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: 宋体"> </span></p>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -