HTML Action attribute

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   ... an example from Horizontal Rule Attribute in HTML. In this Tutorial, the code apply... paragraphs of size 6  in html page.  The common attribute used
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 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 ExampleADS_TO_REPLACE_1
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...;The Action attribute will ask you to where the information is need to be sent... in the ACTION attribute. Let's see the example below: <form action="basic_form.php
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... :ADS_TO_REPLACE_1 <form action="dislay.php" method=""
HTML
attribute bgcolor and putting any color value into it in HTML Page.  ... in a HTML code.    Horizontal Rule Attribute... in a markup language.   Action Submit Html
Use of jQuery attribute filters
; attribute of html DOM : Using it , you can hide all the link in your html page... Use of jQuery attribute filters       Use of jQuery attribute filters In this section you
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
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
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
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 Button Size
HTML Button Size       Button in HTML is used to submit HTML page. Understand with Example ADS_TO_REPLACE_1 The Tutorial illustrate an example from HTML Button size. In this Tutorial
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
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
html
html  i want a registration page in html with good background
html
html  what we can do to add a header in the html page
html
html  what we can do to add a header in the html page
HTML Post Radio Button
HTML Post Radio Button       HTML Post attribute used in method, when a user is not able... Button.HTML page. The HTML page create a radio button, which allows the user
HTML
HTML  Hi, What is the full form of HTML? Thanks (adsbygoogle = window.adsbygoogle || []).push({});   Hi, The HTML stands for HyperText Markup Language. HTML is used to create webpage for world wide web
html
html  sir i am new to eclipse and i am created a html program and also tomcat is running successfully in side the eclipse.but now how i deploy that html program in the eclipse
html
html  Can we Access database through html page and how,if not then why
HTML
HTML  How do we create a link? What are the three types of form tags in HTML
html
html  how we can give the form actions in html after register button in the login page
html
Adding Header in HTML  what we can do to add a header in the html page
html
html  For what is used HTML?   Using HTML we can create a Web Page which can be viewed through a Web Browser over Internet. HTML describes... or the End Tag is defined as </> . The whole HTML document is enclosed
Html
Html  in the web page if judge select the age and category then automatically under that conditions the details will be display in the form of grid give me that code in html and java
html
html   write a html program to print "HELLO WORD"in red coaler font size 12 and italic stile   Here is a html code that display the message "Hello World" in red font with size 12 and in italics. <html> <
jsf attribute
jsf attribute  What is the different between value and binding attribute of jsf
Html
Html  i am select the dateofbirth through the html browser.but it can not save into the sql server 2008 database.any special code required to store the date in database by using java servlets
HTML
HTML  I have created an info.html file for the applet.The class file is located in a directory different from the HTML file.The info.html file I have created is below. <HTML> <HEAD> <BODY> <APPLET Code
HTML
HTML  how can we design the gird form view in html i want the following fields in the grid form The fields are Name of the candidate,Title... me the coding for this in html
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 : ADS_TO_REPLACE_1 <
html
html  Create a web page with the following using HTML i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the hot spots are clicked.please reply me sir
Html
Html  I was designing a webpage, i need to create selection boxes one beside other, how i'll be able to do it using HTML code, Please give me a sample code for that... looking forward for your usefull code