Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

cant compile generics in JSP using TomCat 5.5

 
Greenhorn
Posts: 1
Hibernate Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67498
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 31
Netbeans IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67498
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I already posted the solution.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic