Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. try to use this

    try to use this


    <c:forEach var="product" varStatus="counter" items="${wrapper.order.items}" >
    <s:bind path="product[${counter.index}].quantity">
    </c:forEach>
  2. Replies
    1
    Views
    316

    Have you try to use spring tag . ...

    Have you try to use spring tag <form:select>. For more information, see 16.2.4.9 The select tag.

    Hope this will help
  3. Replies
    2
    Views
    272

    1. To validate the form, create a class to...

    1. To validate the form, create a class to implement org.springframework.validation.Validator.
    2. To forward to another jsp, you call something like this :"return "forward:whateverjsp" or "return...
  4. Replies
    1
    Views
    714

    Resovled....After research, it seems that the...

    Resovled....After research, it seems that the SpringFramework viewer doesn't resolve "application/zip" content type. The code above will work if it is pdf or word document. A workaround is to...
  5. Replies
    1
    Views
    714

    Download Zip file in Spring Servlet

    hi, all
    When I click a link to download a zip file, I get the following error message "Internet Explorer can not download download.htm from localhost....". However, it is working on Firefox.

    I...
  6. You are missing...

    You are missing "org.springframework.web-3.0.5.RELEASE.jar". I don't know what version of spring that you use. In my development, we have Spring 3.0.5. Hope this will help
  7. The WAS probably uses out-date jar. You probably...

    The WAS probably uses out-date jar. You probably need to configure to load application classpath first before loading the WAS classpath. Hope this will help
  8. Can you post your code along with your...

    Can you post your code along with your configuration?
  9. try this

    try this

    <script type="text/javascript" src="resources/jquery-1.7.min.js" />"></script>
  10. Replies
    2
    Views
    857

    That is a good question. However, you forget...

    That is a good question. However, you forget that every jsp will be converted to java classes. Also, most of compilers will look into a file with exension ".jsp". So, the bottom lines is don't put...
  11. Implement Ajax in your jsp. Inside Ajax, you can...

    Implement Ajax in your jsp. Inside Ajax, you can call back the controller to reset the flag.

    Hope this will help you.
  12. It seems that Spring Security is the best way to...

    It seems that Spring Security is the best way to do. Once you implement it, you can use spring security tag

    <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
  13. If you just want to pass one or two values, I...

    If you just want to pass one or two values, I recommend to use regular html tag like <input type="text">. It is fast and less complicated.

    If it is not what you wants, you can use
    ...
  14. Jason, I believe your json format is not...

    Jason,

    I believe your json format is not correct. Try to use this


    return "\"your infor\"";
  15. Hi, piffta. I have a problem to render pdf...

    Hi, piffta.


    I have a problem to render pdf in IE. It seemed that my logic almost the same as yours, except content type (application/pdf). Here is a link of my original post...
  16. Replies
    2
    Views
    730

    Thank for your quick reply... The IE browser...

    Thank for your quick reply...

    The IE browser still doesn't render pdf even I use pdf extension. I debug the application and it break at the right method but still doesn't work.

    However, when...
  17. Replies
    2
    Views
    730

    render Pdf in IE 7

    For some reasons, the application can render pdf in firefox but not in IE 7. I hope someone can tell me what I did wrong.

    my url:...
  18. Replies
    1
    Views
    554

    I don't think you can modify the generated html...

    I don't think you can modify the generated html source code for <form:errors>. However, you can try two things.
    1->Use jquery to change once the document is load. Modify document.ready.
    2->don't...
  19. Replies
    0
    Views
    1,489

    JUnit Test for Spring MVC Controller

    Hi, all

    How do I make my mock request going through a custom 'HandlerInterceptor' before my controller process it?
    Below is my Junit code.


    AnnotationMethodHandlerAdapter adapter = new...
  20. how about using spring.bind("*) to bind all the...

    how about using spring.bind("*) to bind all the errors. Here is example:


    <spring:bind path="*">
    <c:if test="${status.error}">
    <div class="errortext">
    Error(s):
    ...
  21. Replies
    2
    Views
    439

    if (result.hasErrors()) { return...

    if (result.hasErrors()) {
    return "PublishApplication";
    }
    return "PublishApplication";
    }


    Can you double check to make sure the method HasError always returns false? I suggest put something...
  22. I don't know if this may help you. Have you...

    I don't know if this may help you. Have you looked into JSON? Json can convert object into String and send to Applet class. In your applet class, you may convert String back to Object.

    I hope...
  23. Many things could happen: 1. Does your...

    Many things could happen:
    1. Does your controller map correctly a request when the form render? If not, check your xml or controller annotation.
    2.
    url: '<c:url...
  24. you probably need to perform String to Date...

    you probably need to perform String to Date Conversion. Spring already has build-in conversion. Take a look at CustomDateEditor.
  25. Unable to render page after using "redirect: "

    I have a form that users need to fill out. After they are done, the controller will redirect users to a confirmation page. However, when the controller return "redirect: confirm", I get 404 not...
Results 1 to 25 of 60
Page 1 of 3 1 2 3