Search:

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

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    871

    SpringMVC: No adapter for handler

    Hi, I have problem with simple spring mvc controller written in scala:


    @Controller
    class HelloWorldController {

    implicit def sessionFactory2Session(sf: SessionFactory) =...
  2. Replies
    1
    Views
    829

    Pdf, form and ByteArrayOutputStream

    Can somebody tell me how can I use iText in simpleFormController? User must get pdf document after submit. I have some ready methods form my last project (not based on spring, just simple servlet+jsp...
  3. Replies
    1
    Views
    593

    I think, I do something wrong, but in my code...

    I think, I do something wrong, but in my code NumberFormatException may be thrown. My example code:




    DetailUser mc = (DetailUser) super.formBackingObject(arg0);

    if (mc.getUserId()...
  4. Replies
    1
    Views
    593

    AbstractWizardFormController problem

    For example I have such AbstractWizardFormController bean:



    <bean id="userRegistrationWizardController" class="WizardFormController">
    <property name="pages">
    <list>...
  5. Replies
    2
    Views
    1,155

    I've tried to reload application on tomcat, but...

    I've tried to reload application on tomcat, but session still is active :/
  6. Replies
    2
    Views
    1,155

    How to logout all users

    How to logout all users for application? For example to do some administration work? Is this possible?
  7. Replies
    2
    Views
    717

    I know about acegi, but this is bad solution for...

    I know about acegi, but this is bad solution for my problem. In this situation I want to disable part of application for all users, and all roles. Creating SUPER_ROLE and blocking access isn't good,...
  8. Replies
    2
    Views
    717

    Disable part of application

    Hello, I'm thinking about best practices in situation, where a part of application is disabled by user. Please consider this situation, admin has option to turn off some views, for example:...
  9. Implementing Application-Specific User Details in Acegi

    My applications requires specific type of information associated with each security role.

    I extend User class:


    import org.acegisecurity.GrantedAuthority;
    import...
  10. Replies
    4
    Views
    1,195

    Two application - one login

    Is it possible to share user authorization over two or more webapplication using Acegi? For example I have application: 1 and 2. When I'm log in in application one, I also have access to application...
  11. Thread: Securing methods

    by zeeed
    Replies
    1
    Views
    826

    Securing methods

    I'm thinking about securing some methods in my application. I know that I can use acegi to block access to some objects for certain user roles. But I've noticed that I need something else. For...
  12. Replies
    2
    Views
    881

    no result

    I've just added <property name="proxyTargetClass" value="true"/>, no result I always get access:


    <bean id="autoProxyCreator"...
  13. Replies
    2
    Views
    881

    MethodSecurityInterceptor

    Why these doesn't work, I allways get access :(

    acegi-conf.xml:


    <bean id="autoProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
    <property...
  14. Thread: jstl import

    by zeeed
    Replies
    5
    Views
    1,407

    Thanks for help, I'm reading about tiles and...

    Thanks for help, I'm reading about tiles and sitemesh now :)
  15. Replies
    0
    Views
    668

    Access limitation (semaphore like)

    I'm working on some webapplication, where only one user in the same time can do some special functions, (for example add files etc.) meanwhile others must wait. How I can implement such...
  16. Replies
    1
    Views
    860

    Avoid doubling bean properties

    Please check this situation:



    <bean id="deleteBean" class="DeleteClass">
    <property name="xmlPoperties" ref="xmlPropertiesl"/>
    + other properties
    <property...
  17. Thread: jstl import

    by zeeed
    Replies
    5
    Views
    1,407

    jstl import

    Hi, I'm trying to add simple import usage to my jsp pages. I've got menu.html (virtual url mapped to controller) and I'm trying to add it to index.html (which is also virtual url). <c:import...
  18. Replies
    2
    Views
    1,089

    I've found very good tutorial:...

    I've found very good tutorial:
    http://jroller.com/ksevindik/entry/redirecting_users_to_different_start
    It's great :D, it was mensed here...
  19. Replies
    2
    Views
    923

    Bean actualization problem

    I've got 2 beans:

    xmlBean is responsible for reading data from xml file

    <bean id="xmlBean" class="XmlBean">
    <constructor-arg value="${xmlPath}"/>
    </bean>
    controller is one of...
  20. Replies
    0
    Views
    976

    Change xml with bean definition on the fly

    Is there any possible way, that web application itself change its xml which contains the bean definitions (for example to add another bean) and than it will restart or redeploy itself? Is this...
  21. Replies
    2
    Views
    1,089

    Redirect question

    A very handy feature is with acegi I can directly acces the login page. The defaultTargetUrl is page where the user will be sent if it directly accesses the login page, but I want to to something...
  22. Replies
    0
    Views
    892

    Modular webapp (need help)

    Hi all,
    I'm thinking about fully modular web application based on Spring MVC. For example I want to have core module that will provide authentication, database connections, and module aid. I want...
  23. Replies
    0
    Views
    864

    New window and bean

    Is there any way to pass bean to new window open by java script, different than adding it to session?
  24. Replies
    3
    Views
    1,065

    Ok, may I have another request? :). Could you...

    Ok, may I have another request? :). Could you write or send me link (I can't find it) how I can handle such form (get data from it, after submit)?
  25. Replies
    3
    Views
    1,065

    Form tag library problem

    HI, I'm new to Spring. I have question about form tag library. I want to create jsp page with dynamic created form. In this form will be many form:select tags. Please look at this example (it's not a...
Results 1 to 25 of 26
Page 1 of 2 1 2