{"id":20367226,"url":"https://github.com/namila007/ssm_framework_test","last_synced_at":"2026-05-16T00:36:41.147Z","repository":{"id":119178049,"uuid":"113070620","full_name":"namila007/SSM_Framework_Test","owner":"namila007","description":"This is a test for integrating Spring+Struts+Mybatis framework for JavaWeb project","archived":false,"fork":false,"pushed_at":"2018-01-09T15:00:11.000Z","size":30827,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T19:39:28.342Z","etag":null,"topics":["java","mybatis","mybatis-generator","spring","spring-struts2-mybatis","sql","struts2","struts2-spring-mybatis","webapplication"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/namila007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-04T17:03:49.000Z","updated_at":"2017-12-04T20:06:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"dba6151a-726b-4afa-b9f5-3b0a4b707126","html_url":"https://github.com/namila007/SSM_Framework_Test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/namila007/SSM_Framework_Test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namila007%2FSSM_Framework_Test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namila007%2FSSM_Framework_Test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namila007%2FSSM_Framework_Test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namila007%2FSSM_Framework_Test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namila007","download_url":"https://codeload.github.com/namila007/SSM_Framework_Test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namila007%2FSSM_Framework_Test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268448362,"owners_count":24252019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","mybatis","mybatis-generator","spring","spring-struts2-mybatis","sql","struts2","struts2-spring-mybatis","webapplication"],"created_at":"2024-11-15T00:29:55.030Z","updated_at":"2026-05-16T00:36:41.117Z","avatar_url":"https://github.com/namila007.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSM_Framework_Test\nThis is a test project for integrating Spring+Struts+Mybatis framework for JavaWeb project. \n\n## ---How to Run---\n------\n### Basic Setup for IntelliJ Idea\n##### 1. Clone the git and import the project in to IntelliJ Idea(or use eclipse).\n\u0026nbsp;\n##### 2. setup the basic configurations\n* add `Web/WEB-INF/lib` to library path\n![screenshot_4](https://user-images.githubusercontent.com/18147085/33571605-90dc4516-d956-11e7-9c28-593adb3d0af4.jpg)\n\n* add **modules** `Struts2,Spring,Web` and give thier relevant config files (for spring-`spring-config.xml` ,for struts-`struts.xml` \n![screenshot_5](https://user-images.githubusercontent.com/18147085/33571567-661e0e86-d956-11e7-911f-83a7a530c964.jpg)\n    ![screenshot_6](https://user-images.githubusercontent.com/18147085/33571761-0fa383e6-d957-11e7-817e-464c3d536c17.jpg)\n\n* add `TOMCAT libraries` make them **EXPORT**\n ![screenshot_9](https://user-images.githubusercontent.com/18147085/33571771-15b8faae-d957-11e7-9155-39aeefb10fce.jpg)\n\n* add **Facets**\n![screenshot_7](https://user-images.githubusercontent.com/18147085/33571763-1015c208-d957-11e7-86aa-67fe67e55c5c.jpg)\n![screenshot_8](https://user-images.githubusercontent.com/18147085/33571766-12bd1e70-d957-11e7-96cd-391fa68d5578.jpg)\n\n* create **Artifact** in type of `War Exploded`\n![screenshot_10](https://user-images.githubusercontent.com/18147085/33571772-17089702-d957-11e7-885e-5bc054126ee7.jpg)\n\n\n##### 3.Setup the TomCat Run configurations\n* go to run configuration and add `Tomcat server\u003eLocal` \n[Download Tomcat](https://tomcat.apache.org/download-80.cgi)\n![screenshot_10](https://user-images.githubusercontent.com/18147085/33572266-6db38bf6-d958-11e7-8557-05ba1acc2262.jpg)\n------\n### Create MySQL DB\n\n##### 1. create a database called `struts` and a user with **username=`struts1` \u0026 password=`abc123`** or just change the `jdbc.properties` username and password to `root`(so no need to create another user)\n\u0026nbsp;\n##### 2. Transfer database privilages for newly created user\n\u0026nbsp;\n##### 3. Run the Ant file `build.xml` in **DATABASE** folder\n----\n\u0026nbsp;\n\n### Mybatis Generator\n\n##### 1. Run the Ant `build.xml` file in project root \n---\n\u0026nbsp;\n---- \n#### Compile \u0026 Build the project and Deploy the Artifact\n![screenshot_12](https://user-images.githubusercontent.com/18147085/33572759-e290dcde-d959-11e7-851f-3b521deb8564.jpg)\n\n\u0026nbsp;\n-----\n#### Others\n* i have added some comments so you will be able to understand what i did there\n\n\n\n---\n### Resources\nit was hard to find the resource for SSM framework, here's some reosurces found from chinese sites\n* [tutorial 1]( http://blog.csdn.net/lk7688535/article/details/51243753)\n* [transaction tx method](http://blog.csdn.net/u012964143/article/details/43761509)\n* [Maven version](http://blog.csdn.net/AC_great/article/details/47614273)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamila007%2Fssm_framework_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamila007%2Fssm_framework_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamila007%2Fssm_framework_test/lists"}