Thanks very much. That fixed it!
Type: Posts; User: general_pattonm; Keyword(s):
Thanks very much. That fixed it!
Hello,
I am trying to get DispatcherServlet to direct an http request to a particular object. The following is the relevant parts of my setup:
web.xml:
...
<!--
Servlet that...
Mr. Krueger,
Thank you again for your helpful reply. With your pointers and some hacking around, I have been able to get my program working again with Acegi.
The solution ended up looking as...
Mr. Krueger,
Thanks for your reply. I tried extending AbstractProcessingFilter instead, and it is not working. The filter never seems to get executed, even though it is in the web.xml filter's...
The purpose of the subclass was to retrieve login information from an external security system. Users will log in to our website using Plone/Zope (our content manager). Then, they could possibly...
Hi,
I have been using Acegi for a while and recently upgraded to 0.8.2 so I can run Spring 1.2 RC2 so I can run Hibernate 3.0. :? I developed a class that inherits from...
Rob,
You're a life-saver! Thanks for your answers...they cleared up both of my questions, along with my headache!
I had to add the -Djava.awt.headless=true to the startup script for Tomcat,...
In addition to my question above, I have been experiencing further problems getting JasperReports working. After changing the line you specified, I now get the following exception when I am using a...
Rob,
Thanks for your prompt response. The fix you suggested worked. However, it doesn't make sense to me why my /*.pdf would not work. To quote from the PropertiesMethodNameResolver javadoc...
Hello,
I am trying to get the structure in place to use JasperReports for my web app using spring, but I can't seem to get the URL's to call the right handler methods. The following is my setup:
...
I also encountered this problem when upgrading to Spring 1.1.5. (See my post here: http://forum.springframework.org/viewtopic.php?t=3945&highlight= )
How did you go about fixing the problem?
Instead of using the normal Acegi class for adding user's auth data to a remote request (AuthenticationSimpleHttpInvokerRequestExecutor), I created a new class based on it:
/**
* Adds BASIC...
I have a web application built using velocity templates and spring. When there is a problem with one of the fields, I add the error:
errors.rejectValue("selEventId", "", "Nothing entered...
Ben,
Thanks for the swift reply. The method call that is problematic is in fact running in another thread. My client app is a standard GUI that is always spawning threads. How do I make it so...
I have a rich client that accesses an Acegi-protected business logic module that is running in Tomcat.
The remote calls work fine most of the time, but sometimes I get the following: (from the...
I have a simple form with two buttons that submit the form. (using <input type="submit" value="button text"/>) Although the form handling should be the same regardless, I want to be able to respond...
Ah yes that is possible to use the "file:" prefix, but that forces the path to the file in question to be *hard-wired*. Thus the install directory for my app would be immutable because my spring...
I tried the classpath* idea, to no avail. Keep in mind that the resource is a user-modifiable configuration file that needs to be stored *outside* the jar file.
So assuming the config file is...
Hi,
I have developed a native application (in SWT) using spring that needs to access a properties file, as follows:
<bean id="placeholderConfig" ...
Thanks, Ben. After downloading the 0.7.0 code from CVS and compiling it, I was able to get it to work with HttpInvoker! Thanks for all of your help throughout.
Ben,
Thanks for your post with many solid reasons for the 3-tier protocol. At this point, I am well convinced that it is the way we need to go for our rich client.
I should have clarified that the setup is intended to run on a local network, so the native clients would have the same speed of access to the DB as the web server would.
Thanks, Adepue, for...
I am working on refactoring my project to use Spring. Currently I have the following standard setup:
Remote Native Client JBoss
| ...
I'm a n00b...thanks to your surprise about the MethodSecurityInterceptor, I realized that the crash is taking place NOT with the RemoteAuthenticationManager, but rather with the SampleManager (the...
Ben,
Thanks again for your help. I switched my filters to the right order, but still no success. I also am unsure as to whether I am setting the BASIC authentication headers on the HttpInvokter...