Example Blog Post
Blog text goes here...
有谁知道我在哪里可以找到用C语言编写的低级/系统级应用程序的示例解决方案? 一个非常好的网站或书籍推荐也会很酷。
我已经学习了一些基础知识,但是希望在用C编写的真实解决方案的上下文中看到一些代码,特别是对于较低级别的问题。 例如,Id'对如何在OS编程环境中使用C感兴趣。 C用于低级编程的一些领域是什么?
谢谢。
Does anyone know where I might find sample solutions written in C for low level / systems level applications? A really good website or book recommendation would be cool too.
I've learned some of the basics, but would like to see some code within the context of a real solution written in C, and specifically for a lower-level problem. Id' be interested in how C is used within the context of OS programming, for example. What are some areas where C is used for lower-level programming?
Thanks.
原文:https://stackoverflow.com/questions/6655135
Struts 2标签有不同类型。
表单标签特别有用,但它们的功能完全取决于所使用的Struts 2主题。
"simple"
主题几乎没有超出标准HTML标签的好处。 默认的"xhtml"
主题会发出表格行和一些样式。 自定义主题实现您想要的任何功能。 无论主题如何,底层JSP源都不需要改变。主要优点是:
- 验证错误消息
- 表单呈现/样式
- 框架集成(例如,从操作自动填充的值)
还有一组Dojo(非常弃用)和jQuery标记,它们在自定义标记中包含了大量的JavaScript功能,这使得简单的动态功能变得非常简单。
还有非视图标记,如
<s:iterator>
等。它们的一些功能是JSTL的副本(在迭代器标记的情况下为<c:forEach>
)。 在功能重叠时,在这种情况下使用S2标签没有太多好处。某些标签没有JSTL模拟,如
<s:merge>
或<s:sort>
。 ,该功能是否适用于视图层是一个不同的讨论。 有些提供了与Struts 2的其他方面的集成,如I18N(例如,<s:text>
)。 有些人了解Struts 2配置(例如,<s:url>
)。任何自定义标记的目的是简化视图层编程(例如,JSP)。 S2提供了很多标签来帮助解决这个问题。 有些是简单和通用的(非UI标签),而UI标签是使用FreeMarker实现的,并且可以大量定制。
There are different types of Struts 2 tags.
Form tags in particular are beneficial, but their functionality depends entire on the Struts 2 theme being used. The
"simple"
theme provides almost no benefit beyond standard HTML tags. The default"xhtml"
theme emits form table rows and some styling. Custom themes implement whatever functionality you desire. Regardless of the theme the underlying JSP source never needs to change.The primary advantages being:
- Validation error messages
- Form presentation/styling
- Framework integration (e.g., value automatically filled from action)
There are also a set of Dojo (very deprecated) and jQuery tags that wrap up a fair amount of JavaScript functionality in custom tags, which makes simple dynamic functionality very simple.
There are also non-view tags, like
<s:iterator>
etc. Some of their functionality is a duplicate of JSTL (<c:forEach>
in the case of the iterator tag). There aren't a huge number of benefits to using the S2 tags in this case when functionality overlaps.Some tags have no JSTL analog, like
<s:merge>
or<s:sort>
. , Whether or not that's functionality suitable for the view layer is a different discussion. Some provide integration into other aspects of Struts 2, like I18N (e.g.,<s:text>
). Some understand about Struts 2 configuration (e.g.,<s:url>
).The purpose of any custom tag is to simplify view layer programming (e.g., JSP). S2 provides a lot of tags to help with that. Some are simple and generic (non-UI tags), while the UI tags are implemented using FreeMarker and are heavily customizable.
和
被称为HTML标签 HTML元素包括打开标签,关闭标签,内容(无内容标签可选)例如:This is the content
:这个完整的东西叫做HTML元素 HTML tag is just opening or closing entity. For example:and
are called HTML tags HTML element encompasses opening tag, closing tag ...Blog text goes here...