Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Executing Servlets  RSS feed

 
Shilpa Pisipati
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all !!

My problem is when iam trying to execute some servlet pgms through tomcat directory list a dialog box appears asking that do i want to " download or save that particular servlet pgm "

Hence am not able to see my output......

But this is not happening for all the pgms......

Please help !!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is when iam trying to execute some servlet pgms through tomcat directory list


Servlets only execute when the servlet container receives a request.

It seems likely that you have not configured the servlet deployment descriptor (web.xml file) correctly or your directory structure is incorrect. Have you gone through one of the many servlet tutorials?

Bill
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use real words when posting to the forums. Abbreviations such as "pgms" in place of "programs" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!