Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

how to extract window origin in spring

hi,
i basically want to capture what window.location.origin does in javascript from inside the controller in spring.

thanks
Avatar of Rohit Bajaj
Rohit Bajaj
Flag of India image

ASKER

so if url hitting my app is http://domain/sjdjkkrkrkjr/....
i need to get http://domain part only inside my controller or handler
ASKER CERTIFIED SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial