Home Tutorialhelp Comment Hi friends.. "Servlet action is not available"

 
 

Comment

Dev
Hi friends.. "Servlet action is not available" ,
February 22, 2007 at 4:29 PM

Hi friends..

"Servlet action is not available"

Means, ur path is not appropate so plz check out the value of ur type attribute in the sturts-config.xml is right or not and name attribute is right or not.

if ur using DataSource then make it comment and then try to run ur application..if it works it means ur Datasource is creating problem. then find where.

I m writting here some code.


<action input="/loginForm.jsp"
name="NewStrutsActionForm"
path="/login"
scope="session"
type="com.myapp.struts.NewStrutsAction">
<forward name="success"
path="/loginSuccessful.jsp"/>
<forward name="cancel"
path="/loginCancel.jsp"/>
</action>


Bye

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com