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 |
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What are the advantages of Servlet over CGI?
What is the use of welcome-file-list?
where the generated jsp source file are stored?
What are the uses of servlets?
Whether we can get deadlock situation in servlets?
If some new data has entered the database, explain how can a servlet refresh automatically?
Can we use javascript in Servlets?
Difference between java beans & servlets?
What is a parser. What does a parser do with a XML? Why do we need it?
Explain the difference between servletconfig and servletcontext in servlet?
Is dispatcher servlet a singleton?