Search:

Type: Posts; User: KPrasadKhan; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    162

    Externalize RequestMapping

    Hello,

    Is it possible to externalize the RequestMapping in a property file for annotated controllers?

    I think I got the answer in...
  2. Replies
    7
    Views
    3,038

    RE:Spring 3 MVC without annotation

    Hello,

    You may want to try MultiActionControllers. They are not deprecated and provide a good alternative.

    Regards,
    Prasad Khandekar
  3. Replies
    1
    Views
    226

    Full XML Configuration

    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...
  4. Hello, You can define all your common beans in...

    Hello,

    You can define all your common beans in a file named 'applicationContext.xml'.

    Regards,
    Prasad P. Khandekar
  5. Hi, How about returning...

    Hi,

    How about returning 'forward:/original/url" from the second method.

    Regards,
    Prasad P. Khandekar
  6. Hi, Ideally the database commits should happen...

    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...
  7. Hi, Portlets require a portal containers and a...

    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...
  8. Replies
    2
    Views
    229

    Hi, You may want to have a look at JQueryUI...

    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...
  9. Hello Aldray, You may want to take a look at...

    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
  10. Hello, Spring IDE is just a plugin for...

    Hello,

    Spring IDE is just a plugin for Eclipse. Perhaps you can visit this page to learn more about it.

    Regards,
    Prasad
  11. Replies
    3
    Views
    1,337

    Hello, You can use following code snippet on...

    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...
  12. Replies
    5
    Views
    4,975

    Hello, After going through little...

    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...
  13. Hello, May be you can extend the same...

    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 ...
  14. Replies
    6
    Views
    3,042

    Hello, Generally the images are located in a...

    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...
  15. Replies
    1
    Views
    748

    Hello, The default implementation in...

    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...
  16. Hello, Have you tried using Spring IDE. May...

    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
  17. Replies
    2
    Views
    1,659

    Hello, It appears to me that the...

    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...
  18. Hello, I don't think this support is...

    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...
  19. Replies
    5
    Views
    4,975

    Hello, I am of the opnion that the Request...

    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...
  20. Replies
    1
    Views
    796

    Hello, You can use apache rome project to...

    Hello,

    You can use apache rome project to read/write the rss feeds from within your controller.

    Regards,
    Prasad
  21. Replies
    3
    Views
    1,091

    Hello, Just configure the...

    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...
  22. Hello, I do this in following manner. ...

    Hello,

    I do this in following manner.


    <spring:bind path="progressionProcent">
    <c:choose>
    <c:when test="${status.error}">
    <input type="text"...
  23. Replies
    2
    Views
    626

    Hello, The best way for portlets is to...

    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...
  24. Replies
    2
    Views
    2,445

    Hello, You can write a custom View class...

    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....
  25. Hello, Are you using some application...

    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...
Results 1 to 25 of 43
Page 1 of 2 1 2