We have develop a custom function to copy some files from a workarea to another.
Whenevery we access the jsp that check the file on the workarea, there is a login prompt being shown on the production TeamSite only.
The login prompt is not shown on our development server for the same code.
The difference between the development and the production machine is the development is jsp while on the production is precompiled jsp into servlet class.
The other note is that the user login is authenticated against the AD.
But, both the development and production are using AD for authentication.
Any suggestion is appreciated.
The code goes something like
<><context:use var="current_node_ctx"
<>createIfNeeded="true" contextClass="com.interwoven.ui.teamsite.filesys.context.CurrentNodeContext"/>
<context:use var="cs_ctx"
createIfNeeded="true"
contextClass="com.interwoven.ui.teamsite.auth.CSClientContext"/>
<>
CSClient client = (CSClient) cs_ctx.getCSClient();
String currentVpath = request.getParameter("cwd.vpath");
String workareaVpath = request.getParameter("workareaVpath");
....
CSVPath sourcePath = new CSVPath( csvfilepath );
CSFile sourceFile = client.getFile( sourcePath );
if (sourceFile != null) {
// output some message
....
}