Question: servlet action not available

Ads

 
 
 

Share on Google+Share on Google+

tirapa reddy
servlet action not available
1 Answer(s)      8 years ago
Posted in : Struts
Ads
View Answers

July 5, 2008 at 2:35 PM


Hii,

The code have an error on the execute method. There are 4 argumentd for the execute method and you are using the HttpServletRequest object two times try to make it as response object

also in struts config

<action-mappings>
<action path="/te" type="org.students.TEAction">
<forward name="disperror" path="/index.jsp" />
</action>
<action path="/test" type="org.students.TestAction" />

</action-mappings>
</struts-config>

If u r using the Tomcat server type the te.do from ur home directory in web browser

Ads









Related Tutorials/Questions & Answers:
servlet action not available - Struts
servlet action not available  hi i am new to struts and i am getting the error "servlet action not available".why it is displaying this error. Struts Blank Application action org.apache.struts.action.ActionServlet
http status 404-servlet action is not available - Struts
http status 404-servlet action is not available  hi, i m getting "http status 404-servlet action is not available" in my tomcat5.5 and i m using struts2.0.14 what is the problem pls tell me
Advertisements
action Servlet - Struts
action Servlet  What is the difference between ActionServlet ans normal servlet? And why actionServlet is required
htpp 404 error "Servlet as is not available"
htpp 404 error "Servlet as is not available"  hi iam new to struts. when iam running my struts app after filling the login form iam getting "Servlet as is not available". iam unable to find out where the error is.iam pasting my
htpp 404 error "Servlet as is not available"
htpp 404 error "Servlet as is not available"  hi iam new to struts. when iam running my struts app after filling the login form iam getting "Servlet as is not available". iam unable to find out where the error is.iam pasting my
standard action - JSP-Servlet
; hi friend.. Action Allow you to specify components from a tag library or a standard tag. For Example : Action may display an output or write some value to servlet without showing any output. Actually action is a tag name and tag
Action tag - JSP-Servlet
Action tag  Hello, I want to help ....i hav one feedback form there is action , .. can i use two action at the same form because i want... action="services.html " but it only shows html page bt does not submit my data
Servlet action is currently unavailable - Struts
Servlet action is currently unavailable   Hi, i am getting the below error when i run the project so please anyone can help me.. HTTP Status 503 - Servlet action is currently unavailable
how to point my jsp form action to servlet? - JSP-Servlet
how to point my jsp form action to servlet?  I am currently using... was trying to point my jsp action to my servlet.(f.action="../fyp.servletLogin";) fyp is the folder that stores my servlet. Here is my function code in jsp, when user
Capturing JSP Content Within My Strut Action Servlet - JSP-Servlet
Capturing JSP Content Within My Strut Action Servlet  My end goal is to be able to grab the content from the JSP from within the calling servlet... the user to "download" the file only in plain text. So the servlet makes
Source Code for Implementing Search Feature in JSP using Java action/Servlet - JSP-Servlet
Source Code for Implementing Search Feature in JSP using Java action/Servlet  How do I write the source code to implement search feature in JSP using Java action/servlet? My query is: SELECT @rownum:[email protected]+1 'rownum', X
no action mapped for action - Struts
no action mapped for action  Hi, I am new to struts. I followed...: There is no Action mapped for action name HelloWorld
Header Information available from the client in Servlet
Header Information available from the client in Servlet... to display the header information in servlet. When a HTTP client sends a request... which the browser is accepting. Connection - If a servlet gets a keep-Alive
Source Code for Implementing Search Feature in JSP using Java Action/Servlet - JSP-Interview Questions
Source Code for Implementing Search Feature in JSP using Java Action/Servlet  How do I write the source code to implement search feature in JSP using Java action/servlet? (java action is the priority, but servlet is OK) My
Action and ActionSupport
Action and ActionSupport  Difference between Action and ActionSupport.... The developer implements this interface of accessing string field in action... for implements Action and some other interfaces and provides some feature like data
Action form
Action form  how to store details from user and how to create asp file or etc
UISlider action
UISlider action  Hi, How to capture and use UISlider action? Thanks   Hi, Following code might helpful. -(IBAction)changeSlider:(id)sender { NSString *value= [[NSString alloc] initWithFormat:@" Value %d
different JDBC drivers available
different JDBC drivers available  What are the different JDBC drivers available
Action Listeners
Action Listeners  Please, could someone help me with how to use action listeners I am creating a gui with four buttons. I will like to know how to apply the action listener to these four buttons.   Hello Friend, Try
jsp forward action tag
jsp forward action tag  Defined jsp forward action tag ?   ... be an HTML file, another JSP file, or a servlet, as long as it is in the same application context as the forwarding JSP file. Syntax of forward action Tag: <
HTML Action attribute - Java Beginners
are calling servlet from action tag,then you need to import the package...HTML Action attribute  I have folder structure like... In action Attribute I want to give emp_event.java class. But When I run I am
Struts Action Chaining
Struts Action Chaining  Struts Action Chaining
Action Configuration - Struts
Action Configuration  I need a code for struts action configuration in XML
the Action Mapping specified
the Action Mapping specified  How is the Action Mapping specified
What is Action Class?
What is Action Class?  What is Action Class? Explain with Example
ActionMapping and is the Action Mapping specified
ActionMapping and is the Action Mapping specified  What is ActionMapping and is the Action Mapping specified
getting db in action class
getting db in action class  hi, Am usin struts in ma application... n i need to interact with the db .. so i used.. getDataSource(request.../servlet/http/HttpServletRequest;)Ljavax/sql/DataSource; LoginAction.execute
Java get available Font
Java get available Font       In this section, you will learn how to get the available font. In order to retrieve all the available fonts, we have used the AWT
com.pixelmed.dicom.DicomException: No reader for jpeg-lossless available
com.pixelmed.dicom.DicomException: No reader for jpeg-lossless available   com.pixelmed.dicom.DicomException: No reader for jpeg-lossless available
Jsp Action Tags
Jsp Action Tags  how can i use jsp forward action tag?i want examples
Struts Action Class
Struts Action Class  What happens if we do not write execute() in Action class
Tutorials   
Java Spring Hibernate Struts Training Dynamic tabs in struts 1.2 Unable to upload a file to mysql database using struts1 Pagination in struts 2 struts2 filterdispatcher is deprecated please use the new filters viewing How to add struts2 dependency in Maven? Struts Exception Handling can you check below code if any erors multimedia how to display the value of termcell name in label class not found exception Where to learn Struts 2? dropdown cacheing Upload and Download Large files in jsp What is Struts 2 framework struts and hibernate based health care project source code struts and hibernate based health care project source code Struts 2 Integration with Struts 1 About captcha of strut2 About captcha of strut2 Which is the good website for struts 2 tutorials? advance java source code source code In Struts 2 how to pass the Struts struts internationalization for Korean language struts2 Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate i want to create an application with only a button which on click displays table from database using struts2 and hibernate on eclipse Struts2 and Hibernate Struts2 and Hibernate Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts 2 action-validation.xml not loading Struts-2 and Ajax integration STRUTS QUESTION conerting web project into .exe file About Select tag ScartApplication aplicacion ecommerce struts 1.3 struts 1.3 sms prob Need to know struts1 all jar file names struts with hibernate

Ads

 
Advertisement null

Ads