Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-18-2008, 08:25 PM
Member
 
Join Date: Nov 2007
Posts: 41
sireesha is on a distinguished road
HTTP Status 404 - Servlet action is not available---Error
Hi All,
I Just wrote a program using struts,that is Login form,takes username and password and compares with some strings in MyAction class.depends upon the result, response is forwarded to any of one the pages success.jsp or Login.jsp.
I wrote this by importing struts-blank.war file.It works fine.
But i want to check username and password from database.so i just included the below code

Code:
<data-sources> <data-source type="org.apache.commons.dbcp.BasicDataSource"> <set-property property="key" value="siri"/> <set-property property="driverClass" value="sun.jdbc.odbc.JdbcOdbcDriver"/> <set-property property="url" value="jdbc:odbc:MyOracle"/> <set-property property="user" value="system"/> <set-property property="password" value="welcomeme"/> </data-source> </data-sources>
And also i changed action class accordingly.I didn't change any thing else.
But now when i try to run this form eclipse,first Login.jsp is working well.but when click on submit button i am getting error like below
Code:
HTTP Status 404 - Servlet action is not available type: Status report message: Servlet action is not available description The requested resource (Servlet action is not available) is not available. Apache Tomcat/5.5.26
I searched many forums to solve this problem..but it couldn't work..

Can any one please give me suggestions to solve this problem.

And also in both cases i have another problem..i am not getting error messages from my application.properties file.

Please help me..

Thankq very much.
sireesha.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP stauts error priyanka_t JavaServer Pages (JSP) and JSTL 3 12-17-2007 10:10 AM
HTTP Status 404 - Servlet action is not available onceuponatime Java Servlet 1 12-11-2007 05:29 PM
Error: javax.servlet.ServletException: Column not found barney JavaServer Pages (JSP) and JSTL 1 08-07-2007 08:20 AM
Generated servlet error tommy JavaServer Pages (JSP) and JSTL 1 08-05-2007 11:46 AM
Error HTTP 404 Eric JavaServer Pages (JSP) and JSTL 1 07-05-2007 09:20 PM


All times are GMT +3. The time now is 09:19 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org