{"id":18310711,"url":"https://github.com/srikanth-josyula/spring-mvc-learning","last_synced_at":"2025-10-14T21:03:24.383Z","repository":{"id":224283196,"uuid":"762518713","full_name":"srikanth-josyula/spring-mvc-learning","owner":"srikanth-josyula","description":"Sample Spring MVC using XML Configurations","archived":false,"fork":false,"pushed_at":"2024-02-25T22:36:35.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T11:51:38.979Z","etag":null,"topics":["spring-beans","spring-mvc-framework"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srikanth-josyula.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-24T00:19:08.000Z","updated_at":"2025-01-19T08:01:37.000Z","dependencies_parsed_at":"2024-12-23T05:23:20.431Z","dependency_job_id":"af616f65-ad77-4644-9477-ea7e40498e8d","html_url":"https://github.com/srikanth-josyula/spring-mvc-learning","commit_stats":null,"previous_names":["srikanth-josyula/spring-mvc-learning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srikanth-josyula/spring-mvc-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-josyula%2Fspring-mvc-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-josyula%2Fspring-mvc-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-josyula%2Fspring-mvc-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-josyula%2Fspring-mvc-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srikanth-josyula","download_url":"https://codeload.github.com/srikanth-josyula/spring-mvc-learning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikanth-josyula%2Fspring-mvc-learning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020928,"owners_count":26086953,"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-10-14T02:00:06.444Z","response_time":60,"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":["spring-beans","spring-mvc-framework"],"created_at":"2024-11-05T16:15:19.188Z","updated_at":"2025-10-14T21:03:24.346Z","avatar_url":"https://github.com/srikanth-josyula.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring MVC Learning Project\n\nThis tutorial will guide you through integrating Jetty with Eclipse and running a web application on the Jetty server inside Eclipse.\n\n## Steps:\n\n### 1. Install Jetty Eclipse Plugin\n\nWhen adding a server to the Servers view in Eclipse, you won't find an option for Jetty like you would for Tomcat, JBoss, Apache, etc. You first need to install a plugin.\n\n- Go to Eclipse -\u003e Install new Software menu.\n- Click on \"Add\" and type the following:\n  - Name: Jetty\n  - Location: http://run-jetty-run.googlecode.com/svn/trunk/updatesite\n- Select the Jetty plugin to install.\n- Click \"Next\" and follow the installation process.\n\n### 2. Add Java EE Perspective (Optional)\n\nIf you're not already in the Java EE perspective, it's recommended to switch to it for easier access to Java EE-related tools and views.\n\n- Go to Window -\u003e Perspective -\u003e Open Perspective -\u003e Other...\n- Select \"Java EE\" and click \"OK\".\n\n### 3. Create a Web Application\nAfter restarting Eclipse, navigate to Project Explorer view or the New menu and click on New -\u003e Dynamic Web Project.\n- Configure the project by providing a name for it and click on \"Next\".\n- Click \"Next\" again.\n- Configure the Web Module.\n- Click \"Finish\".\n\n### 4. Running the Web Application\n\n- Select the application you want to run on Jetty.\n- Click on the \"Run\" button -\u003e \"Run Configurations\".\n- Configure your app on Jetty and click on \"Run\".\n- Wait for the server to start. You should see logs indicating that the server has started.\n- Open a browser and test the application.\n\n## Spring MVC:\n- Model: A model can be an object or collection of objects which basically contains the data of the application.\n- View: A view is used for displaying the information to the user in a specific format. Spring supports various technologies like freemarker, velocity, and thymeleaf.\n- Controller: It contains the logical part of the application. @Controller annotation is used to mark that class as controller.\n- Front Controller: It remains responsible for managing the flow of the web application. DispatcherServlet acts as a front controller in Spring MVC.\n\n## Spring Concepts in the Project:\n- XML-based configuration of Spring MVC components\n- XML auto scanning\n- Configuration of InternalResourceViewResolver to resolve view names to JSP files\n- Configuration of the DispatcherServlet in the web.xml\n- The servlet name and the spring configuration file name should match, and it should follow YourServletName-servlet.xml, Here we have spring and spring-servlet.xml\n\nHappy Coding!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrikanth-josyula%2Fspring-mvc-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrikanth-josyula%2Fspring-mvc-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrikanth-josyula%2Fspring-mvc-learning/lists"}