Very Very Basic Tutorial On Spring

So since we have to use Spring/Hibernate framework for our Blood Bank project. Let's start with running the first application using NetBeans 6.0. Following are the steps..

1. Create New Project. Select Web category and web application project. Click Next.



2. Give a project name. Select the location you wish to create the project. Click Next.




3. Select the desired server and java EE version. Click Next.




4. Check Spring Web MVC 2.5 and click Finish.




5. Open redirect.jsp page if it's not loaded. It shows a jsp tag that allows you to place the URL to the desired page. Right click the redirect.jsp and run the page.




6. This is what you'll see in the browser.





"Hello! This is the default welcome page for a Spring Web MVC project.


To display a different welcome page for this project, modify index.jsp , or
create your own welcome page then change the redirection in redirect.jsp to point to the new welcome page
and also update the welcome-file setting in web.xml. "


More tutorials will be published soon.. :P

Posted By - Lakshmi

3 comments:

Anonymous said...

That's great...thanks...

Anonymous said...

whahahhahaha bagus2 ade update :p tq for sharing

Mr Dino said...

yay~~ SPRINGGG!!~~~