I am new to Struts
I have jsp file combined with servlet and jsp(jsp tags) i need to separate them according to struts 1.0 standards
Please tell me the way i can do or give me some tutorials or examples

Please tell me wqat need to separe and how

here is the file succe.jsp----

<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" errorPage="error.jsp"%>
<%@ page import="xyz"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>
<%@page import="java.util.*" %>
<%@page import="java.text.*" %>
<%@page import="xyzdao"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Success</title>
</head>
<body bgcolor="#ffffff" leftmargin="0" rightmargin="0" topmargin="0"
	marginheight="0" marginwidth="0">
<%@ include file="/header.jsp"%>
<table>
<tr valign="top">
<td style="background-color:grey;width:100px;text-align:top;">
<b><html:link href="MainMenu.jsp">Home-Page</html:link> <br></b><br />
<b><html:link href="logout.jsp">Logout</html:link> <br></b><br />
<br />
<br />

</td>

<td>


<%
//out.println(request.getParameter("course") + "\n");
//out.println(request.getParameter("desc_date")+ "\n");
//out.println("$"+request.getParameter("tis_ref")+"$"+ "\n");
//out.println(request.getParameter("name")+ "\n");
//out.println(request.getParameter("status")+ "\n");


String messageString;
String course = request.getParameter("course");
String desc_date = request.getParameter("desc_date");
String tis_ref = request.getParameter("tis_ref");
String name = request.getParameter("name");
String status = request.getParameter("status");
String User_id = session.getAttribute("WIN_NO").toString();

CourseActiveDao aDAO = new CourseActiveDao();
aDAO.activeDeactive(course, desc_date, tis_ref, status, User_id);


messageString = "The Course :   " + course + "\n" + "Description effective date :   " + desc_date + "\n" + "TIS Reference Number :   " + tis_ref + "\n" + " is DE-ACTIVATED";
out.println("\n\n\n" + messageString);
//messageString = aDAO.activateDeactivateCourses(course, desc_date, tis_ref, status, User_id);
%>
</td>
</tr>

</table>

<div style="position: relative; width: 100%; left: 20px;"><%@ include
	file="/footer.jsp"%></div>
</body>
</html>

Struts is a web frame work using Java as back end. I am not sure this forum is the right one for you to ask questions related more toward web frame work. Also, how much do you know about Struts in term of the frame work, not the Java language?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.