自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (5)
  • 收藏
  • 关注

原创 Spring注入对象调用时为空的异常

其中ShortMsgAction第58行代码:shortMsgService.update(smObj);就是这个shortMsgService导致的空指针异常。根本没被实例化。而我已经在applicationContext.xml里面声明过:  abstract="false" lazy-init="default" autowire="default"

2009-08-06 09:22:00 1018 1

原创 页面标签和Struts2配套才能动起来,貌似。

似乎是连jsp的标签也要配套struts2的写。写普通的html标签是不管用的。 比如在Jsp里写了个...提交会报404错误,XXXAction is not available. 改成... 就正常了。

2009-08-04 16:32:00 226

原创 UnsupportedClassVersionError的解决

 今天看Eclipse的一个教程,里面有一段代码:java.lang.UnsupportedClassVersionErrorpackage math;public class ErrorTest {    public static void main(String[] args) {        System.out.println( factorial(6) );    }    

2008-08-26 15:03:00 3750 3

[web开发CSS系列]The Principles of Beautiful Web Design

What’s in this Book? Chapter 1: Layout and Composition An awareness of design relies heavily on understanding the spatial relationships that exist between the individual components of a design. The layout chapter kicks off the design process by investigating possible page components. With these blocks defned, we discuss some tools and examples that will help you start your own designs on a solid foundation. Finally, we commence the development of a layout for our sample web site design, which we’ll build on throughout the book. Chapter 2: Color Perhaps the most mysterious aspect of design is the topic of color selection. Chapter 2 sheds some light on this topic as we delve into both the aesthetic and scientifc aspects of color theory. Armed with these simple guidelines, and some tips for creating harmonious color combinations, anybody can choose a set of colors that work well together to complement the overall message of a web site. We’ll do just that toward the end of the chapter, when we select a relevant and attractive palette for our sample web site design. Chapter 3: Texture An aspect of web design that’s often overlooked, texture is the key to creating designs that stand out. By understanding how the individual elements of texture function, you’ll learn how to use points, lines, and shapes to communicate and support your site’s message on a number of levels. We’ll then apply what we’ve learned to the sample site layout, which will give us a chance to see frsthand just how much value texture can add to the overall impact of a web site design. Chapter 4: Typography The importance of typography is self-evident. Type is everywhere, and understanding the mechanics of written language is essential for any visual designer. In this chapter, we’ll dive beneath the surface of this rich topic, exploring the basics of the letterform, and investigating various typeface distinctions. When the time 3561 20.0 Design1 10 27/2/07 3:02:50 PM x The Principles of Beautiful Web Design  The Principles of Beautiful Web Design  xi comes, you’ll have the opportunity to get your hands dirty as we apply carefully selected typefaces to our sample site design. Chapter 5: Imagery The necessary companions to any well-designed site are the images and illustrations that grace its pages. In the fnal chapter, we’ll discuss what we should look for in the visual elements that we use on our pages, and locate sources of legitimate supporting imagery. Of course, fnding the right image is often just the beginning. We’ll also learn the basics of cropping, masking, borders, and fle formats, before we take the fnal step in our sample site design: incorporating imagery that supports our clients’ branding, and helps communicate the message they’re trying to convey.

2009-08-06

[web开发CSS系列]The Ultimate CSS Reference

只要你需要用css,这就是一本不可多得的优秀资料。英文原版《The Ultimate CSS Reference》. author : Tommy Olsson & Paul O'Brien publisher : sitepoint

2009-08-05

[web开发CSS系列]Pro CSS Techniques

This book is a collection of proven, professional, modern techniques that you can use every day to get the most out of the time you put into your projects, from start to finish. As it has finally come to pass that CSS (Cascading Style Sheets) and other web standards are useful, real-world tools as opposed to idealistic goals, more and more professional web developers are moving to CSS from older approaches. Web browsers that support CSS well are now the default for the vast majority of web surfers. Additionally, a whole new generation of web developers are appearing on the scene, many of whom have never had the grave displeas- ure of dealing with nested table layouts and spacer GIFs. So how are these web developers learning CSS? Most often, they are self-taught. They’ve picked up bits and pieces from online articles and blog posts, they’ve scoured other people’s code to dissect how someone achieved a particular style or layout technique, and they’ve read other CSS books on the market. Like blog posts and online tutorials, most of the CSS books currently available are focused on specific principles and techniques out of context. Pro CSS Techniques focuses on context, and how each of the techniques presented fits into the lifecycle of a real-world project.

2009-07-30

[web开发CSS系列]Pro CSS and HTML Design Patterns

This is a solutions book for styling HTML 4.01 and XHTML 1.1 with CSS 2.1. It contains more than 350 design patterns you can put to use right away. Each design pattern is modular and customizable, and you can combine patterns to create an unlimited number of designs. Each design pattern has been thoroughly tested and proven to work in all major web browsers including Internet Explorer 7, Internet Explorer 6, Firefox 2, Opera 9, and Safari 2. All the content in this book is usable and practical. You won’t waste time reading about things that don’t work! With this book, you will no longer have to use hacks, tricks, endless testing, and constant tweaking in multiple browsers to get something to work. Using a design pattern is as easy as copying and pasting it into your code and tweaking a few values. This book shows you which values you can modify and how they affect the result so you can create the exact style and layout you want—without worrying whether it will work. This is more than a cookbook. It systematically covers every usable feature of CSS and combines these features with HTML to create reusable patterns. Each pattern has an intuitive name to make it easy to find, remember, and talk about. Accessibility and best practices are carefully engineered into each design pattern, example, and source code. You can read straight through the book, use it as a reference, and use it to find solutions. You’ll love how the book’s consistent layout makes it a joy to use. The book puts examples on the left page and explanations on the right. Each example includes a screenshot and all relevant HTML and CSS code so you can easily see how each design pattern works. The explanation for each design pattern is included on the right-facing page of the example so you can easily study the example while you read how it works. The layout also makes the book very usable as an e-book because you can see the example and explanation all on one screen; otherwise, you would have to flip back and forth between pages, which is difficult to do in an e-book. Each design pattern has a name, which is placed at the top of each page. This makes it easy to find a design pattern, to remember it, and to talk about it with others. Since the name, screenshot, code, and explanation are placed in the same location in each set of facing pages, you can quickly thumb through the book to find what you are looking for. Design patterns are organized by topic, and all usable CSS rules are covered in depth and in context like no other book. All design patterns are accessible and follow best practices, making this book a worthwhile read from cover to cover as well as an excellent reference to keep by your side while you are designing and coding. This book unleashes your productivity and creativity in web design and development. Design patterns are like Legos—you can combine them in countless ways to create any design. They are like tools in a toolbox, and this book arms you with hundreds of tools you can whip out to solve problems quickly and reliably. Instead of hacking away at a solution, this book shows you how to create designs predictably—by combining predictable patterns.

2009-07-30

C++ 21days

This book is designed to help you teach yourself how to program with C++. In just 21 days, you'll learn about such fundamentals as managing I/O, loops and arrays, object-oriented programming, templates, and creating C++ applications--all in well-structured and easy-to-follow lessons. Lessons provide sample listings--complete with sample output and an analysis of the code--to illustrate the topics of the day. Syntax examples are clearly marked for handy reference.<br><br>To help you become more proficient, each lesson ends with a set of common questions and answers, exercises, and a quiz. You can check your progress by examining the quiz and exercise answers provided in the book's appendix.

2008-03-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除