Hello, I found a strange bug in my application and I'm not sure what the root cause could be.
There is an index.jsp file, which redirects to my action bean: <c:redirect url="/app/note" /> The Stripes Dispatcher Servlet is mapped to /app/* (from web.xml): <servlet-mapping> <servlet-name>DispatcherServlet</servlet-name> <url-pattern>/app/*</url-pattern> </servlet-mapping> So, I believe with this redirect, the action bean should be called: @UrlBinding( "/app/note/{$event}/{note.meetingId}/{note.id}" ) public class NoteActionBean extends AbstractActionBean { private Date date; @DefaultHandler public Resolution create() { // set the date to new Date() // return ForwardResolution to "note.jsp" } // getter and setter ... } The note.jsp page itself displays the form: <s:form beanclass="NoteActionBean" method="post" id="noteEntry"> <!-- ${actionBean.date} --> <s:text id="date" name="date" formatPattern="dd.MM.yyyy" /> ... But the rendered HTML is: <form id="noteEntry" action="/app/note;jsessionid=h100dcmd5xs8" method="post"> <!-- Wed Feb 22 21:20:24 UTC 2012 --> <input id="date" name="date" type="text" /> ... So, there is no date in the text field. But in the comment before it is! And when debugging, I found out that the method getDate() is not called from the text field. On the other hand, when I reload the page (without doing anything else) the field shows the date correctly. I'm a bit lost here. What am I doing wrong? Any suggestions are highly appreciated. Thank you. Moritz. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users