Forums Register Login

how to give an aliases to newly added servlet

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
it would be helpful if you show your web.xml and html files.
+Pie Number of slices to send: Send





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

+Pie Number of slices to send: Send
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 think I'll just lie down here for a second. And ponder this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1049 times.
Similar Threads
problems adding new parameters to a request
html:hidden
adding a servlet
Problem in Deployment
servlet aliases are not working
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:08:51.