What is the location of servlets?

pts.
Tags:
Development
HTML
J2EE
Java
JSP
Oracle Business Applications
SQL
Web site design & management
I have not been successful in executing a servlet whose physical location is C:MyWorkMyProjectclassesmyServlet.class. In the jsp file I have <form action="../classes.myServlet" method="post">. But, when I run the project within JDeveloper and when tried to execute the servlet, I get "The Page Cannot be Found" error. I can see the OC4JServer starts running and the URL which it points to is "http://10.8.10.185:7969/classes.myServlet". I am confused not knowing where to keep the servlet. Any help will be appreciated.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You have to use the string that you have written in <url-pattern> in the form action
ie.
<b>
<form action=”<url-pattern string>” method=post>
</b>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following