Display struts labels in Dreamweaver

Source: Internet
Author: User
Integration of Dreamweaver and struts

Developing Web applications with Struts is very attractive. jsp is usually used at the display layer. Of course, the preferred tool for editing web pages is Dreamweaver, while Dreamweaver does not recognize the struts tag library, when designing a web page, it often brings no small trouble, no code prompts and WYSIWYG interfaces. Next we will provide a solution to solve this problem.

1. First, import the struts tag library in Dreamweaver, so that dynamic code prompts can appear during code writing. Click "Edit | tag Library ...", Import the struts taglib file in the "tag library Editor". These labels are used on the JSP file.

 

2. Download "animalsgroup struts taglibs translator". This plug-in can display some struts labels graphically. Currently, HTML and bean labels are supported.

Click here to download the plug-in.

After downloading the plug-in, use the Macromedia Extension Manager to install the plug-in.

 

3. Create a JSP file, import the corresponding struts taglib declaration, and design it. HTML labels can be displayed. They are exactly the same as common designs, but there is no attribute bar. You need to change the code to achieve the display effect.

Conclusion: Using the above method can indeed bring a lot of convenience to web designers, and components can be directly displayed to facilitate our modification. In fact, there is a Dreamweaver struts plug-in, more powerful functions, you can find the plug-in the http://www.fwasi.com information, but charge

 

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.