Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    1,309

    You can use the annotation based Controller, and...

    You can use the annotation based Controller, and handle the GET method and POST method in two class method, and then return the same view, just like this:


    @RequestMapping(method =...
  2. I dont know what you want.It seems that you use...

    I dont know what you want.It seems that you use the ServiceName parameter to decide which handler method to invoke.But there may be unlimited values of tis parameter.So I suggest that you take the...
  3. Replies
    3
    Views
    1,900

    Before your binding operation, try to print the...

    Before your binding operation, try to print the menu id of paraCommon object


    if(logger.isDebugEnabled())
    logger.debug("menu id from paraCommon:" + paraCommon.getMenuid());
  4. Replies
    1
    Views
    702

    AOP dosn't work.

    Hi,all

    I am writing an aop example using spring 2.5 and AspectJ,I declared a pointcut to cover two methods in a busniness class(methodA and methodB, methodB is
    invoked in methodA). After I...
  5. Could you post your Ajax javascript code to post...

    Could you post your Ajax javascript code to post and your controller handler method code? and which ajax technology you are using, if you are using jQuery(hehe,a faster and effective javascript...
  6. I dont know what is the reason, but I suggest...

    I dont know what is the reason, but I suggest adding an "order" property to your SimpleUrlHandlerMapping configuration. just like this:


    <property name="order" value="1">

    Set the order...
  7. Replies
    5
    Views
    32,926

    Your real jsp file is named with "doXXXXXXXX"...

    Your real jsp file is named with "doXXXXXXXX" syntax. so your jsp file real path must be "/WEB-INF/views/doXXXXXXX.jsp". You can try it like this:
    web.xml


    <servlet-mapping>
    ...
  8. Thank you. Marten Deinum.

    Thank you. Marten Deinum.
  9. Replies
    7
    Views
    3,871

    mavericks39, If you are using spring 2.5, you...

    mavericks39,

    If you are using spring 2.5, you can handle it just like Interface101. I also want to log business logic operations by aop. My opinion is building a customize annotation to declare...
  10. Thanks, mdeinum,I put the them into the same...

    Thanks,
    mdeinum,I put the them into the same application context config, then I got the excepted result.

    But I dont know why they must be declared in the same app context? Is there any...
  11. Sorry, the "

    Sorry, the "<context:component-scan base-package="com.jacky.menu"/>" has been declared in another application context configuration file, but I still can not get the excepted result.
  12. Spring AOP does not take effect.Please help me.

    Dear all,I found a problem when I'm using Spring AOP in my project.
    If Annotation is used to define my business service bean, I can not get the excepted result. The related Java codes and Spring...
Results 1 to 12 of 12