File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

whats wrong in my DD ?

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a simple servlet code that take the combo box selected value from a html form and display it in the same page
i have compiled the servlet's .java code and put it into

and my dd looks like

class file name is BeerSelect

so when i click on submit button on that html page action triggers and container looks for servlet file , but shows me a message resources not found 404 error
 
Nitin Surana
Ranch Hand
Posts: 129
Java Netbeans IDE Windows
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As long as I remember servlet-name shouldn't contain spaces. Try removing the space between Ch3 Beer in serlvet-name tag.
 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nitin Surana wrote:As long as I remember servlet-name shouldn't contain spaces. Try removing the space between Ch3 Beer in serlvet-name tag.

no, that is also not working, but surelly i would like to make a comment on head first servlets and jsp book
the examples which they have given are not precise and accurate
i guess they are correct for unix but not for windows , just started and found example errors in 1st chap
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

pay attention to the packages chain . is that start with classes ?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
naved momin wrote:
i guess they are correct for unix but not for windows

How it is possible for a Java web application to be workable on Unix but not on MS Windows?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic