Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    509

    Yes it appears that is there. Here is my config...

    Yes it appears that is there. Here is my config file:




    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"...
  2. Replies
    2
    Views
    509

    Webapp not handling sessions correctly

    Hi all. I'm very rusty at all this, so please bear with me.

    I dug out an old webapp I put together a few years ago, which has Spring form handling and Acegi authentication using MySQL. It's...
  3. Replies
    1
    Views
    882

    SpringMVC vs Struts

    Hi all. I know this is a spring forum, but this is more of a struts question I suppose.

    One thing I like about Spring MVC is the easy way it allows you to initialize your form bean before the view...
  4. Replies
    4
    Views
    1,694

    Thanks Sams_6 - that does work indeed - though...

    Thanks Sams_6 - that does work indeed - though I'm sure there is a way of testing it without having to set the var first...

    I could do it with the older spring taglibs...


    <spring:bind...
  5. Replies
    4
    Views
    1,694

    As I explained, to stop the output of pointless...

    As I explained, to stop the output of pointless HTML. For example...


    <tr><td class="normal">Error message</td></tr>

    It's likely that I would only want the whole table row (or whatever HTML...
  6. Replies
    4
    Views
    1,694

    Testing if form errors exist within JSP

    Hi all.

    I have a JSP which is using the newer spring form tags, for example:


    <form:input path="newScore" maxlength="2" />

    <form:errors path="newScore"/>

    The form is validated by the...
  7. Replies
    2
    Views
    799

    Ok, it was the declaration which was wrong. I...

    Ok, it was the declaration which was wrong. I need to use


    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

    ...which is slightly different. I think that's to do with versions?
  8. Replies
    2
    Views
    799

    My JSTL expressions are not processing

    Hi. I am putting together a springMVC app, and the JSTL tags in the page are not executing.

    I have this declaration:


    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

    In my...
  9. Replies
    4
    Views
    6,275

    So what extension would you use for your spring...

    So what extension would you use for your spring pages?

    If anyone has some more detailed examples to answer my questions (3 & 4) that would be great.
  10. Replies
    4
    Views
    6,275

    Use of DispatcherServlet in Spring MVC

    Hi all. I've been studying a number or tutorials on Spring MVC, and it's mostly all clear, I'm just a little confused about how the DispatcherServlet is used.

    Almost all the tutorials show the...
  11. Replies
    0
    Views
    980

    HTML Anchor link in view return?

    Hi all,

    is there anyway, using webflow, to include an anchor link? I mean a standard HTML anchor, so that the page scrolls automatically to a certain point defined by
    #myAnchor as you would do...
  12. Replies
    5
    Views
    943

    Integrating SWF with existing application

    Hi all.

    Currently our SWF is mapped from our web.xml file:



    <servlet>
    <servlet-name>signup</servlet-name>...
  13. Replies
    3
    Views
    1,234

    Close... the attribute 'key' is not valid. ...

    Close... the attribute 'key' is not valid.

    This works...

    <spring:message code="my.message"/>

    :)
  14. Replies
    3
    Views
    1,234

    Spring equivalent of bean:message

    Hello,

    is there a spring taglib equivalent of the rather useful struts tag?

    <bean:message key="my.message" />

    Thanks.
  15. Replies
    1
    Views
    752

    Tut tut, all I had to do was search.....sorry! ...

    Tut tut, all I had to do was search.....sorry!

    <c:if test="${not empty status.errorMessages}">
  16. Replies
    1
    Views
    752

    Testing for form errors

    Hi all, I know this is probably a very simple JSTL expression, but I can't get it working.

    I have some code which displays error messages in a list. I want to test, around the list, whether it is...
  17. Replies
    17
    Views
    2,148

    Nope, as soon as I put this in, my webflow...

    Nope, as soon as I put this in, my webflow breaks. Everything just goes to a blank page with no log errors.

    What does the ".url" mean in the view.properties? What actual url would be required to...
  18. Replies
    17
    Views
    2,148

    Yeah, I had all that in there, something was...

    Yeah, I had all that in there, something was wrong.

    See my code above, my existing viewResolver is called "viewResolver", whereas yours is "internalViewResolver" - does that make any difference?
  19. Replies
    17
    Views
    2,148

    Oh, so I would end with two viewResolver...

    Oh, so I would end with two viewResolver mappings, one for Internal, and one for ResourceBundle? I removed my existing one thinking they were the same thing.
  20. Replies
    17
    Views
    2,148

    Well, in my web.xml I have the mapping for my...

    Well, in my web.xml I have the mapping for my webflow (which is just small part of a much larger application).



    <servlet-mapping>
    <servlet-name>signup</servlet-name>
    ...
  21. Replies
    17
    Views
    2,148

    Hmm, neither of these options seem to work for...

    Hmm, neither of these options seem to work for me.

    The problem is, I don't want it to affect any other mappings which we already have in our application. For example, my webflow config start point...
  22. Replies
    17
    Views
    2,148

    And I got this... 2007-12-04 11:32:07,021...

    And I got this...


    2007-12-04 11:32:07,021 [http-443-Processor25] ERROR - Servlet.service() for servlet signup threw exception
    java.util.MissingResourceException: Can't find bundle for base name...
  23. Replies
    17
    Views
    2,148

    Thanks for this. I think the reason that my...

    Thanks for this.

    I think the reason that my previous option didn't work, is that it was overiding my Webflow config - so that the /signup.htm in my web.xml wasn't being found anymore.

    I think...
  24. Replies
    17
    Views
    2,148

    I simply cannot get this working! I have the...

    I simply cannot get this working!

    I have the following entries in my config:



    <!-- Simple handler mapping which maps url requests directly to the specified views. -->
    <bean id="urlMapping"...
  25. Replies
    17
    Views
    2,148

    Many thanks Jörg, that looks just the thing. I...

    Many thanks Jörg, that looks just the thing.

    I find this post from a couple of years ago which deals with the same problem, and looks like a good solution.
    ...
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4