Wednesday, September 24, 2008

UNESCO Announces Indian National Anthem 'Jana Gana Mana' as the Best National Anthem

Indian National Anthem "Jana Gana Mana" written and composed by Rabindra Nath Tagore has been chosen as the World's Best National Anthem by UNESCO.
Jana Gana Mana Written in Sanskritised Bengali, it is the first of five stanzas of a Brahmo hymn composed and scored by Nobel laureate Rabindranath Tagore.
It was first sung at the Calcutta Session of the Indian National Congress,on 27 December 1911. Jana Gana Mana was officially adopted by the Constituent Assembly as the Indian national anthem on January 24, 1950. The music for the "current version" is said to be derived from a composition for the song by Ram Singh Thakur, although some dispute this.
A formal rendition of the national anthem takes about forty-eight to fifty-two seconds.
The lyrics of the national anthem is as follows :
Jana gana mana adhināyaka jaya hē
Bhārata bhāgya Vidhātā
Pañjāba Sindhu Gujarāta Marāthā
Drāvira Utkala Banga
Vindhya Himāchala Jamunā Gangā
Ucchala jaladhi taranga
Tava śubha nāmē jāgē
Tava śubha āśisa māgē
Gāhē tava jaya gāthā
Jana gana mangala dāyaka jaya hē
Bhārata bhāgya vidhātā
Jaya hē jaya hē jaya hē
Jaya jaya jaya jaya hē

Tuesday, September 23, 2008

History of Mahalaya

Mahalaya is a national festival and has two dimensions i.e Devaparva or prayers offered to God and Pitarparva or penance and worship of your ancestor. The latter is also named Shraddha or food offered with a sense of gratitude and affection. In The pitarpaksha season for 15 days Hindu pay their respect near a lake or a river called Pindadana to all his relatives and deceased elders or a common platform. This is also the most appropriate occasion for tantric tradition and offering to Goddess Chandi.

The traditional six day countdown to Mahasaptami starts from Mahalaya. Goddess Durga visits the earth for only four days but seven days prior to the Pujas, starts the Mahalaya. The enchanting voice of Birendra Krishna Bhadra fill up the predawn hours of the day thus marking the beginning of "devipaksha" and the beginning of the count-down of Durga Puja.
Durga Puja spans over a period of ten days but the main part of the Puja is limited to four days. In Hindu tradition, the fifteen days from the new moon up to the next full moon is called as Debi/Devi Paksha, and is regarded as the best time for doing any sacred, religious and auspicious activity or event. On the day of the last new moon before the Mahalaya, the eyes of the idols are designed and the process is called Chakshudaan and with Mahalaya, the Durga Puja commences.

Chakshudaan - shaping the eyes

Sarat in its bloom, mingled with the festive spirit of Durga Puja reaches its pitch on the day of Mahalaya.It is according to the myths that Sree Rama hastily performed Durga Puja just before he set for Lanka to rescue Sita from Ravana. According to Puranas, King Suratha, used to worship the goddess Durga in spring.

Seasonal "kaash" flower blooms during Sarat
Thus Durga Puja was also known as Basanti Puja. But Rama proponed the Puja and worshiped Durga in autumn and that is why it is known as 'Akal Bodhon' or untimely worship. It was considered untimely as it is in the myths that puja was performed when the Gods and Goddesses were awake i.e. "Uttarayan" and was not held when the Gods and Goddesses rested ie."Dakshinayan". It was on the day of Mahalaya, the beginning of "devipoksha", the Gods and Goddesses woke up to prepare themselves for Durga Puja.

According to another legend, the renowned hero of the Mahabharata, Karna, when he left the mortal coil, ascended to the higher worlds and the great charity he had done here was returned to him hundredfold. But, it was all gold and silver; there was no food, as he had not done any food-charity! He prayed to the god of death. So, he was sent back to earth for fourteen days, to make up for this deficiency. For fourteen days, he fed Brahmins and the poor, and offered oblations of water. On his return to the higher regions, he had food in plenty. It is these fourteen days that are commemorated in the Mahalaya Paksha. Due to the grace of the god of death, it has been ordained that offerings made during this period benefit all the departed souls, whether they are connected to you or not. Charity in the form of food is important during this observance. Life depends upon food. You cannot preach religion to empty stomachs. This human body is the most important vehicle for realising God. How precious must food be which keeps the body fit for Yoga! The gift of food is the greatest gift.

Therefore, give food in plenty, not only during the Mahalaya fortnight but all through the year.

Thursday, September 11, 2008

Uploading file in JSP

I am writing this article regarding “FILE UPLOADING in JSP from Client-Server” as I have faced problem in my project regarding this issue & help others so tht they don’nt face problem.

Following are the steps for uploading file from jsp:
1) Goto javazoom.net, then download latest version for upload the files.
http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html
2) Extract the zip & u will be getting four jar files.
They are:
i)uploadbean.jar
ii)struts.jar
iii)fileupload.jar
iv)cos.jar
place all these jar files in lib of u r web application:
C:\jakarta-tomcat-5.0.25\webapps\URWEBAPP\WEB-INF\lib\ or
(tomcat)\lib\
i.e. the lib folder.
lib folder varies with tomcat version.Somewhere it will under WEB-INF or outside WEB-INF.
Pl verify the same for ur tomcat version.
3) Set it in class path
4) create one jsp file named SimpleUpload.jsp
5) copy the following action part in the above jsp file:

Please put the html tags as needed.I am unable to gv the html tags as it is allowing me post the source code with html tags.

page language="java" import="javazoom.upload.*,java.util.*"
jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean"
jsp:setProperty name="upBean" property="folderstore" value="c:/uploads"
jsp:useBean
'///// Set the folder where u want upload the particular file.(here it is c:/uploads)

if (MultipartFormDataRequest.isMultipartFormData(request))
{ // Uses MultipartFormDataRequest to parse the HTTP request. MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request); String todo = null;
if (mrequest != null) todo = mrequest.getParameter("todo");
if ( (todo != null) && (todo.equalsIgnoreCase("upload")) )
{
Hashtable files = mrequest.getFiles();
if ( (files != null) && (!files.isEmpty()) )
{
UploadFile file = (UploadFile) files.get("uploadfile");
if (file != null)
out.println("Form field : uploadfile"+"
Uploaded file : "+file.getFileName()+" ("+file.getFileSize()+" bytes)"+"
Content Type : "+file.getContentType());
// Uses the bean now to store specified by jsp:setProperty at the top.
upBean.store(mrequest, "uploadfile");
}
else
{
out.println("No uploaded files");
}
}
else out.println("todo="+todo);
}


Follow the above steps and file upload will work fine.This has worked for me.

Regards
Subharthee

No end of this road

No end of this road

WWF Member

WWF Member