• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic