jsp - How to host java application in AWS EC2 linuix machine? -


i developed java web application using eclipse (jsp,servlet), end using mysql, hosting application created linux machine in ec2 instance.
on ec2 machine installed tomcat7 , mysql (database), deployed application in tomcat.

directory structure in tomcat7 directory structure in tomcat7

jdbc jar file put inside web-inf/lib. when accessing application remotely able access jsp page login page, in login page in putting login id , password after request transferred servlet page in taking login id , password.

after calling database method check userid , password ; if password , login id correct transferring request page after servlet not able call database method , it's showing following output:

output: output


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -