That did it - just a one-line fix, since we have a custom JSP tag that creates all of our <form> tags. Just encoded the action URL with c:url and everything works. Thanks!
Type: Posts; User: bmarklein; Keyword(s):
That did it - just a one-line fix, since we have a custom JSP tag that creates all of our <form> tags. Just encoded the action URL with c:url and everything works. Thanks!
Just a guess here, but if you're trying to get this to work but haven't yet, a common "gotcha" is an incorrect <web-app> tag in your web.xml. It should look like this:
<web-app version="2.4"
...
Our web application needs to support users who won't accept cookies. We're using Spring MVC w/ JSP as the view technology and all of our URL's are encoded using c:url, so GETs are covered.
My...
Replying to my own question in case anyone else is searching for a solution to this in the future.
The approach I took was to compile the JSP's and then blow away the contents of the existing work...
I recently faced the same issue, and would also like to see this supported by Spring. The (rather hacky) workaround I used was to pass a parameter to the page that was then used to trigger a...
Thanks. I actually knew about that, but it's only relevant if you're mapping JSP files directly to servlets. I'm just using JSP's as a view technology within Spring MVC.
Does anyone know of a...
I don't have that book. Do you think you could give me a brief summary? Thanks.
Thought I'd bump this up to see if I could get a response.
Hard to believe no one else has had to make this work with Spring MVC. Anyone from the Spring team have any thoughts?
The issue isn't how to create the web.xml servlet mappings, it's that I want to do this without individual servlet mappings. I'd like to continue to use Spring MVC in the "standard" way, with all...
Thanks for the reply. I don't think this would work with Spring MVC. I'd like to continue using the Spring DispatcherServlet.
Anyone have a good strategy for JSP precompilation? I'm using JSP with Spring MVC, deployed in Tomcat 5.0.28.
Ideally I'd like to precompile the JSP's when I create my WAR and have them available...
Is it possible to use MimeMessageHelper to construct a message with the following MIME structure:
multipart/alternative
text/plain
text/html
And this one:
Turns out it was a classloader issue. mail.jar was in the Tomcat shared/lib directory, and activation.jar was not. I removed the shared mail.jar and everything works fine now.
I'm trying to send mail from a Spring web application running under Tomcat 5.0. This works fine on my own machine (using the same war file and the same version of Tomcat) but is getting a...