This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
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 JavaScript Promises Essentials this week in the JavaScript 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: 61589
    
  67

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: 61589
    
  67

I already posted the solution.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42585
    
  65
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cant compile generics in JSP using TomCat 5.5