Hi ,i convert contrller as jSp And presentation as
servlet ...will it do? if so what are advantage and
idsadvantages
Answer Posted / shankar
If u use Servlet as presentation layer,then if u want to
modify ur program in future ,u have to shutdown the server
and class file has to be updated.
If ur usig JSP as presentation layer no need to
compile,update and shutdown the server.server container will
take care of it.
we can use JSP as controller but any one can view our code
but in servlet it is not possible.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
What is append function?
When arithmeticexception is thrown?
Can we call the run() method instead of start()?
Why are pointers not secure?
What does it mean that a method or field is “static”?
Can an arraylist be empty?
How can you handle java exceptions?
What is a generic code?
What do you mean by thread safe?
what do you understand by synchronization? : Java thread
What are invisible components?.
What is hash table in java?
Is hashset sorted in java?
Where will it be used?