• 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

Source code displayed in browser

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am facing strange problem in my application. When user login to the application some time browser directly displays the source code. This problem is not consistence.

If the user refreshes the page, he/she will get the proper screen.

Does any one experience such problem before? If so, what is the cause this problem?

Thank you,
Balaji
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Balaji,

You might want to give us some more details:

What container are you using?
Is it a standalone or does it have a webserver in front of it?
If the latter, what connector are you using to join the two?
Are you hitting the JSPs directly or through a controller?
Are you creating servlet entries for the JSPs?
 
Balaji Munuswamy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What container are you using?
It is using Apache as web server and Weblogic 8.1 for application server
Hi,


Is it a standalone or does it have a webserver in front of it?
it is using webserver in front

If the latter, what connector are you using to join the two?
Apache Http server is added as plug-in for weblogic

Are you hitting the JSPs directly or through a controller?
The request is submitted to servelt and the Response is forwarded to JPS using Request Dispatcher.

Are you creating servlet entries for the JSPs?
No. Response is forwarded to JPS using Request Dispatcher.

I think, I answered you question, Please let me know what could cause such problem.

Thank you,
Balaji
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not very familiar with Weblogic and whether or not it works as a standalone webserver.

With Tomcat/Apache or with Tomcat/IIS, the first test I do in a case like this is hit Tomcat directly. If I can't reproduce the problem with Tomcat as a standalone, then I consider it a safe assumption that the problem is in the connector configuration.

I wonder if this thread would do better in the Weblogic forum??
This type of issue is usually the result of a configuration issue; not a programming one.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Agreed. Moved to the Weblogic forum.
reply
    Bookmark Topic Watch Topic
  • New Topic