• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • 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: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • 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: 43027
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.
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic