Thanks for the reply. I am developing a custom search utility which will return the results of contents from that site only from which it has been triggered. So, i need to get this site name autmatically so that i can use that in my lucene query. I have gone through these site service functions. They all are expecting an input either site name or their noderef which i don't want to pass as a parameter. Do you have any solution for that. I am able to get the current site name in javascript. So, there must be some solution to get the same from java also. Please reply soon.
Thanks,
Mrinal