Search:

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

Search: Search took 0.03 seconds.

  1. ORA-01000: maximum open cursors exceeded when pocess blob field

    i used oracle10g ,spring 2.5.4,hibernate 3.2.6.ga to set up my web application. I need to store image into my database. My config as following:

    <bean id="sessionFactory"...
  2. Replies
    7
    Views
    2,764

    how to process single login in Acegi?

    when a user is logined, i want to prevent other user login my system using same user id and same password. how to process single user login in this condiction.thanks
  3. thank for your reply! if i select spring as my...

    thank for your reply! if i select spring as my object manager,so i can not use factory design pattern. Object that i want to create is a bean defined in spring. I do not want my code depend on...
  4. i know implments FactoryBean interface can get...

    i know implments FactoryBean interface can get object,but its getObject methods doesn't have an parameter. I don't know how to pass parameter to getObject methods. Anybody can give me example,thanks!
  5. this problem is how to create object dynamic...

    this problem is how to create object dynamic under spring. if i use getBeanName method , it just means to create new object.but i always need factory class to decide which object is return. how to...
  6. how to apply Factory design pattern into spring

    public class Factory&#123;

      public static Sample creator&#40;int which&#41;&#123;

      if &#40;which==1&#41;
        return new SampleA&#40;&#41;;
      else if &#40;which==2&#41;
        return new SampleB&#40;&#41;;

      &#125;
  7. Replies
    5
    Views
    1,186

    i found the javadoc of MethodInvokingFactoryBean...

    i found the javadoc of MethodInvokingFactoryBean
    "This use case is not supported by factory-methods, since a return value is needed to become the bean."
    in my example, ABaseObject and BBaseObject...
  8. Replies
    5
    Views
    1,186

    public class BaseObjectFactory{ public static...

    public class BaseObjectFactory&#123;
    public static BaseObject createInstance&#40;String type&#41;&#123;
    if &#40;type.equals&#40;"a"&#41;&#41;
    return new ABaseObjce&#40;&#41;;
    if &#40;type.equals&#40;"b"&#41;&#41;
    return new...
  9. Replies
    5
    Views
    1,186

    how to use static method of a bean

    i know that when you use getBeanName methods means to create a new object . but i wonder how to use static method in a bean.
  10. Replies
    6
    Views
    19,600

    how to get user info from session?

    i select WebWork as my web framework, i want to know if i can get user detail info from session. I woder where can i process in this situation.thanks
Results 1 to 10 of 10