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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -