Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deploy servlets in Sun One webserver 6.1?

 
dhanesh dhanan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where I have to place the servlet .class file in Sun One webserver 6.1?What is the URL I have to type in the browser? How can I solve the Status 404 error for servlets in Sun One Webserver 6.1. JSP
is working in my Sun One Webserver 6.1
 
Ashok ReddyP
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Just maintain the following structure of directories:

ProjectName
WEB-INF
web.xml
give the entry for the servlet that u have created.
classes
.class



If you wants to deploy to Sun one 6.1 web server

Make the whole files as a single WAR file and go to the administrative console http://yourIP:8888

Go to the deployment of the clients project,

just select it from local or server machine and click on deploy.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this question to the Sun[tm] One Application Server forum.

Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic