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

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -