可能是web.xml中servlet的配置有问题。

解决方案 »

  1.   

    检查一下,在tomcat下运行有没有问题
      

  2.   

    是不是web.xml没有配置好?这个不用手工动
    尽量不要随意更改文件名,或者删除文件。也容易出这种错误。你可以make整个工程试一下。project->make yourproject
      

  3.   


    谢谢大家,仔细检查了程序,
    把<form method="post" action="/controller?Service=DataShowService&target=/dataShow.jsp ">
    修改为
    <form method="post" action="./controller?Service=DataShowService&target=/dataShow.jsp ">
    就可以了。"."不是代表当前目录吗,而"/"默认也是当前目录呀,为什么会出现The  server  encountered  an  internal  error  (No  Context  configured  to  process  this  request)  that  prevented  it  from  fulfilling  this  request.  这种错误呢?
      

  4.   


    谢谢大家,仔细检查了程序,
    把<form method="post" action="/controller?Service=DataShowService&target=/dataShow.jsp ">
    修改为
    <form method="post" action="./controller?Service=DataShowService&target=/dataShow.jsp ">
    就可以了。"."不是代表当前目录吗,而"/"默认也是当前目录呀,为什么会出现The  server  encountered  an  internal  error  (No  Context  configured  to  process  this  request)  that  prevented  it  from  fulfilling  this  request.  这种错误呢?
      

  5.   


    谢谢大家,仔细检查了程序,
    把<form method="post" action="/controller?Service=DataShowService&target=/dataShow.jsp ">
    修改为
    <form method="post" action="./controller?Service=DataShowService&target=/dataShow.jsp ">
    就可以了。"."不是代表当前目录吗,而"/"默认也是当前目录呀,为什么会出现The  server  encountered  an  internal  error  (No  Context  configured  to  process  this  request)  that  prevented  it  from  fulfilling  this  request.  这种错误呢?
      

  6.   

    楼主,我也出现了你这一样的错误提示,但是不是这种情况,具体的问题你看这个页面
    http://community.csdn.net/Expert/topic/3565/3565952.xml?temp=.654339
    不知你解决没有
      

  7.   


    谢谢大家,仔细检查了程序,
    把<form method="post" action="/controller?Service=DataShowService&target=/dataShow.jsp ">
    修改为
    <form method="post" action="./controller?Service=DataShowService&target=/dataShow.jsp ">
    就可以了。"."不是代表当前目录吗,而"/"默认也是当前目录呀,为什么会出现The  server  encountered  an  internal  error  (No  Context  configured  to  process  this  request)  that  prevented  it  from  fulfilling  this  request.  这种错误呢?
      

  8.   

    . 代表当前目录没错,但是 / 却不是代表当前目录,而是代表 web application 的 ‘根目录’
      

  9.   

    谢谢,那通常应该怎么写action中的内容呢