Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what to use html page or a servlet

 
gaurav chhabra
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir
i m making a website,as the user enters the user name and password and that will be get checked by a servlet ,if that one is ok then i want that response back him with other page which consist of several buttons...
my confusion is that should that page be of a html page or shpuld i be able to return a page in java with buttons made out in swing.
thank you
gaurav
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you need some dynamic page then should be a jsp page, otherwise html would be ok.

Swing! never ever.
 
Geeta Ramasami
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this scenario wherein u r working with website u can go in for html if the page has only static contents or JSP if it has some dynamic contents rather than designing the view with swings.
While designing web applications HTML for static and JSP for dynamic is preferrable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic