File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding drawbacks of JSP

 
Raj chiru
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

what are the draw backs if i use JSP as a controller for handling the requests and responses and using java code,scriptlets,declarations and expressions in jsp?
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raj chiru wrote:Hi Friends,

using java code,scriptlets,declarations and expressions in jsp?


There are old technologies and scriplets are hacker meal. Code in JSP are hard to maintain and you will not isolate your code from your view.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Impossible to test and convoluted as well.

Using JSP as anything other than a view is discredited with good reason.

Let's turn the question around. What's the advantage of using a JSP for Java code when it's easier and clearer (and less error prone) to write Java code in a Java class?

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic