JavaWebStudio Series Development Tools Visaul Struts Version Introduction

zhaozj2021-02-16  60

JavaWebStudio Series Development Tools Visaul Struts Version Introduction

The Javawebstudio Series Development Tools Visaul Struts is a professional Struts visual development integrated environment, which is currently the most convenient and fast Struts development platform.

Developing Struts with JavaWebStudio, it is very easy, running speed (written with vc.net), is a bit like VB.NET. In addition to HTML, JSP in the Component column, there are Struts tag components, such as inserting a tag component, as seen in the editing page is an input text box, that is, visual design, the input text box point mouse Right click to select "Properties", you can add variables directly; double-click the left mouse button to automatically jump to the appropriate Java file. With the file wizard, select the data source after all code is automatically generated, and generate pages, records, editing, update, deletion, page and all source code, like ASP.NET? When editing the Java code, there is a "." Auto prompt function, including custom variables, custom classes, JDK classes, Struts, etc., like VC.NET "." Auto Tips.

1. Visualize the Struts label Web design interface, which is the function of jcreator, eclipse, jb. Designing the Struts JSP page in JavaWebStudio, just like the normal web page is designed in Microsoft FrontPage, as convenient. Similar to Dreamweaver MX, the upper part of the main window is a JSP source code editing window, and the lower half is a visual editing window.

JavaWebStudio Development Tools supports a visual design of the Struts tag, in the JavaWebStudio's Web Visual Editing Interface, is an input text box, click on the right mouse button to select "Add Variable", automatically add the tag's Property Name, which automatically adds corresponding variables and functions in ActionForm, which is very convenient. In the JavaWebStudio's Web Visual Edit interface, double-click the Auto Jump to the action, double-click automatic jump to ActionForm to the input box, similar to VB, DELPH event programming.

2, Struts, project custom class, and Java class all kinds of objects are "hit. Tip", as long as the choice can enter a function, it is the best for those who are not familiar with Strutsapi.

3. Struts complete Chinese display solution:

(1) JSP page Chinese display problem:

When you create a JSP file, you join the following code:

<;;;% @ Page ContentType = ";;; text / html ;;;; charSet = GB2312" ;;;%> ;;;

In this way, Chinese on the JSP page can be displayed normally.

(2) Chinese resource display problem:

In JavaWebStudio, the default Chinese resource file name is "ApplicationResources_ch.properties", the user first scheduled the Chinese resource into the file "ApplicationResources.properties"

Then select the "Resource File Code Conversion" key of the toolbar or select the "Resource File Code Conversion" item on the Run menu to implement the encoded conversion function.

(3) Forms and database Chinese display issues:

When establishing a Struts project in JavaWebStudio, the encoding conversion setting filter is automatically added.

It can be seen in JavaWebStudio, you don't need to write any code, just click on a resource file encoded conversion key to completely solve the Struts Chinese display problem. 4, Struts Database Application Wizard Features:

In the new version of JavaWebStudio, database applications can be fully automatically implemented via "Struts Database Application File Wizard".

In the wizard, simply enter the file name, automatically generate entity beans by manually adding the database field name or automatically adding the database field name by selecting the data source, operates ADO (including Insert, Removing, Update, Finding Function), Enter JSP , JSP corresponds to the actionform, JSP corresponding to the Action (for example, playing into the bean), the JSP output (auto-generating output table according to the database), automatically configures XML files;

In JavaWebStudio, database applications can be fully automatically automatically implemented via "Struts Database Application File Wizard". In the wizard, simply enter the file name, automatically generate entity beans by manually adding the database field name or automatically adding the database field name by selecting the data source, operates ADO (including Insert, Removing, Update, Finding Function), Enter JSP , JSP corresponds to the actionform, JSP corresponding to the Action (for example, playing into the bean), the JSP output (auto-generating output table according to the database), automatically configures the XML file.

Since the operation ADO (including insertion, deletion, update, lookup feature) is generated, you can implement a complete data insertion, delete, and update. In addition, there is an automatic paging function.

Database connection pools can be used by configuration:

The latest JavaWebStudio download address: ftp: //210.36.64.79/kui

转载请注明原文地址:https://www.9cbs.com/read-25864.html

New Post(0)