Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Hey, Since you map dispatcher to the root path...

    Hey,

    Since you map dispatcher to the root path "/", then all requests are sending to spring dispatcher, and thus you get error for non dynamic content(spring) like js and images. You only want...
  2. Replies
    3
    Views
    851

    Have you set validator/validators on your form...

    Have you set validator/validators on your form controller? Post that xml config.

    One way to verify is turn on the logging for spring! It will tell you what's loaded and what's going on as you run...
  3. Replies
    7
    Views
    1,544

    Hum... i see what you trying to do now. Well,...

    Hum... i see what you trying to do now.

    Well, I don't think you can have single form submit and return output to two different windows. They would have to be two distinct form submission. Like...
  4. Replies
    7
    Views
    1,544

    On your second button, you don't want type to be...

    On your second button, you don't want type to be "submit". Try "button" instead.
  5. Replies
    3
    Views
    8,825

    Please post your xml mapping config of your...

    Please post your xml mapping config of your controller handler and the servlet dispatcher mapping in your web.xml
  6. Hi icetbr, It's likely that you don't have...

    Hi icetbr,

    It's likely that you don't have sitemesh config right. Double check the sitemesh.xml and it's decorator.xml file as they allow you to specify path to your view files. Also the way you...
  7. Replies
    1
    Views
    821

    Hi rachel, query/select usually doesn't lock db...

    Hi rachel,
    query/select usually doesn't lock db table.

    if you read the SprignAPI for JdbcTemplate, you will see the signature of queryForList return a java.util.List object. Each entry is a...
  8. Replies
    3
    Views
    8,825

    Not sure what you mean here. If you are not...

    Not sure what you mean here.

    If you are not sure how to retreive param, then try calling request.getParameter("name") inside handleRequestInternal(). "request" is just from HttpServletRequest, so...
  9. Replies
    1
    Views
    732

    Hi Macdoug1, Returing null with...

    Hi Macdoug1,

    Returing null with handleRequestInternal() means you going to build the result on your own. Try something like this inside your method:


    response.setContentType("text/xml");...
  10. Hi jjunos, There recommended way is to use...

    Hi jjunos,

    There recommended way is to use servletContext. In Spring you can easily get this by implementing org.springframework.web.context.ServletContextAware interface with your bean class, and...
  11. Replies
    1
    Views
    950

    Hello mark*, You certainly can use an...

    Hello mark*,
    You certainly can use an innerclass, or any publically accessible class that you can instanciate object with. If you do, in your xml, you would specify the command class with your inner...
  12. Replies
    4
    Views
    1,972

    That seems like Sun's private library. I never...

    That seems like Sun's private library. I never used before. I usually don't use the jdk package that starting with com.sun unless we really have no choice.

    If the embeded server works for you, why...
  13. Replies
    7
    Views
    1,544

    If you need a button to display a popup windows,...

    If you need a button to display a popup windows, then yes, you just use JavaScript. Not related to spring here. Google tells me there is a sample here:...
  14. Hello pussmun, You can take a look my project:...

    Hello pussmun,

    You can take a look my project: javasupport, there is a toolbox you can run to generate a template webapp that support JPA (altough I have them commented out as default).

    After...
  15. There are couple way you can do this: 1) Chain...

    There are couple way you can do this:
    1) Chain the two controller together with a custom "wrapper" controller. So when controllerA completes with form and get the data, call the controllerB back to...
  16. Replies
    4
    Views
    1,972

    The mimimal requirement for the latest Spring is...

    The mimimal requirement for the latest Spring is only jdk1.5, so it should run on jdk1.6 without problem.

    If you have a http server that is built only for jdk6, then you must be running a pretty...
  17. Replies
    7
    Views
    1,544

    Be more specific on your question. Do you not...

    Be more specific on your question. Do you not konw where to start or you have particular problem with spring?
  18. Thanks for the sample of workaround al0! ...

    Thanks for the sample of workaround al0!

    compile.bat is missing the PropertySetter.java, when I added, it then works fine.
  19. Hello Sekhar, Try override initBinder method...

    Hello Sekhar,

    Try override initBinder method in your controller, for example like this:


    @override
    protected void initBinder(HttpServletRequest request,
    ...
  20. Replies
    3
    Views
    1,603

    Hello Shaiju, Like I said earlier, you want to...

    Hello Shaiju,
    Like I said earlier, you want to make ControllerA to process your form with GET url parameters as well as POST. Since you don't want save data through session, then your only option is...
  21. Hello domurtag, Those placeholder are filled...

    Hello domurtag,

    Those placeholder are filled when you create Error instances using one of the reject methods that has "errorArgs"

    Eg see...
  22. Replies
    1
    Views
    1,297

    ContextLoaderListener is an implementation of...

    ContextLoaderListener is an implementation of javax.servlet.ServletContextListener, which listen for standard Java Servlet container(server) start and stop of the webapp you are writing. The Spring...
  23. Replies
    3
    Views
    1,603

    Hello Shaiju, So you have 3 pages A=formView,...

    Hello Shaiju,

    So you have 3 pages A=formView, B=succesView, C=detailSearchView, and you want to redisplay B?

    If you have a formController providing A&B, and second detailController providing C,...
  24. Hello SekHar, Try adding ...

    Hello SekHar,
    Try adding <form:errors path="*"> to your formView.

    If you still has no clue, then you probably haven't read Referrence througly, as it explain very clearly to me how the form and...
  25. Yep, that worked. Thank you Marten!

    Yep, that worked. Thank you Marten!
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4