• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Servlet Deployment!!!URGENT!!!!!

Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have compiled the servlet and it is in the package "stocktr".
I have made the following changes to the weblogic.properties file:
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.

Posts: 7
  • Mark post as helpful
  • send pies
  • 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
    Bookmark Topic Watch Topic
  • New Topic