Visitar URL original
GitHub - alnero/Moustache_Pictures · GitHub
Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moustache Pictures

Servlet/JSTL + MySQL + Tomcat + Intellij Idea

Building of web-app and deploying to Tomacat is performed in Intellij Idea. All required libraries included in project lib folder.

MySQL

SQL script for creating a database table is in DBCreateScript.txt

Tomcat

Add following inside <Context> tag to context.xml found in Tomcat\conf folder. Don't forget to paste your username/password

   <Resource name="jdbc/web_app" auth="Container" type="javax.sql.DataSource"
             maxActive="100" maxIdle="30" maxWait="10000"
             username="" password=""
             driverClassName="com.mysql.jdbc.Driver"
             url="jdbc:mysql://localhost:3306/web_app"/>

Intellij Idea

In order to have access to the image you upload add external directory e.g. c:\UploadedImages to Run/Debug Configurations and assign it to application context /images

alt text

Fingers crossed, you will get the following:

alt text

alt text

alt text

alt text

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages