2008/6/21 Caldarale, Charles R <[EMAIL PROTECTED]>:
>> From: Johannes Schmidt [mailto:[EMAIL PROTECTED]
>> Subject: Getting Tomcat 6 to compile JSP with Java 1.6
>>
>> I have just spent 4+ hours trying to get Tomcat 6(.0.14) to compile my
>> JSPs with Java 1.6.  I have googled, found some things and tried, but
>> have had no luck getting it to work.
>
> I think you're trying too hard.  Tomcat 6 compiles JSPs using 1.5 syntax 
> right out of the box, with no changes.  You don't need to rename anything, 
> configure anything, or toss the magic crystals anywhere.  I'd suggest 
> starting over with a clean Tomcat installation and see if it works before you 
> start changing things.
>


Well, aren't I quite the idiot?  Sorry for wasting your time, but
thanks very much for responding!  Goes to show I shouldn't do these
things when I'm exhausted.

I've reverted to the standard configuration.

I've also just realised that the original error that sparked my
ill-founded investigation had nothing to do with generics, except
insofar as I removed a bunch of casts when I updated some HashMaps to
use generics, and  in the process accidentally removed a cast from a
request.getAttribute() call.

Again, apologies for the time wasting (believe me, I really am sorry
that I wasted so much time -- I've been up all night -- it's almost 6
am here now).

Next time I'll sleep first, and ask questions the next day, if I still
can't solve them.

Cheers,
Johannes.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to