my dog learned polymorphism*
The moose likes Tomcat and the fly likes cant compile generics in JSP using TomCat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "cant compile generics in JSP using TomCat 5.5" Watch "cant compile generics in JSP using TomCat 5.5" New topic
Author

cant compile generics in JSP using TomCat 5.5

Tirthesh Ganatra
Greenhorn

Joined: Aug 02, 2010
Posts: 1

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!


TG
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
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

Joined: Jan 10, 2002
Posts: 60765
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

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.?


do or die..!!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

I already posted the solution.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
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.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: cant compile generics in JSP using TomCat 5.5
 
Similar Threads
Running a web app with compiled code
Facing problem while tomcat 5.5 serves css, and jsp
problem with jstl tags
how to use List<Class_name> obj in tomcat 5.5 on jsp page.
isELIgnored="false"