Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

placing HTML files

 
madhur jain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!
i am a beg. in servlets.
the dir.
C:\WINDOWS\Desktop\jsdk2.1\webpages\WEB-INF\servlets
is where i place my servlets and i execute them using
http:/localhost:8080/servlet/MyServletclass
but can some one tell me where should i place the static html pages that need to post data to the servlet
i.e.
<form action="servletclass" method=post> should post data to the servlet named "servletclass"
in which dir. should i place the html page.
thanx
madhur.
 
Billy Talton
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on which container you are using.
 
madhur jain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well i am using just jsdk2.1
madhur.
 
Thomas Hubschman
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See my reply to your other post:
http://www.coderanch.com/t/355292/Servlets/java/placing-HTML-files
Thomas
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic