Create the Struts. xml configuration file for struts2 in myeclipse10

Source: Internet
Author: User

HowMyeclipse10CreateStruts2Configuration FileStruts. xml, That is, buildingStruts2Style configuration fileXMLFile?

1. decompress the latestStruts2 packageFile. Mine is:Struts-2.3.8-all.zipAnd then findStruts-2.3.dtdPath and copy it.

2.Myeclipse, SelectWindows-->Preferences--> In"Type Filter text"Input in the input boxXML catalog, ClickAdd.

Location:D: \ Download \ Java \ struts \ Lib \ Struts-2.3.8 \ DTD \ struts-2.3.dtd --------------->Location of the DTD file

Key type:Public ID

Key:-// Apache Software Foundation // DTD struts configuration 2.3 // en -------------->You can find from the struts-2.3.dtd File

Alternative web address:Http://struts.apache.org/dtds/struts-2.3.dtd -------------->You can find from the struts-2.3.dtd File

Click OK!

Use Time:

1,New-->XML (Basic templates)

2. input the file name:Struts. xml, Next.

3. Select:Create XML file from DTD file, Next.

4. Select:Select XML catelog entryTo list all XML catelog entries.

Select-// Apache Software Foundation // DTD struts configuration 2.3 // en, next.

5. Continue to next until OK!




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.