• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cant compile generics in JSP using TomCat 5.5

 
Tirthesh Ganatra
Greenhorn
Posts: 1
Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m using Tomcat 5.5 and while printing the list on JSP page it gives error...and the remote server sends the redirect to their own default error page...i don know what to do...please help...
thanks in advance!
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tirthesh Ganatra wrote:I m using Tomcat 5.5 and while printing the list on JSP page it gives error...and the remote server sends the redirect to their own default error page...i don know what to do...please help...
thanks in advance!


The more information you provide, the easier it is for people to answer your questions, look at Tell The Details
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are putting Java code into a JSP, then you are following a poor practice that has been discredited for almost 10 years now.

Move the Java code out of the JSP and into Java classes where it belongs.
 
Anand Gajjar
Ranch Hand
Posts: 31
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tirthesh Ganatra wrote:I m using Tomcat 5.5 and while printing the list on JSP page it gives error...and the remote server sends the redirect to their own default error page...i don know what to do...please help...
thanks in advance!


even i had the same problem. did you get the solution.?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already posted the solution.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving the Java code from the JSP into a proper class by itself won't fix the issue. You still need to tell us the details of your problem, like all the error messages you're getting, and post the related code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic