you don't have a view resolver in your beans
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property...
Type: Posts; User: EndlessWinter; Keyword(s):
you don't have a view resolver in your beans
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property...
We got it working with "services" folder in META-INF folder of the webapp.
This services folder has the only file named "org.apache.commons.logging.LogFactory"
And the contents of this file is the...
Yes, use the more recent one, from Apache. Spring bundles with the old one.
For Integer binding use Integer.class
For int binding use Integer.TYPE
We've copied .tld files to a separate archive (all in the archive root), put it in the web-inf/lib, and everything works fine, even autocompletion and code suggestions
sorry, then no suggestions :(
if you had urlHandler misconfiguration you would get 404 error after redirect, but you got nothing ...
Do you think it will hurt your app to change method="post" to method="get"?
If you insist to use POST, your saved-searches.vse should have a redirect view.
Something like:
1) POST to...
What are yor security constraints and login config in web.xml?
The best way for a small app is to use the standard (Servlet spec) request.isUserInRole method.
If the application is of a more invovled type, consider Acegi
Can you provide the details of search form element from your page? Is it done via DWR, or Spring?
Try to search "Redirect after POST" pattern in google.
Or, make your page transitions (including form submits) to be GET requests.
I think dwr framework has nothing to do with your problem, because...
jsp:
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<spring:message code="your.key"/>
spring-config.xml:
The FORM tag on your page doesn't have 'action' attribute, so it will submit to the current page's URL. And if this url already has some parameters, you can get 2 parameters with the same name
the property name is "encoding", not "enctype" while using javascript. Though, it is "enctype" if you hardcode it in html form element
Have you read the response on the first of your posts on that subject?
Have you set corrsponding enctype attribute value in the form?
enctype="multipart/form-data"
We are loading such reference data in application scoped bean. In this case all our dictionaries are loaded only once at application startup. The dictionaries are saved to application scope, and the...
you can call your second controller from the first controller directly. Inject the second controller in the first controller and call handleRequest (or some other method from the Controller...
sure, you should define you logging rules in your logging engine properties. Usually, log4j.properties
Does you webapp has log4j.jar in WEB-INF\lib?
unfortunately you can't pass arguments as "${error.arguments}". I was diggin in Spring source code once, and found, that they accept a list of comma separated arguments in message tag, but not a...
Also
<c:forEach items="{$divisions}" var="sal">
{$divisions} - what the h...? :)
1) usually drop downs contents get filled in referenceData() method
List fruits = new ArrayList();
fruits.add("Apple");
fruits.add("Orange");
request.setAttribute("fruits", fruits);
2) Your...
Maybe it is not what you wanted, but if you know the second lists's items for all possible first list selections, you can use this javascript:
http://www.mattkruse.com/javascript/dynamicoptionlist/...
Unfortunately, the best place to find info about Sitemesh is theirs forum (http://forums.opensymphony.com/forum.jspa?forumID=3)
Our current approach is described (briefly) here:...