Hello,
Is it possible to externalize the RequestMapping in a property file for annotated controllers?
I think I got the answer in...
Type: Posts; User: KPrasadKhan; Keyword(s):
Hello,
Is it possible to externalize the RequestMapping in a property file for annotated controllers?
I think I got the answer in...
Hello,
You may want to try MultiActionControllers. They are not deprecated and provide a good alternative.
Regards,
Prasad Khandekar
It will be very nice if spring documentation also includes the full xml configuration for all spring modules. Namespace is really a nice thing but figuring out which beans gets defined automatically...
Hello,
You can define all your common beans in a file named 'applicationContext.xml'.
Regards,
Prasad P. Khandekar
Hi,
How about returning 'forward:/original/url" from the second method.
Regards,
Prasad P. Khandekar
Hi,
Ideally the database commits should happen from within your business layer and the web layer. You may want to restructure your code such that controller will delegate this task to a business...
Hi,
Portlets require a portal containers and a portal application. Spring also provides necessary infrastructure to build the portlets. But I don't think you will be able to run a portlet within...
Hi,
You may want to have a look at JQueryUI project. It provides a tab control. The mechanism is very simple. Include jquery-1.7.2.js, include jquery-ui-1.8.16.css. And use HTML code similar to...
Hello Aldray,
You may want to take a look at Spring STS. It has a graphical viewer to inspect the dependencies between various beans.
Regards,
Prasad Khandekar
Hello,
Spring IDE is just a plugin for Eclipse. Perhaps you can visit this page to learn more about it.
Regards,
Prasad
Hello,
You can use following code snippet on your page to display the formatted number. I am assuming that the name of your command bean is model and the name of the method for amount value is...
Hello,
After going through little documentation I found that this scope is somewhat similar to viewstate implementation in .NET platform. One approach to your problem could be to have two...
Hello,
May be you can extend the same solution, but instead of specifying names in the xml file you define these names in a property file and this property file is refrenced in ...
Hello,
Generally the images are located in a folder outside of WEB-INF folder and in JSP you refer to these with a path relative to the application context. (e.g. images/foo.png). After...
Hello,
The default implementation in SimpleFormController always returns false. It is intended to be overridden in the derived class based on certain logic. In any case you will have to come...
Hello,
Have you tried using Spring IDE. May be it has some JSP editor extension which will allow you navigate to appropriate controller.
Regards,
Prasad
Hello,
It appears to me that the ServletContextAdapter is not able to get a handle to underlying ServletContext. Did you tried your test by commenting out the tilesConfigurer entry in the xml...
Hello,
I don't think this support is available out of box in ReloadableResourceBundleMessageSource. But you can always extend this class so that it will look at all matching resources in class...
Hello,
I am of the opnion that the Request Scope should actually suffice your needs, be it a ajax call or a reqular post call. However if you are very certain that this scope is a must then...
Hello,
You can use apache rome project to read/write the rss feeds from within your controller.
Regards,
Prasad
Hello,
Just configure the ReloadableResourceBundleMessageSource in applicationContext.xml file. Set the base names for all the error properties files. Remember that the base name of the...
Hello,
I do this in following manner.
<spring:bind path="progressionProcent">
<c:choose>
<c:when test="${status.error}">
<input type="text"...
Hello,
The best way for portlets is to write a controller which extends AbstractFormController available in org.springframework.web.portlet.mvc package. By doing so you will be able to get...
Hello,
You can write a custom View class by extending the org.springframework.web.servlet.view.AbstractView class to achieve this. Please have a look at AbstractPdfView class for more details....
Hello,
Are you using some application server specific code? I really don't see a need whay you should really required to do so. I develop application using tomcat I it does get's deployed on...