Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to give an aliases to newly added servlet

 
abhay jain
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am new with servlets , i have deployed a servlet(by sun deployment tool) and an html successfully
i am trying to add a new html form (added successfully )that sends the submitted data to a newly added servlet


when i pressed submit button of HTML form it was unable to find that Myname.class file

here is that error i am facing
___________________________________________________________________
HTTP Status 404 - /router/myname

type Status report

message /router/myname

description The requested resource (/router/myname) is not available.
___________________________________________________________________

in my opinion >>
this all happens because aliase for Myname.class is not available,
so can you tell me how to give an aliases to newly added servlet in deployment tool of the sun java system application server.......... or please tell me what is your opinion on it
 
Ashwin Sridhar
Ranch Hand
Posts: 272
Flex Oracle Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it would be helpful if you show your web.xml and html files.
 
abhay jain
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator





----------------------------------------HTML file----------------------------------

 
Ashwin Sridhar
Ranch Hand
Posts: 272
Flex Oracle Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your action name and url pattern are not same. it is case sensitive.
your action is my name and url is Myname.
This is the reason
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic