This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Http404 file not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Http404 file not found" Watch "Http404 file not found" New topic
Author

Http404 file not found

bala south
Greenhorn

Joined: Apr 28, 2008
Posts: 8
what is DD configuration
[ April 28, 2008: Message edited by: umabala balamurugan ]
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

send your DD configuration...
bala south
Greenhorn

Joined: Apr 28, 2008
Posts: 8
i am deploying servlets in sun application server
<html>
<form action="http://localhost:8080/loanctx/classes/LoanServlet">
<input type=text name=rate>
<input type=text name=time>
<input type=text name=amount>
<input type=submit value=submit>
</form>
</html>

i have set /loanctx as contextroot

my error is

HTTP Status 404 - /loanctx/classes/LoanServlet

--------------------------------------------------------------------------------

type Status report

message /loanctx/classes/LoanServlet

description The requested resource (/loanctx/classes/LoanServlet) is not available.
bala south
Greenhorn

Joined: Apr 28, 2008
Posts: 8
i am deploying servlets in sun application server
<html>
<form action="http://localhost:8080/loanctx/classes/LoanServlet">
<input type=text name=rate>
<input type=text name=time>
<input type=text name=amount>
<input type=submit value=submit>
</form>
</html>

i have set /loanctx as contextroot

my error is

HTTP Status 404 - /loanctx/LoanServlet

--------------------------------------------------------------------------------

type Status report

message /loanctx/LoanServlet

description The requested resource (/loanctx/LoanServlet) is not available.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi umabala,

DD configuration means,

servlet mapping files in web.xml

send me your web.xml file
bala south
Greenhorn

Joined: Apr 28, 2008
Posts: 8
there is no need to set web.xml in java sun application server
bala south
Greenhorn

Joined: Apr 28, 2008
Posts: 8
how to deploy servlet in sun application server
what could be the problem
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi umabala ..

use link below ..Hope it will help you

http://docs.sun.com/app/docs/doc/819-3656/6n5s3qjg2?a=view

thanks & regards,
seetharaman
bala south
Greenhorn

Joined: Apr 28, 2008
Posts: 8
my pbm was not solved

i am getting 404 error
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by umabala balamurugan:
my pbm was not solved


Please use real words when posting to the ranch.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Http404 file not found