Search:

Type: Posts; User: A Kumar; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thanks pfurbacher!!!

    Thanks pfurbacher!!!
  2. JdbcTemplate .setQueryTimeout .seconds or milliseconds

    Hi ,



    "http://static.springsource.org/autorepo/docs/spring/3.2.0.M1/api/org/springframework/jdbc/core/JdbcTemplate.html#setQueryTimeout(int)"

    Is this seconds or milliseconds?

    Regards
  3. public MyStoredProcedure(DataSource dataSource,...

    public MyStoredProcedure(DataSource dataSource, String storedProc) {

    // Set the DataSource and the stored procedure name to be called.
    super(dataSource, storedProc);
    ...
  4. StoredProcedure - How to Set Timeout for StoredProcedure call

    Hi,

    I have a class that extends StoredProcedure class of Spring API..for calling a Stored proc

    How can i set a timeout for my stored proc call

    setQueryTimeout in constructor is not...
  5. Replies
    0
    Views
    843

    Asynchronous call - Struts + DAO

    Hi,

    I have a webapp that i need to extend to support a Asynch call to DB..

    Is there any feature available in the Spring framework that ican extend,..for this..

    Regards
  6. Replies
    2
    Views
    893

    Thanks Kapil, But the class where i would need...

    Thanks Kapil,

    But the class where i would need the context doesnt extend any of these claases onor does it have any means of getting Servlet context directy..

    So i figured it out by...
  7. Replies
    2
    Views
    893

    Getting the WebapplicationContext

    Hi,

    I have a web application ...(struts+spring dao)

    In this action class i extend dispatchaction support and get the web application context from where i get the DAO bean..(ctx.getBean(""))
    ...
  8. Replies
    9
    Views
    4,781

    (Ljava/lang/Object;Ljava/lang/String;JLjava/...

    <init>(Ljava/lang/Object;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V not found]: java.lang.NoSuchMethodError:...
  9. Replies
    9
    Views
    4,781

    Exceptions in web application

    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java(Compiled Code))
    at...
  10. SimpleMappingExceptionResolver for exception related page

    Hi,

    Is a bean of class SimpleMappingExceptionResolver enough for defining exception pages similiar to what we have in struts-config.xml...

    Regards
  11. Will this work be an affective replacement to the...

    Will this work be an affective replacement to the file...usage....

    and can i do away wholly with the files....
  12. Yes...the problem is with the...

    Yes...the problem is with the synchronization...of the files..

    and in a way it kind of acts like a cache.....

    its a WAS 5.1 cluster nodes
  13. Writing data from file in a clustered DAO..environment

    Hi,

    This is not a specific spring problem..

    I have a DAO class that has to store data in a file to a database..

    But the problem is i am not able to have the updated data ...since the appln...
  14. Replies
    16
    Views
    2,889

    Hi, The classloader policy is parent_last... ...

    Hi,

    The classloader policy is parent_last...

    Regards
  15. Replies
    16
    Views
    2,889

    classes are local to each ...war....but they have...

    classes are local to each ...war....but they have the same names
    and the bean ids are same in the config files across the wars



    I will have a look at this...
  16. Replies
    16
    Views
    2,889

    I had put the System.out.pritnln statements in...

    I had put the System.out.pritnln statements in handleRequest method of both the controller beans...

    in http version.... " In HTTP BEAN instance "
    in https version.... " In HTTPS BEAN instance...
  17. Replies
    16
    Views
    2,889

    I agree that there should be 2 objects of same...

    I agree that there should be 2 objects of same type in each within its own app class loader

    But the problem i face is....

    When i hit the http

    it goes through the NonSecureMapping bean and...
  18. Replies
    16
    Views
    2,889

    The web.xml in both the cases is same ...

    The web.xml in both the cases is same

    <web-app>

    <servlet>
    <servlet-name>ProdServlet</servlet-name>
    <servlet-class>org.....DispatcherServlet</servlet-class>
    </servlet>...
  19. Replies
    16
    Views
    2,889

    Initially i had only the https version..at that...

    Initially i had only the https version..at that time...it was hitting through the https controller bean.....

    and later the http version came into the picture....but under a diff context...
  20. Hi, even though the codebase is the same...the...

    Hi,
    even though the codebase is the same...the apps are deployed under different context

    http://www.yourdomain.com/someapp
    https://www.yourdomain.com/someapphttps


    Regards
  21. Replies
    16
    Views
    2,889

    i cant share the code...but i will generally...

    i cant share the code...but i will generally explain the structure

    Dates.ear
    sample.war (for http)
    sample_https.war (for https)

    Spring config file with the beans...
  22. nope ..the ear starts fine and both the wars are...

    nope ..the ear starts fine and both the wars are deployed successfully......

    the spring config file & web.xml is the same in both the cases.......

    only that when i hit the https:..it hits the...
  23. Replies
    16
    Views
    2,889

    Yes true enough....each should hv diff...

    Yes true enough....each should hv diff instances....

    But my spring jars are at ear level..and this ear has 2 wars...

    in each war...the name of the beans....in spring file...and web.xml is also...
  24. Replies
    16
    Views
    2,889

    Same bean id in different wars in same JVM

    Hi,

    If there are 2 diff wars in a single server and the bean (singleton) ids are same across the wars ...what happens during the access of the bean??

    Which bean would be invoked?????

    Regards
  25. war for http and https - only http bean gets hit

    I have a web appln with spring beans....

    I have 2 wars of the same code piece....one is configured for http and another https

    The app gets deployed succesffully the bean names are same...i...
Results 1 to 25 of 97
Page 1 of 4 1 2 3 4