Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    2,882

    Try this... I think

    Look at the eclipse plug-in site for Sysdeo Eclipse Tomcat Launcher.

    I'm not quite sure what you're looking for but this is now I integrate Tomcate with Eclipse. It allows me to manage...
  2. Replies
    2
    Views
    1,273

    Try using...

    Mia,

    Try using the validatePage method which will validate the data being submitted. The page param can be used to define specifically how to validate and save the data.


    protected void...
  3. If it's reused...

    How does it know when to flush the session?

    If in my business layer Service A calls Service B which calls Service C, how does the sessionFactory know to flush the session afterReturnAdvice of the...
  4. If I understand...

    What I've seen is that a new session is created each time a service method is called.

    My suggestion:
    - Build a utility (ResourceManager) to manage ThreadLocal.
    - Upon service method invocation...
  5. Try explicitly...

    Define the getTargetPage(), cast the command to the form backing object and put it in the request.

    This might work.

    I'll keep watching this thread.
  6. Replies
    2
    Views
    1,226

    Post your code

    Post your build file.

    I think it may have to do with missing the ${signature.keystore} definition.

    Make sure this variable is defined in either your build.xml or a build.properties file that...
  7. Hmm...

    I can't immediately see what the problem with your context is. One thing I'm not familiar with is the "-Exception" you have in your propagation rules. I've never seen that used before so I would...
  8. DDL

    Post the DDL you used to create the relating database objects.

    Ensure you are creating the PK integrity on the table to which your inserting.
  9. Why not...

    Why not have each button submit to different methods then call the common method they all need to eventually access?




    void submit() {
    // do some code here that's common to all submit...
  10. Replies
    4
    Views
    1,753

    I'll start from scratch

    Alef,

    I don't think you are misunderstanding me. I'm not clear on how this all works and I may not be asking the right questions or explaining myself clearly

    I'll start from scratch:

    My...
  11. Replies
    3
    Views
    1,059

    Resource Locator

    It seems as if you will need to create the language specific resources (gif, jpg etc...) then use Spring's RequestContextUtils (org.springframework.web.servlet.support.RequestContextUtils) to find...
  12. Replies
    4
    Views
    1,753

    Using the AOP proxyConfig this time...

    Alef,

    So instead of putting the interceptors on the myServiceEJB I should be putting it on myService implementation?

    like this:



    <beans>
    ...
  13. Replies
    4
    Views
    1,753

    Will this work? EJB and AOP

    <beans>
    ...
    <!-- Define the mappings for the POJOs used by the EJBs -->
    <bean id="myService"
    class="com.mydomain.core.service.MyServiceImpl">
    </bean>

    <!-- Define the JNDI lookup...
  14. Dates are weird

    Hey friend,

    There is a weird issue with Spring and date formatting where custom formatting needs to be placed on the date object when the initial binding to the form is done.

    Try adding...
  15. Replies
    2
    Views
    891

    Yes

    You can define the "_target" value in your form, remove onBindAndValidate() from your form controller and use the getTargetPage() to manage specific page submissions.

    For example:



    protected...
  16. Look in the webapps dir

    Are you sure the applicationContext.xml is being deployed with the webapp? Check for the existance of %TOMCAT_HOME%/webapps/your-project/WEB-INF/applicationContext.xml

    Also assuming your...
  17. State of objects

    If you are simply trying to ensure an object is always available and it always has the same state, then create it in the bean factory with the required state. This way you will always have it and it...
  18. Replies
    0
    Views
    1,046

    I18N/ L10N Phone numbers and Validation

    While using the Spring framework, does anyone have good documentation on validating phone numbers submitted to a form depending on the locale of the browser?

    I'm thinking this:
    A custom...
  19. Multiple Resource Bundles Dynamically Loaded

    Hello.

    I'm trying to figure out why I cannot read multiple resource bundles in my Spring app.

    I'm under the impression that all resources written in my application classpath with the file...
Results 1 to 19 of 19