Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within WebSphere
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
WebSphere
Websphere 6.1 and JDK 1.5?
Sergio Felix
Greenhorn
Posts: 9
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hey guys I've tried to get Websphere to work with
java
1.5 by
adding a parameter
to the web component configuration as seen here:
However I still get lots of:
Syntax error, 'for each' statements are only available if source level is 5.0
Im i doing something wrong?
Sergio Felix
Greenhorn
Posts: 9
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Im going to answer my self here:
I added a file named: ibm-web-ext.xml in the WEB-INF directory of my Netbeans project:
<?xml version="1.0" encoding="UTF-8"?> <webappext:WebAppExtension additionalClassPath="" autoLoadFilters="false" autoRequestEncoding="true" autoResponseEncoding="true" defaultErrorPage="" directoryBrowsingEnabled="false" fileServingEnabled="true" preCompileJSPs="false" reloadInterval="3" reloadingEnabled="true" serveServletsByClassnameEnabled="true" xmi:id="WebAppExtension" xmi:version="2.0" xmlns:webappext="webappext.xmi" xmlns:webapplication="webapplication.xmi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <webApp href="WEB-INF/web.xml#WebApp"/> <jspAttributes xmi:id="JSPAttribute_12296226521" name="jdkSourceLevel" value="15"/> </webappext:WebAppExtension>
the important line is the:
<jspAttributes xmi:id="JSPAttribute_12296226521" name="jdkSourceLevel" value="15"/>
Everything now works =)
[ December 18, 2008: Message edited by: Sergio Felix ]
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Create your own Simpsons character
Javaranch logo changed?
Serial killer or computer programmer?
youngest SCWCD???
graphic errors
More...