Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    258

    have you tried public void...

    have you tried


    public void removeBeanDefinition(String beanName) instead of destroyBean.
  2. Replies
    3
    Views
    508

    set diskPersistent=true on the NdgsList cache.

    set diskPersistent=true on the NdgsList cache.
  3. Replies
    1
    Views
    411

    alwaysUseFullPath Spring 3.1.x

    I want to map a Annotated Controller using full path (including servlet context), this are the core configs that I have to achieve this:

    This is the dispatcher servlet mapping in web.xml

    ...
  4. Your Form or Command Object needs to define the...

    Your Form or Command Object needs to define the properties which spring will bind when request is received by the controller.

    Example:
    <code>
    public class MyFormObject{
    private MultipartFile...
  5. Replies
    4
    Views
    400

    Yes, with injections there 2 different ways of...

    Yes, with injections there 2 different ways of doing, setters, constructors and for both the accessor methods needs to be public..

    public void setName(String name); from the stacktrace the spel...
  6. Replies
    4
    Views
    400

    Your setter method for the name is not public or...

    Your setter method for the name is not public or your setter method is not following Java bean convention.

    If neither of the above then please post the stacktrace and sourcecode for the classes
  7. Any reason why you don't want to use the argument...

    Any reason why you don't want to use the argument in the method?


    @Before("@annotation(validation)")
    public void interceptValidation(Validation validation){
    ...
  8. Replies
    2
    Views
    286

    Look at the API for HttpServletRequest. It has a...

    Look at the API for HttpServletRequest. It has a method to getUserPrincipal() which will be non null value if users are authenticated.

    There might be other ways also depending on the security...
  9. Replies
    4
    Views
    472

    If you are using JQuery you can serialize the...

    If you are using JQuery you can serialize the form and send this form data with AJAX request.
    With jQuery you can easily attach click events to buttons and run ajax calls., there are plenty of...
  10. Replies
    2
    Views
    1,375

    Domain Objects And Presentation Layer

    Hi All,

    I am about to start a new project and I am undecided on how to link my presentation layer with Domain objects.

    Traditionally I have used DTO which means for each Domain Object, there...
  11. Replies
    5
    Views
    17,018

    IN clause with JdbcTemplate

    Hi

    Need bit of help with JdbcTemplate.
    I have have a sql query something like Selct * from bla where id in ( ? )

    ? needs to be replaced with list of Integers with i store in an ArrayList.
    ...
  12. Replies
    6
    Views
    1,074

    can you post your web.xml file.

    can you post your web.xml file.
  13. Replies
    6
    Views
    1,074

    Hi I just tried and any bean that implements...

    Hi

    I just tried and any bean that implements the ServletContextAware interface will get called by Spring for A Web application.

    Do you have ...
  14. JDBCTemplate batchUpdate using BatchPreparedStatementSetter

    Hi

    I am using JdbcTempleate.batchUpdate method which needs a BatchPreparedStatementSetter object.

    I have a Map instance which holds the data that i need to insert/update. Below is a snippet of...
  15. Replies
    6
    Views
    1,074

    Hi Cant you use ContextLoadListener class (...

    Hi

    Cant you use ContextLoadListener class ( or some extension of COntextLoadListener ) or even ServletContextAware.

    ServletContextAware will be called after the application context has been...
  16. Replies
    8
    Views
    1,348

    Same problem with Jboss and Spring

    Hi
    I am facing the similar problem with Jboss and books portlet.
    When i deploy the portlets on Jobss and go to the Jboss portal page, i don't see the mode or book portlet ?
    However, helloworld...
  17. Replies
    0
    Views
    1,304

    PetPortal exmple on Jboss

    Hi
    Has anyone been able to make the PetPortal (which is included in the Spring 2 distribution)example work on Jboss.
    I only managed to get the "mode" portlet work.

    All other portlets that have...
  18. Replies
    12
    Views
    2,407

    Validators and Domain Logic

    Hi
    I am just not very clear on what sort of validations to put in the Spring Validators classes.

    I have a domain objects which contains domain logic validation. I believe knowledge about domain...
  19. Replies
    5
    Views
    2,521

    Spring Portlets or JetSpeed by Apache

    Hi

    Just bit confused at this stage. Can someone please point me in the right direction.

    I need to write some portal pages and since i been using Spring MVC, i am thinking of using Spring...
  20. Replies
    6
    Views
    1,551

    Umm... Just not very clear as to how the...

    Umm... Just not very clear as to how the concurrent request will be handled by the singleton controller class.
  21. Replies
    6
    Views
    1,551

    hi All the repositories and controllers etc are...

    hi
    All the repositories and controllers etc are stateless. HttpSession object is used to store state information and Command objects.
  22. Replies
    6
    Views
    1,551

    Singleton or Prototype beans

    Hi
    I am just wondering in terms of performance for concurrent request whether to use Singleton or prototype beans ?

    Example:
    I have repository classes, controller classes at the moment they are...
  23. hi

    yes, i am using java 5 ( which is in a way jdk 1.5 i think ) and tomcat 5.5 and it works ok now.

    I also deployed the app on Tomcat 6 with Java 5 and its works well. I think there is some bug in...
  24. hey

    hi there
    i had the same problem and the error was that one of the Collection factory class was trying to create a concurrent hashMap instance which is available in jdk 5 onwords.

    I was running...
  25. Strange behaviour on JDK 1.4 when loading CollectionFactory

    I am running Tomcat 5.5 on jre 1.4 and it works fine in netbeans.
    However when i deploy the project on Tomcat on another machine (Fedora )
    Exception is thrown.

    Looking...
Results 1 to 25 of 46
Page 1 of 2 1 2