I think i found the answer to the problem myself. And am posting here to help any one else who comes across the same problem.
I could find no documentation on how to setup the custom configurations for WebSphere. All of the documentation explains how to modify those settings, after the application/WAR is deployed. Which means it has to be done every time. My assumption is that most of the people targeting WebSphere use a WebSphere specific IDE like RAD or something to do this configuration for them.
Since I donot develop specifically for WebSphere and RAD is rather expensive, I found an alternative in Netbeans.
This is how it works: (Applicable for Netbeans 6.x and Web Sphere 6.x) 1. Add a WebSphere server to the list of servers in netbeans 2. Create a new Web Project from netbeans and in the server selection screen use the WebSphere server. 3. Netbeans will generate the netbeans specific configuration files (ibm-web-bnd.xmi and ibm-web-ext.xmi) It will also provide you a GUI to configure their values. 4. Once you have configured their values, copy those 2 files to the WEB-INF folder of your project. (The names of the 2 projects donot matter, because nowhere in the 2 files is the name of the Web Application mentioned.) 5. To add any JSP attributes or any other parameter in these files. Just make the modifications. The 'ids' need not be in sequence. They just need to be unique (The reason I mention this is because the way the IBM help files display the help makes it seem like it is required to be in a numerical sequence.) 6. Ensure that they 2 files get packed into the WAR 7. When deploying the WAR in WebSphere ensure that you select "Use Binary Configuration" (It is on the second screen of installing)
Now the configurations should be in effect. In my case i could confirm it becasue my JSPs started compiling with java 1.5 constructs, and i set the source level for JSPs to 1.5 via those config files.
Hope this helps.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com