cancel
Showing results for 
Search instead for 
Did you mean: 

Get the port of running Alfresco instance programmatically

dbz
Champ on-the-rise
Champ on-the-rise
Hello, colleagues.

Could you plese tell me how can I define (programmatically) the port of running Alfresco instance?

I'm writing advanced workflow and I should include the link to the Alfresco instance into users' e-mails.
The purpose is to obtain ServletRequest object from JBPMSpringActionHandler instance. But I simply can't think how to do this.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
What you need to do is use spring to inject the port number into your code.