Hi everyone,
I am doing a new web project, and still using the old property editor in spring 2.5. Recently I met a strange problem: a form Select tag has multiple values selected while it is not...
Type: Posts; User: markwen; Keyword(s):
Hi everyone,
I am doing a new web project, and still using the old property editor in spring 2.5. Recently I met a strange problem: a form Select tag has multiple values selected while it is not...
It turns out to be a "class loading hell" problem. After I marked some dependencies in the web module as provided, the issue is gone.
Cannot believe that class loading is such a headache.
...
It turns out to be a "class loading hell" problem. After I marked some dependencies in the web module as provided, the issue is gone.
Cannot believe that class loading is such a headache.
...
Please see the second part of my post:
http://forum.springsource.org/showthread.php?p=323155
I am still wondering if anyone could help me out.
Thanks.
Having read the post below:
http://forum.springsource.org/showthread.php?t=50364
I've added the file beanRefContext.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans...
Hi,
Hi everyone,
I am asking help for a simple Maven + Spring 3 + JEE project, which has three modules: ear, ejb and web. I am trying to use JPA and Spring's AbstractStatelessSessionBean class....
Hi everyone,
I am asking help for a simple Maven + Spring 3 + JEE project, which has three modules: ear, ejb and web. I am trying to use JPA and Spring's AbstractStatelessSessionBean class. The...
I just marked the spring dependencies in the war pom.xml as provided, and it seems the problem is solved.
I really appreciate, guys! :)
Mark
Hi Marten,
Thanks for the quick response.
Actually, I am using Maven to make a multi-module JEE project. There is a copy of Spring jars in the ear file, and another copy in the war file. In...
Hi everyone,
I am asking help for deploying my spring application in JBoss 5.1.
I have a MailEngine class like the one below (if you feel familiar, yes - it's from Appfuse):
public class...
I met the same problem as Kantorn, and wonder how he solved his problem.
What I did was using a proxy server to load test a spring-mvc application, and I included *.html, *.jsp, excluded...
Hi, cablepuff
Your points make sense. However, I did use AnonymousProcessingFilter to achieve my goal and it works fine. But I will listen to your opinions to adjust the codes.
Thanks for the...
I realized that maybe I can try AnonymousProcessingFilter.
Hi,
I want to partially protect some links in a website, and used the following configuration:
web.xml:
<filter>
<filter-name>securityFilter</filter-name>
...
Hi,
One thing is sure: according to the Spring document, use GET when entering the form, use POST when submitting the form. I mistakenly used POST when entering the form, so Spring took it as a...
I am trying to use Spring to send an email and attach a computer generated Excel file in the mail. Is there any way to save the ExcelView on the server side? There is a thread on this forum to...
Hi, Andrew
Thanks so much for your great idea.
I totally understand your FreeMarker code, but I am using JSTL, not sure this way will work for me before I try. Anyway, it's brilliant! I never...
Hi, Andrew
As I said in the first post, I am using Hibernate, and I tried the customized property editor before starting this thread, which didn't work.
The reason is, according to the business...
Hi, orusso
As I said, I was trying to edit those fields, like the follows:
<spring:bind path="sailsDetails.deliveryFrom.id">
<input name="xxxxx" value="xxxxx>
</spring:bind>
(Actually I...
Hi, Andrew. Nice to meet you. :)
Sorry, I thought people will understand my problem.
For example, I have a sale details object, which has a delivery location property and pickup location...
Hi, Everybody
I think a lot of people have met this problem.
I searched in this forum for suggestions, but none of them works. Someone proposed using customized property editor, but if the...
Thanks, yatesco.
I looked at other sample projects, and they employed the same way.
Buy my code didn't work, so I switched to Spring MVC file uploading - it worked perfectly, for uploading a...
In a html form there is a textarea field:
<form name="uploadForm" method="post" action="readItems.html">
<textarea name="txtItems" cols="120" rows="50"></textarea>
<br><br>
<input...
Seems I solved the problem by adding another protected method in the EditBuyerController:
protected ModelAndView handleInvalidSubmit(HttpServletRequest request, HttpServletResponse response)...
one more question: could anyone tell me under what circumstance could a SimpleFormController doesn't show the formView? It's really weird.