• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Servlet Deployment!!!URGENT!!!!!

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have compiled the servlet and it is in the package "stocktr".
I have made the following changes to the weblogic.properties file:
weblogic.httpd.register.UserRegistration_Servlet=stocktr.UserRegistration_Servlet
And I have placed the servlet in the directory: E:/weblogic/myserver/servletclasses/stocktr/UserRegistration_Servlet.class
The HTML page which is calling the servlet is in the directory : ../public_html/reg.html
The ACTION tag has the following attribute : "stocktr.UserRegistration_Servlet"
I am getting Error 404 when i press the submit button.
Please let me know where am i wrong and what do i need to do urgently.
Thanks

Sagar
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you have registered the Servlet with weblogic.httpd.register.UserRegistration_Servlet, the servlet should be invoked with the name UserRegistration_Servlet.
Do not include the packaging structure.
Also make sure E:/weblogic/myserver/servletclasses is added to the classpath.
Hope this helps
-Sarath
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic