| Author |
how to give an aliases to newly added servlet
|
abhay jain
Ranch Hand
Joined: Jun 03, 2011
Posts: 130
|
|
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
Joined: Jul 09, 2011
Posts: 272
|
|
it would be helpful if you show your web.xml and html files.
|
Ashwin Sridhar
SCJP | SCWCD | OCA
|
 |
abhay jain
Ranch Hand
Joined: Jun 03, 2011
Posts: 130
|
|
----------------------------------------HTML file----------------------------------
|
 |
Ashwin Sridhar
Ranch Hand
Joined: Jul 09, 2011
Posts: 272
|
|
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
|
 |
 |
|
|
subject: how to give an aliases to newly added servlet
|
|
|