Embedd .js files in Perl n execute in Tomcat
Posted by v.akshatha.hegde (v.akshatha.hegde), 23 May 2007Hi,
Since I am new to this forum I do not know if this is the relevant component.Please tell me if this is a wrong component as this is really urgent for me.
Any help would be appreciated.
My code is here: hello2.pl
print "Content-Type: text/html\n\n";
alert("Welcome to my page!!!!!!!!1.");
and I have placed my js file in the same place as that of perl file. Plzzzzzzzz help!
Posted by admin (Graham Ellis), 23 May 2007As you are generating your HTML through the cgi directory - a directory of scripts - you will need to specify a different directory in the HTML you sent out , in "server absolute", and place the extra files there.
and the greet.js file goes in the root directory of the web site
Posted by v.akshatha.hegde (v.akshatha.hegde), 24 May 2007Hi Graham,
Thanks a lot for the Quick help. It works .
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: email@example.com • WEB: http://www.wellho.net • SKYPE: wellho