What are the security issues in Servlets?
Answers were Sorted based on User's Feedback
Answer / bikash khuntia
1.Using Cookies is not secure for sending and recieving data
bcz everyone can view and modify the data in cookies
2.Using doGet() for sending user information to server
being visible in browser
| Is This Answer Correct ? | 57 Yes | 3 No |
Answer / akanksha agarwal
there are 2 type of applets-
*trusted
*untrusted
untrusted applets are constrained to operate in sand
box.they can not put the operations in user's machine which
are dangerous.this include reading and writing files.code
that are loaded from a remote machine is also untrusted.
trusted servers are those which are loaded from the local
machines.they are not dangerous for the system.
| Is This Answer Correct ? | 16 Yes | 4 No |
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
Explain the lifecycle of a servlet?
What are the steps involved in placing a servlet within a package?
If you want to modify the servlet,will the Webserver need to be ShutDown ?
What do you mean by interservlet communication?
What is a servlet-to-servlet communcation?
what are the way a client can be tracked?
Why is servlet used?
Can you use javascript in servlets?
What are the phases of servlet life cycle?
Life Cycle of servlets?
Is it possible to send a mail from a servlet? Explain?