• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

web.xml

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>


 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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


how did you show this?
 
reply
    Bookmark Topic Watch Topic
  • New Topic