look at the cache of the portlet (see the JSR-168, reference guide, and the descriptor of portlets).
if it is not a question of cache, it is strange that you get the html file, but don't get the last live version.
depends how you manage to get the file.
hope it helps.
(I don't understang your last sentence).
I appreciate your quick response.
I found the cause that the portlet i have created is not retreiving the contents forom repository. It is directly fetching the content from its current location, could you please help me in changing the attribute of the portlet so that it can fetch contents from the repository (i.e the latest version)
Waiting for your response.