Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,979

    In controller (.js) do: args.myparam For...

    In controller (.js) do:
    args.myparam

    For example:
    var query = args.myquery


    Hope this helps.
  2. Exception handling (AOP vs. HandlerExceptionResolver)

    I have a project where I wanted to do more proper exception handling cause I've always used checked exceptions and the code gets really messy if you do everything that way.
    So now I'm confused about...
  3. Good to know that. I also thought packages...

    Good to know that. I also thought packages scaning was recursive. :/
  4. Try adding this property to sessionFactory bean:...

    Try adding this property to sessionFactory bean:



    <property name="annotatedPackages">
    <list>
    <value>com.coastware.vProbe.model</value>
    </list>
    ...
  5. Replies
    4
    Views
    1,124

    Show your xml configuration please.

    Show your xml configuration please.
  6. Replies
    4
    Views
    1,124

    SecurityContext securityContext; securityContext...

    SecurityContext securityContext;
    securityContext = SecurityContextHolder.getContext();
    Authentication a = securityContext.getAuthentication(); //you get more details from authentication object,...
  7. Replies
    1
    Views
    1,081

    *bump* I'm loosing my mind on this... :S

    *bump*

    I'm loosing my mind on this... :S
  8. Replies
    1
    Views
    1,081

    Authentication lost after leaving main page

    I have web and wap pages and security defined for them. Both work ok when I try them using browser. But the problem is when I go to wap page with some mobile device and I login, I'm redirected to...
  9. Spring itself doesn't support ajax as far as I...

    Spring itself doesn't support ajax as far as I know. But what I learned from reading the forums and stuff, they say it works very nice with DWR (ajax framework).

    Hope that helps. :)
  10. I was wondering the same thing a long time ago......

    I was wondering the same thing a long time ago... :rolleyes:
  11. Replies
    0
    Views
    716

    Spring web application patterns

    I made my first web application with spring, and more I'm adding stuff more I see how poor architecture it has (or, no architecture to be honest). So i was wondering are there any resources on web...
  12. Replies
    7
    Views
    2,854

    Thank you very much for your info. But anyway...

    Thank you very much for your info.

    But anyway why should the login work when I access the application via IP and it doesn't work when I access the application via domain name (www.something.com)?...
  13. Replies
    7
    Views
    2,854

    I don't quite understand what you want to view...

    I don't quite understand what you want to view cause I'm a beginner at spring. So I'll post all the xml configuration that includes security configuration.

    ApplicationsContext.xml


    <?xml...
  14. Replies
    7
    Views
    2,854

    Anyone? I'm really starting to freak out. Really...

    Anyone? I'm really starting to freak out. Really strange problem...
  15. Replies
    7
    Views
    2,854

    Here is the filter configuration from web.xml: ...

    Here is the filter configuration from web.xml:


    <filter>
    <filter-name>springSecurityFilterChain</filter-name>
    ...
  16. Replies
    7
    Views
    2,854

    Automatic Logout problem

    I can sucessfully login, but on next click, doesn't matter which link I click I am loged out. This only happens when I access the page with domain name (example: www.mypage.com) and doesn't happen...
  17. Replies
    1
    Views
    799

    Intercepting logout?

    How can I intercept logout. I have to to something just before and something after logout.
  18. Thread: File upload

    by depy
    Replies
    1
    Views
    940

    Problem resolved. I had wrong path set... :S

    Problem resolved. I had wrong path set... :S
  19. Thread: File upload

    by depy
    Replies
    1
    Views
    940

    File upload

    When I tested file upload on my computer it seemed ok. But when I deployed the project on the server I got this exception:

    Exception: java.io.FileNotFoundException: C:\pong.zip (Permission denied)...
  20. Spring forms and AbstractCommandController object (half updated)

    I have a User object return to my userpanel.jsp where user can update it's profile.
    But for obvious reasons I can't let them update or either view their ID and some parameters. So when I click "Save...
  21. Replies
    0
    Views
    665

    More chaining controllers?

    I made a controller that chains other controllers. I'm using this controller for few pages, but the problem is, that in servlet config you must define which controllers you will chain and on some...
  22. Replies
    6
    Views
    1,446

    I guess i found what i've been looking for:...

    I guess i found what i've been looking for: Chaining controllers. Looks just like the thing I needed.

    I've read also that interceptors can solve this problem?


    ...
  23. Replies
    6
    Views
    1,446

    Well, basically my project is just some standard...

    Well, basically my project is just some standard public web portal.

    With registration, login, news of some kind, user profile, friends lists, some downloads of stuff and we thought of some kind of...
  24. Replies
    6
    Views
    1,446

    So there's no way to do that in spring easily? ...

    So there's no way to do that in spring easily?

    My boss is gonna kill me if I change the development environment again... :)

    The spring has also portlets right? How about using springs portlets?...
  25. Replies
    6
    Views
    1,446

    Making web portal with spring

    I started with JSF then switched to spring + hibernate.

    Now I mapped all the classes to the DB tables. When I finally wanted to start building the portal, I realize that I dont know how to start....
Results 1 to 25 of 25