This content has been marked as final.
Show 2 replies
-
1. Re: JBoss/Tomcat error
brudvik Nov 25, 2005 7:50 AM (in response to brudvik)I figured out the sollution on my own. It appears that the line:
Enumeration enum = request.getParameterNames();
Is valid in JBoss while in Tomcat the particular word "enum" will throw
an exception since it appears that they have reserved that word for their
own usage (or something like it). Could be others that would have faced
that same problem, or will face that same problem sometime.
Cheers! -
2. Re: JBoss/Tomcat error
gedl Nov 25, 2005 8:27 AM (in response to brudvik)"brudvik" wrote:
I figured out the sollution on my own. It appears that the line:
Enumeration enum = request.getParameterNames();
Is valid in JBoss while in Tomcat the particular word "enum" will throw
an exception since it appears that they have reserved that word for their
own usage (or something like it). Could be others that would have faced
that same problem, or will face that same problem sometime.
Cheers!
Are you using Java 5.0? If you do, the word "enum" is reserved for the language itself, not for a specific AS.
Regards,
Gonçalo.