• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

How to design my application

 
Ranch Hand
Posts: 35
Google Web Toolkit PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm new to servlet and jsp. And now i'm ok with both servlet and jsp. Have a plan to start with the simple project. (Login form-> authentication -> a simple form entry with simple validations -> Saving the fields in the database -> Admin login -> Edit and delete the form entries.). My problem is how i can design the project. Whether i can do all the stuffs by using only the jsp or i have to use Servlet also. I knew without servlet itself we can do it. But which is the most recommended one?? Please guide me !!
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would recommend reading head first servlets and jsp (new edition) and then try maybe spring,
download documentation, read through and start simple app.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't use only JSPs - in fact, it is better to use as little Java code as possible in your JSPs. That's because JSPs are really about the HTML and how your application looks, while the Java code is really the underlying business logic. Mixing them up will quickly make your program a mess where it is hard to find out what is happening. Put Java code in servlets, and let those servlets forward requests to JSPs, and let the JSPs handle only the displaying of content as much as possible.
 
Raga Jana
Ranch Hand
Posts: 35
Google Web Toolkit PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply. I like to follow the Jesper de Jong way.
 
He's giving us the slip! Quick! Grab this tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic