vaadin7 - how to base url and access application.properties whsn using Vaadin Spring boot 1.0.0 -
developing application using vaadin spring 1.0.0 , trying find out
1.how excess application.propertie file content vaadin ui.
2.also how base url when using vaadin 7.6
any inputs appreciated.
ty.
you can access properties spring, using annotation:
@value("${ssh.usernme}") string user; to base url can url , remove context-path:
((vaadinservletrequest) vaadinrequest).getrequesturl()
Comments
Post a Comment