Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Servlet 3.0 configuration #50

Open
lucasmontec opened this issue Sep 17, 2015 · 2 comments
Open

Support Servlet 3.0 configuration #50

lucasmontec opened this issue Sep 17, 2015 · 2 comments

Comments

@lucasmontec
Copy link

I really can't figure how to work with this ace wrapper without the web.xml.
The code has no java-doc pointing how it loads files or where it searches. I need my own hosted ace modes as well as custom modes.

@lucasmontec
Copy link
Author

Solved. Seems like when using this new configuration vaadin routes everything through its servlet. If you need specific files or folders you need to specify the application URL name in the path, not the java class.
The application name is usually the same as the project name, so in my case the path was:
static/ace
And the path that solved was:
/MiniTaleVerse/static/ace

@lucasmontec
Copy link
Author

Seems like only a few files are allowed doing this. The problem persists. Sometimes the files are blocked by the servlet again. I could only load the java mode and cound't load any themes.

@lucasmontec lucasmontec reopened this Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant