Normally if we are working in windows and not using any IDE then we do open a command promt, compile a java program then run it...
suppose exactly samething i want to do it from a GUI just for me.. making a java program then entering the java file name in text field..getting it in my program then compiling and running.. the change is - i want to open a gui by running it from command prompt just once.. after that i enter the java file name..there is a compile and run button. the output which we see on command prompt i want to show it in text area..
I hardcoded the dir command and it worked.. but when i hardcoded javac and entered the java file name it didn't work..
There may be a no. of ways of doing it.. but i think this is one of them.
This is just practicing new things and i think its the way how we learn.
Oh my God.... what i was doing..
So i have written pattern inplace of param...
I checked the links but actual mistake is that you stated.
Its working now my friend.... Thanks a lot for all your help!!!
I tried it.. and that error is no more alive. Thanks a lot.
My app is runnig but its returing the null values for context/init param.
I am getting SAX.parse.exception.. init-param/context-param must be declared. But they are already.
I have checked few examples but couldn't find any clue. they have declared it same as i did.