Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. How to config OpenSessionInViewInterceptor using Spring AOP

    Hi All,

    I've searched this forum and haven't found any topics regarding this issue. So I post here a new thread and hope someone with that experience could help me.

    I am currently working on a...
  2. Anybody knows how to config OpenSessionInViewInterceptor in AOP?

    Hi All,

    I've searched this forum and haven't found any topics regarding this issue. So I post here a new thread and hope someone with that experience could help me.

    I am currently working on a...
  3. Replies
    0
    Views
    571

    Marten Deinum Please Come in ,thanks

    Hi Marten,

    I have posted a thread b4 regarding how to obtain WebApplicationContext in JSP pages. I found a thread which someone posted previously has the similar issue with mine, and You were part...
  4. yeah, apparently only you and me are discussing...

    yeah, apparently only you and me are discussing this issue. Hope anybody else could give us better approach:)
  5. Yes, I partially agree with you on some points ...

    Yes, I partially agree with you on some points

    but, as you said the java code on jsp page isn't reuseable, this is not entirely true in some cases. Eg, You have a index page which has a column...
  6. BTW, Why did u say this is a dirty and quick...

    BTW, Why did u say this is a dirty and quick way????? Is there any drawback of using this approach?? or is there any better ways ????
  7. I am simply saying that Struts is not a good...

    I am simply saying that Struts is not a good option at this case.

    As you suggested to let index.do forward to another page say index2.jsp

    Then User enter http://youdomain.com/
    firstly, they...
  8. I wouldn't even consider using redirect in the...

    I wouldn't even consider using redirect in the first place,

    1 redirect will get client side to request twice

    2. reduce the chance of your site being collected by search engine
  9. No, it doesn't. It redirect to index.do, then...

    No, it doesn't.

    It redirect to index.do, then index.do get data from service layer and will forward it back to index.jsp, and then get back to index.do again, will be an infinite loop
  10. Ok, here is the situation, I am going to create a...

    Ok, here is the situation, I am going to create a JSP called index.jsp. it populates news, members details from DB on to this JSP view. I know JSP's role is only to provide presentation to end users...
  11. well, great, I will show you exactly where Struts...

    well, great, I will show you exactly where Struts turns to be sucks.

    but firstly, lets not get too far off the topic, would you plz show me in detail

    of how to get WebApplicationContext???...
  12. anyone knows????thanks

    anyone knows????thanks
  13. How to obtain the applicationContext in JSP file????

    Hi,

    I use spring as the container of my project. Now I come across a problem which is that I can not find a proper way of accuqiring the applicationContext.xml in the JSP file. i tried to use...
  14. Just got another concern, I want to make sure...

    Just got another concern, I want to make sure that spring takes care of everything(commit,close,etc.). Is there any mechanism on how to monitor the
    database connection pool/hibernate connection...
  15. Thanks Marten It works now!!!!!!!! I guess by...

    Thanks Marten

    It works now!!!!!!!! I guess by using your appoarch, I the transaction can be managed only in appcontext.xml. no need to do any configuration in the service class:)
  16. ...

    <!-- Spring Transaction Management Layer -->

    <!-- generalTxManager is manaing the tx on Dao class -->
    <bean id="generalTxManager"...
  17. I've setup transaction manager in...

    I've setup transaction manager in applicationContext.xml, but I just don't know how to "add" it to the service layer??

    Can you tell me ?
  18. thanks, I've read through it , but there is a lot...

    thanks, I've read through it , but there is a lot of contents which I am not sure that which part is specifically useful to my situation :(
  19. Thanks, but would you give me a bit more info on...

    Thanks, but would you give me a bit more info on how to make the layer transactional?????

    I think that's the problem is, but how to make it transactional???
  20. Hi Marten, I encounter a exception when I did...

    Hi Marten,
    I encounter a exception when I did exactly the blog suggestted, can you please tell me why it is happening???I spent a lot of time on debugging the error, but nothing useful comes up.

    ...
  21. Hi Marten, After I read through the blog you...

    Hi Marten,

    After I read through the blog you suggested, I am now pretty clear on choosing between HibernateTemplate and SessionFactory

    but I just want you to confirm one more thing for me.

    ...
  22. thanks but the blog you posted...

    thanks

    but the blog you posted http://blog.springsource.com/main/
    where I couldn't find any things that related to this matter??? so would you point me out more specific link or page which...
  23. Hi Marten, Just wondering it is possible to...

    Hi Marten,

    Just wondering it is possible to inject HibernateTemplate directly into Dao class.

    That's solve the problem.

    because if there is a reference variable which could refer to...
  24. Hi Marten, Just wondering it is possible to...

    Hi Marten,

    Just wondering it is possible to inject HibernateTemplate directly into Dao class.

    That's solve the problem.

    because if there is a reference variable which could refer to...
  25. yeah, i've read it Any suggestions of how to...

    yeah, i've read it

    Any suggestions of how to do it through HibernateCallback???
    or any hints?
Results 1 to 25 of 30
Page 1 of 2 1 2