Problem while submiting the page

2006-07-28 Thread Prafulla Nawale
Hi,
I am facing one problem on submit of jsp.
I think its most probably an issue related to javascript. Can you please help 
me in figuring out it.

There is a button on the screen, on click of that button i invoke the 
javascript function and in that function i submit the form two times, to two 
different actions.

So what happens mostly in this case is only the second action is executed. I 
can see the log corresponding to second action only. 

Can anyone please help me in solving this.

the code snippet in js is like this

var win = window.open(, checklist, features);
document.formMain.target = checklist;
document.formMain.action = '../..' + actionPath + '/' + link + 
'?uniqeId='+uniqeId + 'ref=' + refName;
document.formMain.submit();
document.formMain.target = checklist;
document.formMain.action = '../../PrintOut/Polling/Polling.do?uniqeId='+uniqeId 
+ 'ref=' + refName;
document.formMain.submit();

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Directory Listing issue

2006-05-23 Thread Prafulla Nawale
Hi,
I am using tomcat 4.1. In my web application, there are some downloadable 
files. All these downloadable files are stored in one directory. And this 
directory is inside the docBase of the application but outside WEB-INF folder. 
So when i enter the url of my application and append directory name containing 
the downloadable files to this url, it shows the listing of all the files in 
this directory. 
But our requirement is not to show the listing of all files in this directory. 
How can i achieve it.

Thanks
Prafulla

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]