• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP Application on a simple website.

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there...is it advisable to put Java Servlets on a simple website? Like for example, A furniture website (ex. http://www.sauder.com/). Thanks in advance.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As opposed to what?

If you have dynamic content or the need to process HTML form posts, then servlets are a fine choice.

That link points to an app written in MS-ASP. Are you asking us if you should switch? Maybe if you explain your question in a little more detail, we could be more helpful to you.
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There I found two questions in this post.
1) Simple application on JSP
2) Simple application on Servlets

First I would like to tell you that there is no vast difference between JSP & Servlets.
Both can be used for dynamic websites.

JSP are simply the html pages with some Java code encapsulated in special tags. We use them in that case when a smaller part of page is generated dynamically.

Servlets on the other hand, are pure Java classes extended from javax.servlet.http.HttpServlet. They can generate html pages too.

Answer is simply based on your website requirements if you want to create a static, content-based Web application that contains no dynamic elements, such as JSP files or servlets.

Or if you want to create dynamic Web sites like you mansion ( http://www.sauder.com/ ) build on ASP, so you can also use JSP or Servlet to this dynamic websites with much more technologies such as Struts and JavaServer Faces etc...
 
S. S. Diaz
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Very sorry Mr. Ben but I'm not really asking you to switch to ASP. I'm just really asking is about the JSP on a simple page. Hope you understand... . Ok, thank you again.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Simply repeating a vague question does nothing to make it any clearer.

You'll have to do a better job of explaining what you mean by "simple website" and "simple pages".
 
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi there...is it advisable to put Java Servlets on a simple website? Like for example, A furniture website (ex. http://www.sauder.com/). Thanks in advance.


I strongly recommend java servlets, three times a day (before meals). Just kidding! Yeah go ahead man, use servlets for the website.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic