Someone else found the solution and I post it here.
1. Add the following to the web.xml
<mime-mapping>
<extension>xlsx</extension>
...
Type: Posts; User: jkost; Keyword(s):
Someone else found the solution and I post it here.
1. Add the following to the web.xml
<mime-mapping>
<extension>xlsx</extension>
...
Thanks for your reply Jeroen. Yep, I tried all these, with no success. Note that adding the type in the anchor tag works perfectly with firefox.
Hi,
I have this simple problem. I have a sample xml file created from MS-Excel, stored somewhere in the server, and I wish, when the user clicks on the url from the browser, MS-Excel to open the...
public class MyPropertyEditor extends PropertyEditorSupport {
/**
*
* @return the code to be displayed in the checkbox
*/
public final String getAsText() {
AC ac...
Hi,
in my controller I register my custom property editor:
binder.registerCustomEditor(MyField.class, new MyPropertyEditor ());
My command object (Invitations) is like this:
1. If you read the 'Spring Recipes A Problem Solution Approach' book's Spring flow chapter, it mentions that Spring Web flow 2 needs Spring 2.5.4
2. In this tutorial's comments it is mentioned:
Yep,
the problem is with the version of spring.jar and spring-webmvc.jar. With webflow 2.0 you have to use spring 2.5.4 or later.
I used Netbeans 6.5 as my IDE, and it uses spring 2.5 libraries,...
Trying Spring Recipes' book example, I receive:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative...
I was wondering where you set you ${nextPage}, ${previousPage} in the controller...
http://wiki.netbeans.org/SpringFileUpload
Thanks for the example.
Does MyItem always have to have a boolean attribute to denote the selected fields? If this is not possible? Would a PropertyEditor do the job?
To make it clearer....
For the 1st, I found a solution, even though not the explication:
<c:url value="${requestUrl}" var="actionUrl" scope="page" ></c:url>
<form:form name="invitationDetails"...
Hi,
I 'm currently having 2 problems with a spring form:
1. I 'm using this line
<form:form name="invitationDetails" commandName="invitation" action="<c:url value='${requestUrl}'/>"...