jsp (RSS)

To springside a cardiac stimulant and re-ignite the enthusiasm of SSH framework 2

Connected to a <a href="http://lovephoenix.javaeye.com/admin/blogs/591383"> to springside a cardiac stimulant and re-ignite the enthusiasm of SSH architecture 1 </ a> The followi ...

Grails development project from scratch 2

Download, install, configure Java, Groovy, Grails Meat opera come ~ As of today (February 8, 2010) The latest version is as follows: Java JDK 6 Update 17 http://java.sun.com/javase/downloads/index.jsp ...

struts2 value problems in the page

The above is part of the struts.xml the contents of the configuration file. The above is an action, log on after a successful redirection using. Questions to, and I want to take ipaddr value main.jsp ...

Using Freemarker generates a static html

Let us look at generating static html files: FreeMarker allows Java servlet to keep graphic design with the separation of application logic, which is sealed by the template HTML complete. The data pro ...

Spring configuration file stored on the location of the problem

For the sping applications, has been taking it seriously enough, now. Today, doing a spingMVC example of a time when, web.xml on the spring parameters for the listener configuration throws an exceptio ...

spring security system security features to provide

1. Overview As the spring security system development in the competence fill up after the closure of the so used only spring security in the provision of part of the content; Complete features include ...

struts1.x File Upload

jsp form page (upload.jsp) ActionForm Action xml file configuration

struts1.x Dynamic ActionForm

jsp page (dynaform.jsp) xml file configuration Action configuration (DynaFormAction)

struts1.x tags

1, beanwrite label action in the scope of the request to set the following properties Back to the jsp page to display labels with beanwrite 2, logic tags (logical judgments) Back to jsp page tags to u ...

On how to debug a webapp using maven to create

There are many ways to debug webapp can be directly installed server, Can also be installed maven-jetty-plugin, maven-tomcat-plugin plug-ins In addition to these, but also can be directly embedded jet ...

Struts2 in the use of DMI

Struts2 in Action class can be placed in multiple methods and struts.xml configured for the page is called. As long as the approach is consistent with execute () method of the standard that the return ...

The interceptor struts2

1. Understand the interceptor 1. Interceptors in the anti-ask certain way, before or after the field to intercept, and the interceptors are pluggable, the interceptor is an implementation of AOP. 2. I ...

On the struts-config.xml file

<? xml version = "1.0" encoding = "ISO-8859-1"?> <! DOCTYPE struts-config PUBLIC "- / / Apache Software Foundation / / DTD Struts Configuration 1.3 / / EN" " ...

In the development of Liferay's pulgin found a picture record of positioning

I have to use methods developed by pulgin (that is, by the way pulgin SDK development) in the development process, I found the picture url definition of strange. Instance, to develop a portlet: Name: ...

Image Cut

Upload pictures class Image processing class is used to cut pictures Cut and save images for the pictures

Chinese garbled Java solution

Java-based programming, often encounter inside and display of Chinese characters at the problem, such as a lot of garbled or question marks. This is because the default encoding JAVA is UNICODE, while ...

struts2 in action call

1, Action categories: public class IndexAction3 extends ActionSupport ( @ Override public String execute () ( return SUCCESS; / / inherited ActionSupport inside the execute () method. ) ) 2, Action ca ...

A generic page class ~

Are now in school jsp, think of how to get to paging. Aiming a bit on-line paging approach, looks like there are several. I just started thinking about all the records of all fold flat into a list, th ...

Ten programmer promotion magic

In this world, millions of people interested in software development, they have many names, such as: Software Engineer (Software Engineer), programmer (Programmer), encoding human (Coder), the develop ...

jsp operate an exception occurs xml file

tomcat bad Sakaishita java operate on XML, when abnormal: Incorrect because: Is due to between jdk1.5 and tomcat5.0 on TransformerFactoryImpl classes caused by the conflict. tomcat-5.0.28 \ common \ e ...

Liferay under development to integrate Spring and Hibernate debut Plugin

In short, do not know what to do under the development of Liferay. With SSH it is totally against the background knowledge, himself wrote a version independent firms get into the web application, is a ...

Java web development feel more and more complex

Earlier use of the development of a django site (Unfortunately, abortion), and now return to a previous java maintenance management system. Begun to consider their own development model, to be honest, ...

Acquaintance Hibernate (1)

Three months to write a C / C + + finally returned to the Java I love the ~ ~ originally wanted to continue to study the JSP ^ ^ But a friend recently asked me to help him make a final examination of ...

Basic configuration of DWR

1. DWR is very easy to use, the first of its official website (www.directwebremoting.org) Download dwr.jar, the latest version of the current is 3.rc1 2. Dwr.jar to download on the project WEB-INF \ l ...

upload flash + fileupload

Form page code: 1. Embedded JS file formhelper_fileMem.js 2. Forms controls embedded FLASH 3. Object 4.upload.jsp Note: to download the flash address http://www.sj98.com/xwzj/ps/flash/200810/2097.html

