Giter VIP home page Giter VIP logo

first-spring-mvc's Introduction

İlk Spring MVC Denemesi

Spring MVC Form Handling, URL Mapping, Input Validation, Insert data to mysql server with spring jdbc örnekleri.

Gereksinimler

  • JDK 1.8
  • Eclipse IDE veya Maven
  • Tomcat 8.5
  • MySQL Server

Kurulum

  1. Gereksinimler kurulu olmalı. (Maven Eclipse IDE'de yerleşik olarak varsayılan olarak bulunmaktadır.)

  2. lokumcu.sql dosyasını MySQL sunucunuza import etmelisiniz. terminal kullanıcısı iseniz aşağıdaki kod ile sql dosyasını import edebilirsiniz.

  3. resources içerisinde yer alan user-beans.xml dosyasında gerekli mysql konfigürasyon düzenlemelerini yapmalısınız.

  4. Projeyi Eclipse IDE'ye Import yaptıktan sonra Project Properties içerisindeki sol sekmeden Project Faucets olarak Dynamic Web Module ve Java seçili olmalıdır.

  5. Servers Sekmesinden Tomcat 8.5 üzerinde sağ tık yapıp Add and Remove seçip sol tarafta görünün projeyi Add butonuna tıklayıp Configured alanına taşınmalı.

Deploy İşlemi

WAR uzantılı olarak projemizi export edip Tomcat'in kurulu dizini içerisindeki webapps klasörü içerisine taşımanız yeterlidir.

Notlar

sbMask plugini, veri girişi yapılan noktalarda yalnızca backscape ile silme işlemini destekliyor. Select Range, paste event tarzı diğer eventler desteklenmemekte.

sbValidate ve sbMask fonksiyonları birer jQuery kütüphaneleridir. sbValidate için ek olarak showPopup fonksiyonu script.js'ten çağırılmaktadır.

Sweetalert2'nin güncel sürümünde fire sonrası scroll sorunu mevcut internette bu tip sorunlarla karşılaşılmış fix gelene kadar geçici bir çözüm uygulandı.

datepicker ile sbValidate uyumlu çalışabilmesi için ufak bir sleep time gerekiyordu o yüzden sbValidate fonksiyonuna SleepTıme değeri eklendi.

first-spring-mvc's People

Contributors

dependabot[bot] avatar syntaxbender avatar

Watchers

 avatar  avatar

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.