• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml

 
Jenny Lan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have the following codes in my web.xml and it works fine. However, on the web shows test.TestServlet dirPath C:\temp\upload
What should I do in order to eliminate the test.TestServlet dirPath C:\temp\upload shows on web.

<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>test.TestServlet</servlet-class>
<init-param>
<param-name>dirPath</param-name>
<param-value>C:\temp\upload</param-value>
</init-param>
</servlet>


 
utsav gupta
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can You please explain what you mean by 'on the web' ?

Regards
 
Jenny Lan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
utsav gupta wrote:Can You please explain what you mean by 'on the web' ?

Regards



I run http://localhost:8080/TestServletUpload/upload.jsp
and it shows test.TestServlet dirPath C:\temp\upload that are in web.xml. How do I eliminate it ?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jenny Lan wrote:
on the web shows test.TestServlet dirPath C:\temp\upload

how did you show this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic