aspose file tools*
The moose likes JSP and the fly likes web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "web.xml" Watch "web.xml" New topic
Author

web.xml

Jenny Lan
Greenhorn

Joined: Jun 25, 2012
Posts: 11

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

Joined: Mar 19, 2009
Posts: 57
Can You please explain what you mean by 'on the web' ?

Regards
Jenny Lan
Greenhorn

Joined: Jun 25, 2012
Posts: 11
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

Joined: Jan 28, 2008
Posts: 5575

Jenny Lan wrote:
on the web shows test.TestServlet dirPath C:\temp\upload

how did you show this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml