Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    25
    Answers
    1
    Vote Rating
    0
    leon.wood is on a distinguished road

      0  

    Default Unanswered: MVC with spring problem

    Unanswered: MVC with spring problem


    Hi,
    I write a user management with extjs4.1.1 and spring3 mvc
    and my extjs dir like pic 1;
    when i click login from index.html will request login/login.html
    and return test.jsp
    but the ext loader will add "login" in url
    if I visit test.jsp direct there is no problem
    I can't find where is wrong?anyone could help me?thanks

    pic 1
    1.jpg
    pic 2

    2.jpg

    pic 3
    3.jpg
    pic 4
    4.jpg

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Try to set the namespace of you application in the Loader

    Code:
    Ext.Loader.setPath('app', '..');

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    25
    Answers
    1
    Vote Rating
    0
    leon.wood is on a distinguished road

      0  

    Default


    I tried this,but it not work.....

  4. #4
    Sencha User
    Join Date
    Apr 2010
    Posts
    25
    Answers
    1
    Vote Rating
    0
    leon.wood is on a distinguished road

      0  

    Default


    I set "appFolder:'/projectName/app'" it can be work,but how to make it work without add projectName ?

  5. #5
    Sencha User
    Join Date
    Apr 2011
    Posts
    60
    Answers
    1
    Vote Rating
    3
    rrandymeyer is on a distinguished road

      0  

    Default


    Hi Leon,

    I attached a zip with my setup, hope this helps you.
    Attached Files

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    0
    jitesh_biswal is on a distinguished road

      0  

    Default


    How did you solve this problem. I am currently working on web desktop of extjs 4.1.1 with below code using spring 3


    Ext.Loader.setPath({
    'Ext.ux.desktop': './js/extjs4.1.1a/desktop/js/',
    MyDesktop: ''
    });

    Ext.require('MyDesktop.App');

    var myDesktopApp;
    Ext.onReady(function () {
    myDesktopApp = new MyDesktop.App();
    });
    I am getting error

    WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/SSPA/desktop/App.js] in DispatcherServlet with name 'appServlet'
    WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/SSPA/images/powered-by-ext-js.png] in DispatcherServlet with name 'appServlet'

    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/scripts/extjs4.1.1a/resources/css/ext-all.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath}/scripts/extjs4.1.1a/ext-all-debug.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/styles/desktop.css">


    Any idea, how can the Ext.Loader.setPath can get proper path of web desktop js and css files?
    Last edited by jitesh_biswal; 14 Feb 2013 at 8:59 AM. Reason: full description of the problem

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi