This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I don't think it would be anything to do with a server running on Linux.
Can you provide more details about the setups, the ones that you say are working and the ones that aren't?
What are you using for a web server?
When you say it works fine in your setups, is it also on a Linux box?
Joined: Mar 12, 2009
Following are the details:
1: Webserver : IBM WebSphere.
2: The setup is on a Windows box.
Also , one thing here is that, the other JSP pages are getting displayed on the linux box except a single JSP page. After putting System.out's we came to know that the logic is running fine, the query is returning proper results but it is not getting displayed at all.
The same page is getting displayed on our windows setup.
So what I think is that the issue might be with the displaying logic. But since its working on other setup we're not able to find the exact reason why it might not be working on the linux browser.
I think you need to do comparative analysis between pages that are working fine and those not working at all.
Or else you can try to execute the problematic page code , segment by code segment from beginning till end and identify the segment with which it's not working fine.
Joined: Mar 12, 2009
Just tried step by step. Now if I only display the basic headers and footers etc , the page is getting displayed. After this when I include a statement "JSP Include" and try , the page is not getting displayed.
This JSP include calls a servlet and further a .java file which executes the backend logic and retrieves the records.
So since this is working on windows machine, is there some translation issue on the linux machine? Other pages are working fine with similar changes.
I don't think that is a problem with linux. Java itself is written as "Write once run any where". I use Ubuntu to code and upload to the server and the same can be accessed by any operating system either it's windows or linux or mac. Please try to cross check your jsp code.