Cannot find ActionMappings or ActionFormBeans collection

This error occurs when you try to display a JSP before the Struts ActionServlet has been initialized and is active.

read more | digg story

In case you missed

Google Chrome – New internet browser of Google

I’m talking about one new internet browser of Google, it’s call Google Chrome. The Google Chrome is now in Beta version but i think it’s a wonderful browser at the momment because nothing about any exploit be found.

Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
Continue Reading

Common Struts Errors and Causes

This page contains errors and exceptions commonly encountered during web application development using Struts. Along with the exception or error messages themselves, potential causes of these errors are often listed along with links to additional resources.
Continue Reading

Tips: Declare cmp-field in Jboss 5.0.0.CR1 version

After add jboss ejb property from XDoclet setting. We can run Xdoclet with MyEclipse then cmp-field will be auto create by XDoclet. But, in jboss 5.0.0.CR1 version, cmp must match (field-name, read-only? read-time-out?, conlum-name?, not-null?, ((jdbc-type, sql-type)|(property+))?)

Continue Reading

Solved: Destination Folder Access Denied

Someone maybe already known that solution how to replace one file in system32 folder in Windows Vista, but i thought it’s so helpful for dummies
Continue Reading

Creating Container-managed Entity Beans with JBoss and MyEclipse

Introduction

An Entity Bean is an Enterprise JavaBean (EJB) that represents a persistent object in a relational database. JBoss provides two methods of entity bean persistence, Bean Managed Persistence (BMP) and Container-Managed Persistence (CMP). With BMP, the entity bean developer must implement all the persistence logic. With CMP, the application server manages entity bean persistence; the developer provides interfaces and configuration.

Entity JavaBeans that use container-managed persistence (CMP) are convenient, because they require so little custom code to achieve automatic persistence. But that convenience carries a price: beans using CMP are also ferociously complex to configure, and often difficult to debug.
Continue Reading

Post form to clean, a tutorial with JSP/Servlet and JavaScript

Rewritten URLs are valuable because they increase website usability and improve search engine optimisation (SEO), in PHP with mod_rewrite, you can rewrite URL easily and simple, when using java, you can too, just follow this article. Well, but we have a problem: HTML forms and rewrite URL were not designed to work together. So, you have to use client-side(java script) to transfer page to result page wich rewrited URL. However, you can do it by server-side script by pre-processing input from HTML Forms and transfer to result page. In this tutorial, i’ll guide you how to make it work by 2 way: Client-side and Server-side.
Continue Reading

Using a MySQL Full-Text Search

A full-text search allows a search of multiple text columns. If you are setting up a search of a series of articles or a site with lots of product-related content, a MySQL FULLTEXT search can make it very easy to find articles or products related to the keywords used by a searcher. This search method does exactly what its name implies–it allows a full search of large text fields. A FULLTEXT search is easy to set up if you just follow these simple instructions.
Continue Reading

How to read XML file in Java

This sample code reads the XML file using DOM parser. DOM parser loads the XML file into the memory and makes an object model of it. This Object modal can be traversed to get its elements.

This code will parse the following MyXMLFile.xml file and print its elements to the console.
Continue Reading

Url Rewrite Filter

Based on the popular and very useful mod_rewrite for apache, UrlRewriteFilter is a Java Web Filter for any J2EE compliant web application server (such as Resin, Orion or Tomcat), which allows you to rewrite URLs before they get to your code. It is a very powerful tool just like Apache’s mod_rewrite.
Continue Reading

Page 34 of 35« First...102030...333435