Share on Google+Share on Google+

AmanDeep
sevlet
1 Answer(s)      8 years ago
Posted in : JSP-Servlet

Ads

View Answers

October 23, 2008 at 11:22 AM


Hi friend,


Your code having error in "web.xml" .
Correct the code and AboutUs

In Servlet "AboutUs.java" having action "Aboutus"

res.sendRedirect("Aboutus");


In web.xml <url-pattern> "/AboutUs"

<servlet>
<servlet-name> aboutus </servlet-name>
<servlet-class> AboutUs </servlet-class>
</servlet>


<servlet-mapping>
<servlet-name> aboutus </servlet-name>
<url-pattern> /AboutUs </url-pattern>
</servlet-mapping>

action and url-pattern not matching then mapping of action

with same action then "AboutUs.java" call.

For more information on Servlet visit to :

http://www.roseindia.net/servlets

Thanks













Related Tutorials/Questions & Answers:
jsp -sevlet connecting to database using dropdown
jsp -sevlet connecting to database using dropdown  How can I get my dropdown list from oracle database and then submit it to another table in JSP. I am thinking of a form that links to a servlet and the servlet connects
Advertisements
jsp or sevlet and html form to send picture to database - JSP-Servlet
jsp or sevlet and html form to send picture to database  Hello guys, thanks for your help. Please help me.. I want to insert student information that contains his picture to database. What I need are html page for the form
Cart Quantity
Cart Quantity  How to increase and decrease quantity from a cart using session in jsp and sevlet
Deployment on Server that can be used simultaneously by more than one user
Deployment on Server that can be used simultaneously by more than one user  Sir, I have deployed my web application developed using JSP & sevlet. how could i access it on the network using xp os. I have deployed it on Tomcat
servlets - Struts
servlets  Hi, i am deployed one sevlet in tomcat,and another servlet is deploye in weblogic .then how i need to cantact the servlet in web logic by the servlet in tomcat.  See this site for the answer: http
java servlet - Servlet Interview Questions
java servlet   i use tomcat server and eclipse as ide for j2ee environment when i tries the example for sevlet context in roseindia to make entry in server log file ( context.log method to log entry) but could not see the log
username and password in servlet
username and password in servlet  i'm usng eclipse luna(java programming) Sevlet and apache tomcat8.0 i need to do a login page then after login it must display either invalid user or valid user here is what i done for login
servlets
for service. Servlet creates seperate threads for each request. The sevlet
Java Servlet - JSP-Servlet
Java Servlet   Hello Sir Could you help me in understanding directory Structure for servlet page in eclipse (IDE). I save my Sevlet in WEB-INF but it is not displaying, it is displaying code of servlet. Process used
logout problem?? - JSP-Servlet
use sevlet don,t use javascript plzzzzzzzzzzzzzz...   Hi Friend
email verification in e commerce application
to the checkout page.The code should be written in sevlet using session bean. I have
email verification in e commerce application
to the checkout page.The code should be written in sevlet using session bean. I have
Session Tracking Servlet Example
;Sevlet Session Example</h2>"); if(count==0 || count==1
Life cycle of Servlet
. Servlet creates seperate threads for each request. The sevlet container calls
Servlet hello world example
;<html>"); pw.println("<head><title>Sevlet Hello
JSP FUNDAMENTALS
;? This directive is to include the a HTML, JSP or Sevlet file into a JSP file... Sevlet Config Page
request.getParameter
will use JSP. In the Sevlet example I will use the HttpServletRequest reference
request.setAttribute
. In the Sevlet example I will use the HttpServletRequest reference to set the attribute
MVC architecture example - Java Beginners
class Login.java(It the same name of the sevlet)where get and set mathod
JSP BASICS
Sevlet Config Page        
Tutorials   
Java Spring Hibernate Struts Training fat image from db fat image from db fat image from db fat image from db unable to get value returned from javascript variable in page How to change image size before adding to mysql using jsp Design a registration.jsp page with input for user registration details Cart Quantity jsp servlet coding issue servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? image pdf marking pdf marking Multiple image upload using JSP Read code from excel sheet and upload into database using JSP Student java about search engine Convert BLOB to PDF and save it to a location how to copy files from remote to local machine using SFTP SSL in java? Like Team viewer Socket and Servert -Jsp how to copy files from remote location to local using java? How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java how to create SOAP based web service in java? how to fetch data from mysql database table and draw a bar chart on that data using in jsp how to create users in LDAP using java? how to authenticate user using TIVOLI api in java? how to create users using IBM Tivoi API in jsp/servelet? Java/J2ee Please explain this code as many packages and classes are unknown to me .! how to download the uploaded folder files using jsp Login Query image is display from path of mysql database please reply the code to store dynamic fields in database? Reloading issue in jsp How to get Button Id ? calling one jap page from another jsp page login login Problem to get connection from DAO class to JDBC Page Loading Time Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below Sending hidden values

Ads

 
Advertisement null

Ads