Struts 2和Struts 2 jQuery标签之间有什么区别? [英] What is the difference between Struts 2 and Struts 2 jQuery tags?

查看:59
本文介绍了Struts 2和Struts 2 jQuery标签之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Struts 2的新手.我想知道Struts 2和Struts 2 jQuery标签之间的区别吗?

I am new to Struts 2. I wanted to know the difference between Struts 2 and Struts 2 jQuery tags?

推荐答案

第一个用于 Struts2核心标签库

该框架提供了一个与视图分离的标签库技术.在本节中,我们以一般术语描述每个标签,例如它支持的属性,行为是什么等等向前.所有模板语言都支持大多数标记(请参阅JSP).标签,速度标签和FreeMarker标签),但其中一些目前仅特定于一种语言.每当标签没有完整的支持时对于每种语言,它都会在标签的参考页上注明.

The framework provides a tag library decoupled from the view technology. In this section, we describe each tag in general terms, such as the attributes it supports, what the behaviors are, and so forth. Most tags are supported in all template languages (see JSP Tags, Velocity Tags, and FreeMarker Tags), but some are currently only specific to one language. Whenever a tag doesn't have complete support for every language, it is noted on the tag's reference page.

标记的类型可以分为两种:通用和UI.除了职能和责任,最大的区别是二是HTML标记支持模板和主题.在除了常规标签参考之外,我们还提供了以下示例在每种支持语言中使用这些通用标签.

The types of tags can be broken in to two types: generic and UI. Besides function and responsibility, the biggest difference between the two is that the HTML tags support templates and themes. In addition to the general tag reference, we also provide examples for using these generic tags in each of the support languages.

第二个通过插件添加.它添加/替换了struts2 dojo插件正在使用的 Ajax.

the second is added via plugin. It adds/replaces the Ajax being used by struts2 dojo plugin.

不推荐使用Dojo插件

Dojo plugin is deprecated

Dojo插件将在Struts 2.1上弃用

The Dojo plugin will be deprecated on Struts 2.1

Struts 2.0与Struts 2.1和Dojo标记

Struts 2.0 versus Struts 2.1 and the Dojo tags

获取有关Struts 2.0 Dojo标记用法的文档的最简单方法是查看Struts 2的旧文档,例如Struts 2.0.11 Ajax标签Wiki文档.

The easiest way to get documentation for Struts 2.0 Dojo tag usage is to look at older Struts 2 documentation, like the Struts 2.0.11 Ajax tags wiki documentation.

现在不建议使用此插件,并且 struts2可以使用jquery插件.

Now this plugin is deprecated and struts2 jquery plugin could be used instead.

用于流行的Java Web框架struts2的插件,可基于jQuery javascript框架提供ajax功能和UI窗口小部件.

A Plugin for the popular java web framework struts2 to provide ajax functionality and UI Widgets based on the jQuery javascript framework.

这篇关于Struts 2和Struts 2 jQuery标签之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