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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -