i have developed
jsp application using netbean with build-in glassfish v2.
from other topic i have learn to deploy it without keeping netbeans running by creating war file and deploy it in
java base web server.
i have try it, it work but i can't connect to my database.
i'm using Sun Java System Application Server to deploy it, and mySQL as database.
when i run the page it show "java.lang.ClassNotFoundException: coms.mysql.jdbc.Driver".
note: my jsp page work well if i'm running it from netbeans.
how can i make it connect to the database?