Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Deployment

 
Vishal Srivastav
Ranch Hand
Posts: 46
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I am having problem running a simple Login application using the Sun Application Server 8.2. I am describing my problem here and I need your help in the matter.

The code of the files are as follows -

index.html



LoginServlet.java



I am using deploytool for deployment provided along with the Sun App Server with the following values -

Context Root - LoginApp
Aliases - /Login.do

The application is getting deployed successfully. But when I am trying to run the application and sending the data, I am getting two errors -

On the 1st request -



On the 2nd request -



I am not able to find where the problem is arising. Please help me as I am in urgent need.

Thanks All.
 
Anuj Prashar
Ranch Hand
Posts: 99
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make your servlet class public instead of default access.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic