• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run this HTML form and the servlet

 
subodhk
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet code:

HTML code:

HTML form resides in directory c:\webapp
Servlet code and class is in c:\jswdk1_0_1\jswdk-1.0.1\webpages\web-inf\servlet\techsupport.*
In servlet code HTML1 is another user defined class,which is not in the same directory but I compiled it with -classpath option abd i guess that should be fine(since it compiled fine).
Lemme know what is the problem here.
Thanks
Subodh
Added UBB CODE tags to show your formatting
[This message has been edited by Frank Carver (edited November 08, 2000).]
 
Prasad Charasala
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Your html file should not be some where else. It should be in webpages folder.

------------------
Prasad
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Ranch has a naming policy, described here and "subodhk" is not a valid name. Please choose one which meets the requirements.
Thanks.
 
madhesh r
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read the readme and FAQ provided with jswdk. It gives all the details regarding where to put the files
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Ranch has a naming policy, described here and "madhesh r" is not a valid name. Please choose one which meets the requirements.
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic