syau [
https://community.jboss.org/people/syau] created the discussion
"JBoss AS7.1.1 - JSP implicit package import"
To view the discussion, visit:
https://community.jboss.org/message/760480#760480
--------------------------------------------------------------
Currently migrating my web application from Weblogic 10.3.5 to JBoss AS7.1.1.
I have this in my web.xml - Servlet API 2.3,
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "
http://java.sun.com/dtd/
http://java.sun.com/dtd/*web-app_2_3*.dtd">
In some JSP's, no import statements available for classes like
'java.util.Date', 'java.util.Iterator' etc. In weblogic, these classes get
implicitly imported and getting
executed fine.
In JBoss this throws error like 'Unable to compile class for JSP ... Date cannot be
resolved to a type'. I can manually add the necessary import statements in
my JSP to make it work fine, but just curious if there is a way in JBoss to achieve
implicit package import similar to weblogic.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/760480#760480]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]