Embedded Jetty server easy tutorial

Introduction: the use of Maven私服artifactory structures, it was found that the use of the jetty as artifactory embedded middleware, with the memory database, the web will JEE applications like windows ...

Javascript document how to write Chinese

If you use the Eclipse open window-> preferences and then General-> Content Types, select JavaScript Content, in the following Default encoding, changed to GBK. Re-open. Js files, as soon as OK ...

js regular

<! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN"> <HTML> <HEAD> <TITLE> New Document </ TITLE> <META NAME="Generator" CONTEN ...

Struts2 configuration and sitemesh

Integration of the Spring / Webwork / Sitemesh / FreeMarker configuration related web.xml need to configure the three filter, which filter the order of 3 can not be reversed, must be in accordance wit ...

Gzip optimize the use of web applications (filter to achieve)

Previously used filter, which is shielding about restricted access to the path of resources to address the issue under the Chinese characters, in fact, optimization of web applications in filter also ...

dwr / struts examples of the development of

Start by telling you about the structure of the application client page: demo.jsp used to display client interface service: DemoAction is a Struts sub-class of Action to control the conversion, DemoFa ...

WebWork and DWR integration

WebWork / Struts 2 DWR also provided with OpenSymphony ( www.opensymphony.com / webwork ) Framework developed by the integrated WebWork. With this support, you can remotely access their own WebWork Ac ...

JSF and DWR integration

①, in the normal allocation of DWR (including reverse ajax configuration) and JSF to do after the web.xml in the following definition: <filter> <filter-name> DwrFacesFilter </ filter-na ...

struts compared with spring mvc

Web-based MVC framework in the J2EE world is the unprecedented prosperity. TTS site almost every 12 weeks there will be a new release of the MVC framework. At present, a better MVC, a veteran of Strut ...

ext webwork + hibernate + spring crud ssh2 viewport layout of text

1.ext_viewport.jsp <% @ Page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> <% @ Taglib prefix = "ww" uri = &q ...

AJAX caching problem

The time to write code today, found that a problem is that when repeat visits xmlhttp a URL, it will give you up-cache At this time we have to clear the cache before they can re-visit, otherwise it is ...

hibernate cascade configuration of the relationship between the use of list

Recently, in practice the relationship between a cascade List examples of the problem encountered in spots, and now has been resolved, a number of configuration methods now make a brief note, I hope t ...

Java development framework: The framework of a simple summary of SSH

Java development framework: The framework of a simple summary of SSH Release Time: 2008.05.08 09:10 Source: Microsoft Author: Seville NEW YORK finishing technology community] Struts, spring, Hibernate ...

CSS Notes

A: How to jsp page in the introduction of css style sheet file? 1, first of all to write the contents of the css style sheet format saved as *. css. If style.css 2, in the introduction page of the css ...

Ajax to study the application of

Ajax in the commonly used in the development of java web application code is as follows: <% @ Page language = "java" import = "java.util .*" pageEncoding = "UTF-8"%> ...

When developers work because there is no passion and submitted his resignation

What kind of work will have a job of passion. As an issue, I will then test analysis: 1, the work process challenges, can achieve a sense of accomplishment. 2, work is continuous learning and improve ...

REST + CoC-based build framework for Java Web framework for rapid development of ideas

Then they would have to have the following logic: 1 for M: First of all, check whether there is any url in classpath to find the entity (such as blog, we can not say that it is resources, resources ar ...

Ajax problems they encountered in the development of easy

1.ajax, action in response to return to the xml file format error, eclipse debug into the action in less than. 2.ajax cache problem, need to join the xmlHttp.setRequestHeader ( "If-Modified-Since ...

Rewritten to use AJAX projects

I think as long as the beginning of more projects, in order to better enhance the skills, but learning MLDN, I found, do the project as a project to do fine, but also a very strong grasp of a project ...

JS's eval () function

In the JSP, the box around to do a conversion function entry, the left and right, respectively, as a result of a number of box and the box is dynamically generated number, so the design to the box nam ...

Struts projects will be moved to Struts2 (a)

<! - StartFragment -> boy now learning how Struts2, by SpringSide documents found inside infoq on this series of articles, feel good, but the helpless poor English. So put on this article, I wro ...

ExtJS environmental structures

With the development of the computer, RIA (rich Internet applications) is also a popular inevitable in a large number of RIA implementation, ExtJS is doing quite well. Javascript to write ExtJS is mai ...

Integrated Development ssh

1 by adding the jar package j2ee. Add to lib in (Note, it is best to package jar project are added to the inside in order to shake off the shackles of MyEclipse) 2. Join the spring (remember to add th ...

XMLHttpRequest object simple package

XMLHttpRequest object simple package

The basic functions of a common source AJAX

This program demonstrated the basic ajax functions: 1 xml result set to return to the page Another two pages show the current page 3 shows a string to the page ajax.js the core method for ajax AjaxAct ...