FWIW -- I know Matt Raible's AppFuse [1] uses Spring's CharacterEncodingFilter.
The blog-post [3] is just lagniappe.
Best,
jb
[1] http://appfuse.org/display/APF/Web+Filters
[2]
http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/web/filter/CharacterEncodingFilter.html
[
I dont't get your point. In which part do you recover the values sent by
the user to the server? I think the best way to do that would be to use the
Struts' infrastructure to load the fields in a temporary object, and then
recover the object from the DB and alter the fields you want on that
object.
I remember I'm new with Struts2 ;-)
Why do I use Struts2/Tiles/openJPA?
openJPA: to work with database entities
tiles: to work with layouts
struts2: the action concept and the posibility to make mapping between
html and the object in my action.
example:
model:
class Person() {
private int id;
You should be looking at your startup logs.
I'd also recommend turning on devMode, and possibly increasing the log
level to debug--it will save you a lot of time.
Dave
On Mon, Nov 14, 2011 at 11:53 AM, Praveen Jain <
jain_praveen_mail...@yahoo.com> wrote:
> Yes I made a Simple hello application
For starters, this line:
either remove "struts-default" or change it to: extends="struts-default"
Damo
On 14 November 2011 16:53, Praveen Jain wrote:
> Yes I made a Simple hello application in Servlet and it is running fine.
> But my hello world application in struts is not running please fin
Did you not make an action class?
There's one specified in your config file.
Dave
On Mon, Nov 14, 2011 at 11:53 AM, Praveen Jain <
jain_praveen_mail...@yahoo.com> wrote:
> Yes I made a Simple hello application in Servlet and it is running fine.
> But my hello world application in struts is not
Yes I made a Simple hello application in Servlet and it is running fine.
But my hello world application in struts is not running please find the four
files which compose the application i have made 4 files index.jsp ,
Helloworld.jsp , web.xml , struts.xml
Please go through the code and help m
You could always store it in the session and read it from there.
> -Original Message-
> From: Marco Schwarz [mailto:marco.schw...@cioppino.net]
> Sent: Saturday, November 12, 2011 1:57 PM
> To: Struts Users Mailing List; jlm...@gmail.com
> Subject: Re: Beginner question
>
> You are right
Maurizio,
thanks for your suggestion. With your mail I have found the solution.
On Sun, Nov 13, 2011 at 6:31 PM, Maurizio Cucchiara
wrote:
> (struts.xml)
had not effect - it seem it was enabled already
> class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
> (sitemesh.xml)
This
Christian,
this is the filter I was talking about:
public class CharacterEncodingFilter implements Filter {
private String encoding;
public void destroy() {
}
public void doFilter(ServletRequest req, ServletResponse resp,
FilterChain chain) throws ServletException, IOException {
10 matches
Mail list logo