Skip to content

ModelController mapping #46

Description

@NeverwinterMoon

I have a problem getting ModelController working while using Ext Loader.

I have configured a servlet with /controller/* url pattern and it works nicely with ExtDirectSpring.

Then I decided to try out ModelController and ran into a problem. Ext Loader is trying to access /app/model/MODEL_NAME.js and I have the same path mapped with @RequestMapping on the corresponding method. Seeing as my servlet is filtering only /controller/*, the working path would be /controller/app/model/MODEL_NAME.js which Ext Loader doesn't know about.

I tried creating another servlet and filtered url the following way: "/app/model/*" and then changed @RequestMapping to just "MODEL_NAME.js". Everything seems to be in the right places but app just doesn't start up anymore.

I don't have vast expertise of Spring, so I might be confusing something. Any help would be appreciated.

Loving your project so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions