Search:

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

Search: Search took 0.02 seconds.

  1. after-returning AOP advice is getting called twice

    I've found the Spring 3.0.5 AfterReturningAdviceInterceptor source code here
    Can you put a break point in the invoke method:


    public Object invoke(MethodInvocation mi) throws Throwable {
    ...
  2. Replies
    2
    Views
    519

    need help in AOP example

    I'm wondering why this forum is not active enough!!
    Is Spring dead or are they looking for money...

    Anyway, I downloaded the 'Spring in action 3' source code and I've noticed big differences with...
  3. can't intercept beans annotated methods

    Hi,

    Using AOP, I'm trying to get an annotation set on a bean method during its invocation.

    Here my example:
    XML Config

    <bean id="customerService"...
  4. Replies
    5
    Views
    1,501

    add an commandName to your form as follows and...

    add an commandName to your form as follows and tell us if it works plz:


    <form:form method="post" enctype="multipart/form-data"> commandName="command"
    and in your importController add ...
  5. Replies
    5
    Views
    725

    hi again, first i'm not from the spring staff....

    hi again,

    first i'm not from the spring staff. sorry!

    what you would like to do is something like this in your web.xml:



    <listener>
    <listener-class>
  6. Replies
    5
    Views
    1,501

    Hello, You forgost to specify a command class...

    Hello,

    You forgost to specify a command class for your upload class controller.

    See documentation here => section 13.8.3. Handling a file upload in a form.

    Your import controller shoudl have...
  7. could you post your jsp page (form page) please?...

    could you post your jsp page (form page) please?

    it looks like as if you have used a wrong url for your action.

    try this:
    <form action="application/LoginView.do" ...>
  8. Replies
    5
    Views
    894

    Hello, There is no trick at all. When...

    Hello,

    There is no trick at all.
    When validating a form, spring web framework (and probably other web frameworks) forwards (redisplay the same page on the server side) to the original page (form...
  9. Replies
    5
    Views
    725

    look at maven-definitive-guide.pdf you will...

    look at maven-definitive-guide.pdf

    you will find there a very good example that uses spring framework
  10. Replies
    5
    Views
    725

    Hi, I highly recommend you Maven ...

    Hi,

    I highly recommend you Maven as projects manager.

    It's somehow difficult to setup first, but once it's installed and working, you will have nothing to worry about.

    As far as your xml...
  11. Hi, In your webapp_name-servlet.xml try this...

    Hi,

    In your webapp_name-servlet.xml try this instead:


    <bean id="jspViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="viewClass"...
  12. Replies
    0
    Views
    603

    Multiple forms Controller

    Hi all,

    Any comment on this

    (http://jira.springframework.org/browse/SPR-5534) ?
Results 1 to 12 of 12