The following are some of the disadvantages of client-side scripting compared to JSP:
- The user's browser must have scripting enabled, which is not always the case
- The client-side code can only be guaranteed to work for all the brower types it has been tested against. It can be a pain to code for multiple browsers
- Client-side scripts have limited access to server-side resources (eg: databases)
- Client-side scripting languages are less versatile than Java.
- JSP enables clean separation of business logic from presentation
- JSP is not limited to a specific platform, being Java-based and compiled into bytecode.
- As JSP pages execute on the server it does not matter what browser or configuration the client has.
- JSP has full access to server-side resources.
0 comments:
Post a Comment