• 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

index.jsp problem

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey
This is probably a basic question, but my index.jsp is not being processed, instead i just get the text of the file which is not even being treated as html by my browser. I've spoken to the webmaster and he showed me that it was listed with index.html, index.php etc. in one of the apache conf files. Does anybody know how to fix this problem? At the moment I'm using a meta tag in index.html to automatically load the jsp but it's not good enough.
thanks,
Brendan
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it might be a silly question but you do have a java server serving the thing and not just apache right? the java has to be processed by a special kind of server
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
may be you should add "index.jsp" to your list fo welcome-files in web.xml

Originally posted by Brendan Kennedy:
Hey
This is probably a basic question, but my index.jsp is not being processed, instead i just get the text of the file which is not even being treated as html by my browser. I've spoken to the webmaster and he showed me that it was listed with index.html, index.php etc. in one of the apache conf files. Does anybody know how to fix this problem? At the moment I'm using a meta tag in index.html to automatically load the jsp but it's not good enough.
thanks,
Brendan

 
Brendan Kennedy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the replies, but I think it's because there's no tomcat-apache.conf file on the server. I did some research and it seems you need it to be linked to in httpd.conf as well as having the index.jsp entry. After all it was being treated as an index file, it was just not being processed by tomcat.
Brendan
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic