Why can't we make jsp as a controller and action
servlet in struts?

Answer Posted / raghu

When JSP compiles, internally the jsp compiler converts the
servlets and compiles servlets java and generartes the
class file. Every time it will do the same thing, so it may
take several time. It may cause performance issue.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to overcome the exception object reference not set to an instance of object?

909


Can you extend main method in java?

861


What is unmodifiable collection in java?

725


How many functional interfaces does java 8 have?

822


What is the inheritance?

757


Does substring create a new object?

775


Is set sorted in java?

715


How do you break a loop?

781


How many classes can any class inherit java?

742


How do you ensure that n threads can access n resources without deadlock?

1097


What is the size of a string in java?

754


Define jre i.e. Java runtime environment?

796


What does singleton class mean?

741


I want to persist data of objects for later use. What’s the best approach to do so?

720


What do you mean by inner class in java? Explain

829