0

Hi guys
i m doing an EJB project on Library Management using NetBeans

Out of which the first Step create a "CREATE ACCOUNT" page & get all the details from User & store it in Database.
Using JSP for this.

Everything is created, but when i try to Click Submit button in WEbPAge, it gives an ERROR :

HTTP Status 404 -

type Status report

message

descriptionThe requested resource () is not available.

GlassFish Server Open Source Edition 3.1.2.2

Pls Help me GUys i dont know what to do ?

The <form> tag of create.jsp page :

 <form id="form1" name="form1" method="post" action="<%=request.getContextPath()%>/Servlet/createAccountServlet">

The Name of the Servlet fIle is createAccountServlet.java

3
Contributors
6
Replies
7
Views
4 Years
Discussion Span
Last Post by subramanya.vl
0

Check GlassFish log folder for log file and check for full error description. However from above it does look like you are requesting page doesn't exists, in many case type in name

0

I Checked that log folder also, but there aint any errors.
Yea i KnoW, this error doesnt provide much details, but i m helpless.

i also tried to type in the name, of that location

localhost:8080/Library-war/Servlets/createAccountServlet.java

but still the same error.

0

Given that you just started you could package your current code in ZIP file and attach to next reply or upload to github and someone can look at it. At the moment without seeing code none would be able to advice...

0

k
Thanks for ur Reply.
i Finally Manged to solve the error.

It was having multiple errors.

i Just Wanted to know that, after creating this EJB Project in NetBeans, if i want to actually deploy it on a WebSite, can it be done ?
if yes ? how ?

0

Website is just loose generic term for displaying data on web. You need Java enabled server to be able to run your site to which you need to deploy your working WAR/EAR file

0

@dharmil007
Google provides an App Engine(Application endgine) where you can deploy your web applications.
But I am not sure if you can deploy EJBs there.
Please check here on this link for more information.
http://googcloudlabs.appspot.com/

Edited by subramanya.vl

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.