sevlet

Ads

 
 

Share on Google+Share on Google+

AmanDeep
sevlet
1 Answer(s)      9 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





Ads









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
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
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
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
logout problem?? - JSP-Servlet
use sevlet don,t use javascript plzzzzzzzzzzzzzz...   Hi Friend
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
servlets
for service. Servlet creates seperate threads for each request. The sevlet
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
Life cycle of Servlet
. Servlet creates seperate threads for each request. The sevlet container calls
Session Tracking Servlet Example
;Sevlet Session Example</h2>"); if(count==0 || count==1
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
JSP BASICS
Sevlet Config Page        
MVC architecture example - Java Beginners
class Login.java(It the same name of the sevlet)where get and set mathod
request.setAttribute
. In the Sevlet example I will use the HttpServletRequest reference to set the attribute
request.getParameter
will use JSP. In the Sevlet example I will use the HttpServletRequest reference

Ads

 
Advertisement null

Ads