Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners HTML Action attribute
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Prabu
HTML Action attribute
2 Answer(s)      5 years and 5 months ago
Posted in : Java Beginners



Advertisement
View Answers

July 7, 2009 at 3:44 PM


This is simple... create a folder inside com folder as logica and inside logica create a folder app and now put ur java file emp_event.java inside this folder and run. do u understand.
<form method="Post" name="frm" action="./com/logica/app/emp_event" onsubmit="return validate();">

the error says it cant find any folder structure and there is no file in such non existing folder structure.


July 7, 2009 at 4:26 PM


Hi Friend,

If you are calling servlet from action tag,then you need to import the package on servlet:

package com.logica.app;

In web.xml,

<servlet-name>YourServletName</servlet-name>
<servlet-class>com.logica.app.YourServletName</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AddUser</servlet-name>
<url-pattern>/com/logica/app/YourServletName</url-pattern>
</servlet-mapping>

Thanks


Related Tutorials/Questions & Answers:
HTML Action attribute - Java Beginners
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... are calling servlet from action tag,then you need to import the package
attribute in action tag - Java Beginners
attribute in action tag  I'm just a beginner to struts. The name tag(name="bookListForm") is used to define the form used with the action class. But i`m not clear about the attribute tag(attribute
Advertisements
Action attribute in Jsf framework - Development process
Action attribute in Jsf framework  There will be one welcome.jsp... which will get the information from database.so action attribute... to action attribute of the welcome.jsp /welcome.jsp
<html:option > with "selected" attribute - Struts
with "selected" attribute  how to display formbean object with "selected" attribute in . please help me
Horizontal Rule Attribute in HTML
Horizontal Rule Attribute in HTML   ... Horizontal Rule Attribute in HTML. In this Tutorial, the code apply a  horizontal... of size 6  in html page.  The common attribute used in horizontal rule
Action Script 'source' attribute example
Action Script 'source' attribute example       In the example below an action.... This .as file instance is brought through the source attribute in <mx
Action Submit Html
Action Submit Html       Action Submit in Html is used to submit a form, When a user... in the action setting of the <form> tag. Understand with Example The Tutorial
Use Of Id attribute in Html - Development process
Use Of Id attribute in Html    Hi, I am new to web page development.Could u plz explain what is use of id attribute in html. For example..., The id attribute specifies a unique id for an HTML element that assigns
PHP HTML Form Submit Button
of the tutorial then our Html form has covered the action and method attribute... in Html is used to submit form data to the page mentioned in the ACTION attribute... user has entered the information into a text box.  The Action attribute
PHP HTML Form Method Attribute
Topic : PHP HTML Form Method Attribute Part - 3 The second attribute in the form tag is Method. With the help of Method attribute, we can tell the browser... : <form action="dislay.php" method=""> 
Use of jQuery attribute filters
filters on attribute ,here we are using "a href " attribute of html DOM... Use of jQuery attribute filters       Use of jQuery attribute filters In this section you
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
jsf attribute
jsf attribute  What is the different between value and binding attribute of jsf
HTML
HTML  in html how can we can upload the file <tr> <... with form action when i click the upload button it wil goto some where to upload the file give me the code for this in html and java
HTML
; Horizontal Rule Attribute in HTML Checkbox is used...; Action Submit Html Action Submit in Html is used... attribute.    Vertical Frameset in HTML
multivalued attribute
multivalued attribute  I have a author as multivalued attribute and i have inserted values for it in database but now how to insert values in the database through form .I have written query as shown below and iam getting error
contentType attribute in the page directive
contentType attribute in the page directive  How use contentType attribute in the page directive ?   contentType attribute is used to set.../html, and the default character set is ISO-8859-1. Syntax : <%@ page
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is SPAN in HTML
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
multivalued attribute?
multivalued attribute?  I have a problem in editing the database through form because of multivalued attribute it is creating the error and also how to write code for displaying the data when there is multivalued attribute
multivalued attribute?
multivalued attribute?  I have a problem in editing the database through form because of multivalued attribute it is creating the error and also how to write code for displaying the data when there is multivalued attribute
JSTL: Removing Session Attribute
JSTL: Removing Session Attribute   ... are going to remove the session attribute which we have set in the session. For this we are going to use the core action library, so we need to use the jstl core
Action form
Action form  how to store details from user and how to create asp file or etc
html
html  How to add the calendar in html code
html
html  diffrence between html and xml
Html
Html  What is HTML? What is a Hypertext link
HTML
HTML  What is BODY in HTML document
HTML
HTML  What is HTML? What is a Hypertext link
HTML
HTML  What is HTML? What is a Hypertext link
Advertisements
 

 

 

DMCA.com