How to make JBuilder9 support struts 1.1

xiaoxiao2021-03-06  230

Struts1.1 has enhanced a lot than Struts1.0. For example: Provide DynaActionForms, you don't have to write any code to create dynamic actionform; multi-application support allows you to define multiple struts-config.xml configuration files. However, JBuilder 9 only supports struts1.0, not directly support struts1.1, let's take a look at how to let JBuilder 9 support struts1.1.

First download JAKARTA-STRUTS-1.1, put the entire directory into the / extras directory. Then create a new library with the Configure Libraries dialog box (Tools -> Configure Libraries), we named Struts1.1, add all JARs in the Jakarta-Struts-1.1 / Lib directory to the new library (see Figure 1) Set Framework for Struts, point OK, and settings in Library Settings. Figure 1 Next to see if the settings are successful: file -> New Create a web application, in the Web Application Wizard JSP / Servlet Frameworks we see the struts 1.1 selection box (see Figure 2), set success! Figure 2 Next You can develop your Web Application in JBuilder9.

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

New Post(0)