Jan 08, 2014 7:38:06 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet dispatcher java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
Solution :
Then i added below in web.xml file. Its worked fine.
I came up through some exception while running Java Derby Database. The exception is as follows,
Bug 1
Exception in thread "main" java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at org.apache.derby.impl.tools.ij.util.loadDriver(Unknown Source)
> at org.apache.derby.impl.tools.ij.util.loadDriverIfKnown(Unknown Source)
> at org.apache.derby.impl.tools.ij.util.startJBMS(Unknown Source)
> at org.apache.derby.impl.tools.ij.util.startJBMS(Unknown Source)
> at org.apache.derby.impl.tools.ij.ConnectionEnv.init(Unknown Source)
> at org.apache.derby.impl.tools.ij.utilMain.(Unknown Source)
> at org.apache.derby.impl.tools.ij.utilMain14.(Unknown Source)
> at org.apache.derby.impl.tools.ij.Main14.getutilMain(Unknown Source)
> at org.apache.derby.impl.tools.ij.Main.(Unknown Source)
> at org.apache.derby.impl.tools.ij.Main14.(Unknown Source)
> at org.apache.derby.impl.tools.ij.Main14.getMain(Unknown Source)
> at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source)
> at org.apache.derby.impl.tools.ij.Main14.main(Unknown Source)
> at org.apache.derby.tools.ij.main(Unknown Source)
Solution :
While installing JDK7 java derby will also installed and configured. But i explicitly configure different version java derby in class path. That's why the exception thrown. When i deleted class path which i configure explicitly its working fine.
I hope you know all posting more variety of hot topics. Now i came up with an idea to share my technical experience with you all. So posting every challenge in separate post is getting difficult. Now i shared one document which i will update frequently that document. Please click the link below.
If you run above code, background color will change all li tags other than eliminate id li tag... so this is very useful for creating tabs in any application mouse over offect of menus....
Some body think light is a simple concept. what special in this?
But all can't know this.
In this article i will explain very simply like to teach to child's.
Lets come to the concept. Photon is the quantum particle of light. Quantum particle means very smallest particle.
Naturally Photon in wave nature.
Where is the Light come from?
How it can travel at high speed?
I will explain it detailly. Light is emitted from the electron. How?
In normal condition it will not emit anything. if we applied some energy means it will emit.
we all know in an atom electron revolve the nucleus. If we apply energy to the valence electron(electron's in last orbit) it jump from lower energy state to higher energy state.
Whats is lower energy state and higher energy state?
Normally every orbit has its own energy. In the last orbit also has some energy but low as compare to first orbit. So we need to apply only less amount of energy to jump electron to higher energy state and as quickly it returns to original position. When it return to original position it emits the supplied energy.
Now i hope you clear about how energy is transferring from electron.
Electron emits that energy in terms of photon. i already told combination of photon is a light.
then You have another question.
All the atoms has electrons then why light doesn't emit from that atoms like copper, zinc, etc.?
Why it emits only from some kind atoms like sodium, tungsten, etc.?
That's the good question.
What i told is right. All the atoms are emitting photons. But we can't see.Why?
Light depends on Energy of emitted photon. For each and every atom has different no.of electrons and different energies. So depends on that i will emits the photons.
I think you confused.
If we applied the force on the atom the electron goes to higher energy states. then it emits photon.
for example
daily in our life We are using tungsten lamp. In that when we switch ON suddenly it doesnt emit photon. Initially it get heated. Initially thats mean applied energy(electric power) is low so it getting heat if we applying energy continuously it getting more heated and goes to reddish color. if the applied energy goes over the limits means after wards only electrons starts to emit photon(like visible light). Before electron emit photon in visible range. it emits photon but with lower energy so cant see that it is in like infrared light spectrum.
All the atoms are emitting photons but depend on the energy light is produced in different range.
if we applied more amount of energy means electrons jumps to very higher energy states and it gets more vibrating so the frequency of emitted photon also high. According to the electromagnetic spectrum we can find which type of light range in emitted from the electron.
Now i hope all are clear about the concept of LIGHT.