HTML Action attribute

Ads

 
 

Share on Google+Share on Google+

Prabu
HTML Action attribute
2 Answer(s)      8 years ago
Posted in : Java Beginners
Ads
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

Ads









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 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
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
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
HTML
; Horizontal Rule Attribute in HTML Checkbox is used in html when...; Action Submit Html Action Submit in Html is used to submit a form... Post Radio Button HTML Post attribute used in method, when a user
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
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
jsf attribute
jsf attribute  What is the different between value and binding attribute of jsf
HTML
HTML  What is HTML? What is a Hypertext link
HTML
HTML  What is HTML? What is a Hypertext link
Html
Html  What is HTML? What is a Hypertext link
HTML
HTML  What is BODY in HTML document
html
html  diffrence between html and xml
html
html  How to add the calendar in html code
html
add a header in the html page  what we can do to add a header in the html page
Html
Html  can we send data from one html page to another html page? if yes how?   Yes, using javascript. 1)page1.html: <html> <form type=get action="page2.html"> <table> <tr> <td>First Name
HTML Button Size
a HTML page, which display you  HTML Button  with  attribute width...HTML Button Size       Button in HTML is used to submit HTML page. Understand with Example
HTML
HTML  how can we give the unlimited size in the html
HTML
HTML  How do we specify page breaks in HTML
HTML
HTML  What is a tag? How can we use MARQUEE in HTML
html
html  how to convert html page into jsp page

Ads

 
Advertisement null

Ads