• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP source thrown out  RSS feed

 
Raghunandhan Ramanujam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have my application with apache and tomcat in the regular configuration with a JSP opening page.
When the application is in the process of starting, if I access the opening page from my browser, the opening page source is shown.
What do I need to do in order to show a message that the server is being started (or to show a "cannot find page" message)
 
w hc
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must accept jsp page for the http protocol.
Example:
page:test.jsp
Accept:http://localhost:8080/test.jsp
is ok~~~
 
Raghunandhan Ramanujam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats exactly what I did and still I get the source.
I access it as http://localhost:<port-no>/
I dont specify the page name since I have that configured in my server.xml
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!