Coder Social home page Coder Social logo

esgi4_javaee's Introduction

JavaEE

How to use in IntelliJ ?

Fast way

The docs/idea folder contains an example of runner and artifacts

Copy the docs/idea to your .idea

Manually

First make sure you have a running TomCat Server.

Go to File -> Project Structure (CTRL + ALT + MAJ + S).

In project, select a SDK for the project

sdk

Next step is to download the MySQL lib to the project on MySQL website

Once you downloaded it, extract and copy the jar (ex: mysql-connector-java-5.1.46.jar) into the lib folder.

Then you will need to add it in IntelliJ as following

mysql_library

Create an artifact (Web Application: Exploded) and fill it as followed

base-war-exploded

In the end you will need to add a run option (based on Tomcat Server -> Local).

You will have a similar configuration to the following one.

alt full_tomcat_run_conf

Last step is how you want to implement MySQL parameters. With the resources/config.properties or the web/web.xml file

If you choose the config.properties way (easier to have a private file that will not be pushed on a repository), you will need to copy the resources/config.properties.dist to resources/config.properties and fill the parameters

If you choose the web/web.xml way, you will need to fill all the mysql_* parameters and extend the servlet.AbstractContextServlet class in all your Servlets, this way your Servlets will be properly configured to use the web/web.xml parameters

[]:

esgi4_javaee's People

Contributors

axele avatar mapsred avatar

Watchers

 avatar  avatar  avatar

esgi4_javaee's Issues

Create the verification account email

Create and send an email with a link to the website containing an uniq id (ex : serialization of the email and the BDD Id of the User)

This link will activate the user account and allow the user to access the user specific actions (ex : captcha, limited duration, ...)

Change password

When the user goes in the change password page, a form with 3 password fields appear.

The user needs to give his actual password, his new password, and verify his new password

The servlet to use is : servlet.user.account.ChangePasswordServlet

Page Mes URLS

Créer la page, qui doit être bloquée si l'utilisateur n,est pas connecté

Afficher un datatable pour les différents liens

Page Partner

Include an image like "Oncle Sam" but remastered for ESGI

Stats page

A simple stat page for a given shortened link

It need to contains the basic informations as the full link, the short link ,the creation date and an url to return to the list

And a chart (highcharts ?) with the number of click on 15 days

Account Index Page

An index page for the account with Informations personnelles as the change password and Mes Urls who will display all of your shortened URL with the full url, the sohrt url ,the creation date and a link to the stats page

Link visit

When someone access a shortened link

If it is a link without any security, instant redirect, otherwise ask the user for the given security (ex : captcha or password)

Submit and redirect to the shortened link if valid

Create the url shortener user page

This page is user only

You will need to create several checkox :

  • Captcha
  • Password (The password field will be displayed only if the password checkox is checked)
  • Limited duration (If checked, an input with a daterangepicker will be displayed)
  • Max click (displayed only if checked, will display an input)
  • Available until (displayed only if checked, will display an input with a datepicker)

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.