Sil 3512 drivers for Winxp 63bit on w1100z workstation. plz help
I need the drivers for sil3512A onboard sata controller on w1100z workstation for win xp 64 bit. The sun suplement cd contains only the drivers for xp 32 bit. I searched at www.siliconimage.com but they have only the drivers for PCI 3512 sata controller that they don't work. Any suggestions??? plz help
Hello,
If Siliconimage doesn't supply a driver for Windows XP 64-bit you are out of luck.
The systemboard is a K85AE manufactured by Tyan for Sun.
http://www.tyan.com/support/html/drivers%5Fsupport.html
Michael
Similar Messages
-
MOVED: Help!! Where can i get WD SATA Drivers for winXP-64 Bit
This topic has been moved to Operating Systems.
Help!! Where can i get WD SATA Drivers for winXP-64 Bit>>http://www.intel.com/support/chipsets/sb/CS-028823.htm<<...
-
Is it safe to update the nVidia graphics drivers for WinXP on Bootcamp?
Hello again,
Is it safe to update the nVidia graphics drivers for WinXP on Bootcamp?YES we are both stating the same thing however in different terms. You will be fine with the updates that you are talking about. Just ensure that the drivers that you are updating match the make/model of your graphics adapter.
If something doesn't work out then you can always revert back to the previous driver.
Axel F. -
When the iPhone 4 with IOS 5 is connected by cable to iTunes and check for update results in Error 1630, plz help me to update plz
My Iphone 4 crashed yesterday after a restart and upload of OS 5.0, it will only partially sync. It's not transferring any of my music or ringtones. They still appear when I click open the sync screens on ITunes, but I don't seem to have an Ipod function and only one of my personalized ringtones transfers on the actual phone.
-
Vox USB 2.0 Drivers for Winxp SP2
Hi,
Could someone please direct me to newest drivers for The Vox USB 2.0 WinXp SP2. All I've been able to find are the same drivers which are issued with the included CD. I've searched on the forum, MSI site and on this FTP site;
[please do not post MSI FTP links - Stu]
This Version: msi pvs3.0 beta2 2005225.zip <--- could not find
Stus Version: MSIPVS Test 3.0 Build 079.540 <--- coud not find
Thank You,the most recent drivers are these ones here:
http://www.msi.com.tw/program/support/driver/dvr/spt_dvr_detail.php?UID=536&kind=10
there are no later versions -
USB drivers for winXp needed (ms-5169)
can anyone help me finding usb-device drivers for windows xp?
Since it's USB1 you don't need any drivers.
If it's giving you trouble try toggeling the "USB legacy support" option in the bios. -
Code for radio button is not working plz help
checkboxes are working fine but when i put radio code submit button does nothing
plz help
thanks in advance
<%@ page language="java" contentType ="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import= "java.sql.*,java.io.*,com.anaghan.MyBeans.CmsConnection"%>
<jsp:useBean id="obj" scope="request" class="com.anaghan.MyBeans.DepartmentBean"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script language="javascript" >
function cmdOnSelect()
var deptcode=document.DepartmentPage.cmdSelect.value;
DepartmentPage.method="post";
DepartmentPage.action="./vsnlemployee_calldatasheetcallhistory.jsp?flag=select&cmdSelect="+deptcode;
DepartmentPage.submit();
function validate()
var user_etime = document.DepartmentPage.etime.value;
var etime_length = document.DepartmentPage.etime.value.length;
var user_edate = document.DepartmentPage.edate.value;
var edate_length = document.DepartmentPage.edate.value.length;
var user_calltype = document.DepartmentPage.calltype.value;
var calltype_length = document.DepartmentPage.calltype.value.length;
var user_callstatus = document.DepartmentPage.callstatus.value;
var callstatus_length = document.DepartmentPage.callstatus.value.length;
if( edate_length==0 )
alert("Please enter the call date");
return false;
else if( calltype_length==0 )
alert("Please enter the call type");
return false;
else if( callstatus_length==0 )
alert("Please enter the call status");
return false;
else if( etime_length==0 )
alert("Please enter the call timing");
return false;
else if(etime_length!=0 && etime_length!=4)
alert("Entered timing is invalid");
return false;
else if (etime_length!=0)
for (var i = 0; i < etime_length; i++)
valid_characters = new RegExp ("[0-9]", "g");
var part_user_etime = user_etime.charAt (i);
if (!valid_characters.test (part_user_etime))
alert("Special characters like '" + part_user_etime + "' are not allowed in timing" );
return false;
valid_characters = null;
return true;
else
return true;
function cmdOnClick()
if (validate())
DepartmentPage.method="post";
DepartmentPage.action="/anaghan/CallSheet?flag=call";
DepartmentPage.submit()
</script>
<script language="javascript" src="calendar1.js">
</script>
</head>
<body>
<%
String uname=(String)session.getAttribute("employeeName");
if(uname==null)
response.sendRedirect("/Error.jsp?login=Login Session Problem");
%>
<%
String date1="";
String date2="";
%>
<%!
ResultSet rs=null;
Connection con =null;
String conStr="sun.jdbc.odbc.JdbcOdbcDriver";
String tableStr="jdbc:odbc:Anaghan";
%>
<%
String companycode=request.getParameter("cmdSelect");
HttpSession hs = request.getSession();
hs.setAttribute("companycode",companycode);
System.out.println("CALLLLL="+companycode);
%>
<%
String flag="";
String deptcode="";
String commissioningdate="";
String closuredate="";
%>
<%
String a2="";String a1="";
%>
<form name="DepartmentPage" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border="0" >
<TR>
<TD align=CENTER>
<h2> CALL DATA SHEET </h2>
</TD>
</TR>
<TR>
<div>
<FONT face="Arial " color=#000000 size=2>
<TD valign="top">
<TABLE cellSpacing=15 cellPadding=0 width="100%" border="0">
<TD width="50%" vAlign="top" align=CENTER height=24 bgcolor=#F8F8F8 >
<tr>
<TD align=RIGHT>Select Company - </TD>
<td><SELECT name="cmdSelect" size="1" onChange="cmdOnSelect();">
<OPTION SELECTED></OPTION>
<%
deptcode=request.getParameter("cmdSelect");
response.setContentType("text/html");
ResultSet rs = obj.onSelect();
while(rs.next())
String tempName=rs.getString(2);
%>
<OPTION id= "a<%=tempName %>" value= "<%=tempName%>"> <%=tempName %></OPTION>
<%}%>
</SELECT></td>
</TR>
</TD>
</TABLE>
<TABLE cellSpacing=15 cellPadding=0 width="100%" border="0">
<TR>
<TD>
<table align="center" width="90%" cellspacing="2" cellpadding="2">
<tr>
<td align="center"><h2>Contact Person</h2></td>
</tr>
</table>
<table align="center" width="90%" border="1" cellspacing="2" cellpadding="2">
<tr><th>Name</th><th>Landline</th><th>Mobile</th><th>Fax</th><th>E-mail</th></tr>
<%!
ResultSet result=null;
%>
<%
response.setContentType("text/html");
try{
Connection con = DriverManager.getConnection("jdbc:odbc:Anaghan");
Statement stmt=con.createStatement();
result =stmt.executeQuery("select * from enquiry_details where companycode='"+deptcode+"' ");
while(result.next())
%>
<tr>
<OL><td align ="center"><%=result.getString(9) %></td>
<td align ="center"><%=result.getString(10) %></td>
<td align ="center"><%=result.getString(11) %></td>
<td align ="center"><%=result.getString(12) %></td>
<td align ="center"><%=result.getString(13) %></td></OL>
<tr>
<OL><td align ="center"><%=result.getString(14) %></td>
<td align ="center"><%=result.getString(15) %></td>
<td align ="center"><%=result.getString(16) %></td>
<td align ="center"><%=result.getString(17) %></td>
<td align ="center"><%=result.getString(18) %></td></OL>
<%}
catch(Exception e)
e.printStackTrace();
}%>
</tr></table>
</TD>
</TR>
<TR>
<TD>
<table align="center" width="90%" cellspacing="2" cellpadding="2">
<tr>
<td align="center"><h2>Call History</h2></td>
</tr>
</table>
<table align="center" width="90%" border="1" cellspacing="2" cellpadding="2">
<tr><th>Call Type</th><th>Call Status</th><th>Service Type</th><th>Feedback</th><th>Next Visit</th><th>Call Date</th></tr>
<%!
ResultSet result1=null;
%>
<%
response.setContentType("text/html");
try{
result1=obj.onSelectCallHistory(deptcode);
while(result1.next())
%>
<tr>
<OL><td align ="center"><%=result1.getString(3) %></td>
<td align ="center"><%=result1.getString(4) %></td>
<td align ="center"><%=result1.getString(6) %></td>
<td align ="center"><%=result1.getString(7) %></td>
<td align ="center"><%=result1.getString(9) %></td>
<td align ="center"><%=result1.getString(8) %></td>
</OL>
<%}}
catch(Exception e)
e.printStackTrace();
}%>
</tr></table>
</TD>
</TR>
<TABLE cellSpacing=15 cellPadding=0 width="100%" border="0">
<TD width="50%" vAlign="top" align=CENTER height=24 bgcolor=#F8F8F8 >
<TR>
<TD></TD>
</TR>
<TR></TR>
<TR>
<TD align=RIGHT>
Type of Call - </TD>
<td>
<input type = radio name=calltype value=personal/>personal
<input type = radio name=calltype value=email/>Email</td>
<!-- <TD><SELECT name="calltype" size="1" >
<OPTION SELECTED></OPTION>
<OPTION id= "s" value= "personal"> Personal </OPTION>
<OPTION id= "s" value= "telephonic"> Telephonic </OPTION>
<OPTION id= "s" value= "email"> E-mail </OPTION>
<OPTION id= "s" value= "meeting"> Meeting </OPTION>
</SELECT>
</TD>-->
</TR>
<TR>
<TD align=RIGHT>
Status of Call - </TD>
<TD>
<SELECT name="callstatus" size="1" >
<OPTION SELECTED></OPTION>
<OPTION id= "s" value= "cold"> Cold </OPTION>
<OPTION id= "s" value= "warm"> Warm </OPTION>
<OPTION id= "s" value= "hot"> Hot </OPTION>
<OPTION id= "s" value= "closed"> Connection Executed </OPTION>
<OPTION id= "s" value= "upgrade"> Upgrade </OPTION>
<OPTION id= "s" value= "downgrade"> Downgrade </OPTION>
<OPTION id= "s" value= "shiftingoflocation"> Shifting of Location </OPTION>
<OPTION id= "s" value= "connectionterminated"> Connection Terminated </OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD align=RIGHT>Date - </TD>
<TD><input type="text" readonly name="edate" id="edate" size="10" value="<%=date1 %>">
<img src="./cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date">
</TD>
</TR>
<TR>
<TD align=RIGHT>
Time - </TD>
<TD><input type="text" size="4" name="etime" maxlength="4"></TD>
</TR>
<TR>
<TD align=RIGHT>
</TD>
<TD>(Write timing in 0000 - 2400 in this format only)</TD>
</TR>
<TR><TD align=CENTER> INFRASTRUCTURE DETAILS
</TD></TR>
<TR></TR>
<TR>
<TD align=RIGHT bgcolor=#00CCFF>
<font color="#CC6600" size=4>Details of service </font></TD>
<TD></TD>
</TR>
<TR>
<TD align=RIGHT>
Circuit Specification - </TD>
<TD><SELECT name="servicetype" size="1" >
<OPTION SELECTED>---Services---</OPTION>
<OPTION id= "s" value= "IPLC"> IPLC </OPTION>
<OPTION id= "s" value= "VPN"> VPN </OPTION>
<OPTION id= "s" value= "ILL"> ILL </OPTION>
<OPTION id= "s" value= "VoIP"> VoIP </OPTION>
<OPTION id= "s" value= "ISDN"> ISDN </OPTION>
<OPTION id= "s" value= "IDC"> IDC </OPTION>
<OPTION id= "s" value= "V-IPLC"> V-IPLC </OPTION>
<OPTION id= "s" value= "contactcenter"> Contact Center </OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD align=RIGHT vAlign=TOP>
Feedback Details - </TD>
<TD><TEXTAREA wrap="virtual" name="feedback" rows=5 cols=30 MAXLENGTH=100></TEXTAREA></TD>
</TR>
<TR>
<TD align=RIGHT>Next Visit Scheduled - </TD>
<TD><input type="text" readonly name="nextvisit" id="nextvisit" size="10" value="<%=date2 %>">
<img src="./cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date">
</TD>
</TR>
<TR></TR>
<TR>
<TD></TD>
<TD>
<input type="button" name="bill" value="SUBMIT" onClick="cmdOnClick();">
<input type="reset" name="reset" value="RESET" >
</TD>
</TR>
</FONT>
</div>
</TD>
</TR>
</TABLE>
</TD>
<TD vAlign=TOP bgcolor=#FFFFFF>
</TD>
</TR></TABLE>
</form>
<script language="JavaScript">
var cal1 = new calendar1(document.forms['DepartmentPage'].elements['edate']);
var cal2 = new calendar1(document.forms['DepartmentPage'].elements['nextvisit']);
</script>
<script language="javascript">
document.getElementById('a<%=request.getParameter("cmdSelect")%>').selected=true;
</script>
<BR><BR>
<jsp:include page="index-end.jsp"/>
</body>
</html>If the reset doesn't work, you have to force iPad into Recovery Mode
1. Turn off iPad
2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port.
DO NOT RELEASE BUTTON until you see picture of iTunes and plug
5. Release Home button.
ON COMPUTER
6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
7. Select "Restore iPad"...
Note:
1. Data will be lost if you do not have backup
2. You must follow step 1 to step 4 VERY CLOSELY.
3. Repeat the process if necessary. -
Public var for code in main Fla movieClip plz help!
Hi there,
I've made a basic memory game where you have to match up shapes and pictures. but now Im trying to get it to be slightly more complex.
I have a set of shapes and each shape has a different color. What im trying to achieve is for all the shapes to come up as one color.
The colors are nested inside each movieClip of the shape.
first level got 6 cards all the same movieclip but different instence name.
the problem is that each card comes up with a different color:
Code in Class:
public static var curFrame = Math.floor(Math.random() * 6) + 1;
Code in Fla on the key frame of each shape inside each movie clip:
trace("***************shape1********************"+memC.curFrame)
Shape1.gotoAndStop(memC.curFrame);
And this in the first key frame:
stop();
var memC: memory_Control = new memory_Control
Basically:
Movieclips (6 cards) - in each there are 8 different shapes - each shape has 5 key frames for different colors.
If you can help ill rly appriciate it
thx pavelwhile(!answer.equalsIgnoreCase("q"));
-
For tha love of god someone plz help me!!!
i went? and bought the most expensi've webcam i could find because i didn't wanna have any usual technology problems that come with getting cheap quality stuff. a friend reccomended creative webcams so i went to my local store and bought "creative live cam notebook pro" i tried to install the program onto my computer with the installation disc.AND BIG SURPRISE IT DOESN'T WORK!!! my comp doesn't even recognize the cd! so can someone plz help me! isn't there somewhere i can download the installation program for it's i tried tha creative site but its sooo confusing it didnt' really help me at all. plz someone plz help me
acctually nvm i jus wanna knw how to take pictures with teh webcam
-
What happened to my post about DVD-A drivers for WinXP x
I accidently double posted because I wanted to be notified by email when my post was answered. That was no excuse to delete my post(s) BTW, Harvey Fong is a friend of mine.
WayneW,
Your original post is here:
http://forums.creative.com/creativel...ge.id=258#M258
If there were duplicate posts in there, then they were cleaned up to make the thread more readable. Duplicate posts are routinely deleted for this reason, there is nothing malicious intended with it.
Jeremy -
Need Drivers for My LM726AV (Hardware IDs enclosed) Please Help!
I installed a SSD on my LM726AV.I had to reinstall WIndows 7 and have yellow exclamation marks on the following hardware IDs:PCI\VEN_8086&DEV_1C3A&SUBSYS_1659103C&REV_04
PCI\VEN_8086&DEV_1C22&SUBSYS_1659103C&REV_05USB\VID_138A&PID_0018&REV_0078ACPI\HPQ0004Can someone help me out with the drivers?Hi: You need these drivers... PCI\VEN_8086&DEV_1C22: Note: Install this driver first and reboot. This package contains the Intel Chipset Installation Utility and Driver for supported notebook models and operating systems. This utility enables the operating system to show the correct name for the installed Intel hardware in the Microsoft Windows Device Manager. File name: sp55095.exe PCI\VEN_8086&DEV_1C3A: This package provides the Intel Management Engine Interface (MEI) Driver for the supported notebook models and operating systems. The Intel Management Engine Interface enables communication between the host operating system and the Intel Management Engine firmware. File name: sp55100.exe USB\VID_138A&PID_0018: This package contains the driver that enables the Validity Fingerprint Sensor in supported notebook models that are running a supported operating system. The fingerprint sensor scans fingerprints for use with biometric security applications. File name: sp56403.exe ACPI\HPQ0004: This will install HP 3D DriveGuard, which provides protection for a notebook computer's internal disk drive if the computer is accidentally dropped or abruptly hits another object. This package is available on supported notebooks with supported operating systems. File name: sp53462.exe
-
Problem with Configuring Tomcat for running jsp web applications..Plz HELP
I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
to connect to the database. I have placed my project folder called
tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
a collection of html pages,jsp pages and images of my project. Also I created a
WEB-INF folderand in that I have lib folder which contains catalina-root.jar
, classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
file which looks like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<web-app>
<resource-ref>
<description>Oracle Datasource example</description>
<res-ref-name>jdbc/gdn</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
My Server.xml file in Tomcat\conf folder is as follows
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN">
<!-- Comment these entries out to disable JMX MBeans support used for the
administration web application -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
<Resource name="jdbc/gdn" auth="Container"
type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
url="jdbc:odbc:gdn"
username="system" password="tiger" maxActive="20" maxIdle="10"
maxWait="-1"/>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 5 documentation bundle for more detailed
instructions):
* If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector
port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->
<!-- Note : To use gzip compression you could set the following properties :
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<!--
<Connector port="8443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector port="8082"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100" connectionTimeout="20000"
proxyPort="80" disableUploadTimeout="true" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Catalina" defaultHost="localhost">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.4
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Because this Realm is here, an instance will be shared globally -->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test" connectionPassword="test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott" connectionPassword="tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!-- Defines a cluster for this node,
By defining this element, means that every manager will be changed.
So when running a cluster, only make sure that you have webapps in there
that need to be clustered and remove the other ones.
A cluster has the following parameters:
className = the fully qualified name of the cluster class
name = a descriptive name for your cluster, can be anything
mcastAddr = the multicast address, has to be the same for all the nodes
mcastPort = the multicast port, has to be the same for all the nodes
mcastBindAddr = bind the multicast socket to a specific address
mcastTTL = the multicast TTL if you want to limit your broadcast
mcastSoTimeout = the multicast readtimeout
mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
in case of multiple ethernet cards.
auto means that address becomes
InetAddress.getLocalHost().getHostAddress()
tcpListenPort = the tcp listen port
tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
has a wakup bug in java.nio. Set to 0 for no timeout
printToScreen = true means that managers will also print to std.out
expireSessionsOnShutdown = true means that
useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
false means to replicate the session after each request.
false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
<%
HashMap map = (HashMap)session.getAttribute("map");
map.put("key","value");
%>
replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
* Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
* Synchronous means that the thread that executes the request, is also the
thread the replicates the data to the other nodes, and will not return until all
nodes have received the information.
* Asynchronous means that there is a specific 'sender' thread for each cluster node,
so the request thread will queue the replication request into a "smart" queue,
and then return to the client.
The "smart" queue is a queue where when a session is added to the queue, and the same session
already exists in the queue from a previous request, that session will be replaced
in the queue instead of replicating two requests. This almost never happens, unless there is a
large network delay.
-->
<!--
When configuring for clustering, you also add in a valve to catch all the requests
coming in, at the end of the request, the session may or may not be replicated.
A session is replicated if and only if all the conditions are met:
1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
2. a session exists (has been created)
3. the request is not trapped by the "filter" attribute
The filter attribute is to filter out requests that could not modify the session,
hence we don't replicate the session after the end of this request.
The filter is negative, ie, anything you put in the filter, you mean to filter out,
ie, no replication will be done on requests that match one of the filters.
The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
ending with .gif and .js are intercepted.
The deployer element can be used to deploy apps cluster wide.
Currently the deployment only deploys/undeploys to working members in the cluster
so no WARs are copied upons startup of a broken node.
The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
When a new war file is added the war gets deployed to the local instance,
and then deployed to the other instances in the cluster.
When a war file is deleted from the watchDir the war is undeployed locally
and cluster wide
-->
<!--
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
expireSessionsOnShutdown="false"
useDirtyFlag="true"
notifyListenersOnReplication="true">
<Membership
className="org.apache.catalina.cluster.mcast.McastService"
mcastAddr="228.0.0.4"
mcastPort="45564"
mcastFrequency="500"
mcastDropTime="3000"/>
<Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
tcpListenAddress="auto"
tcpListenPort="4001"
tcpSelectorTimeout="100"
tcpThreadCount="6"/>
<Sender
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
replicationMode="pooled"
ackTimeout="15000"/>
<Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
<Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/"
deployDir="/tmp/war-deploy/"
watchDir="/tmp/war-listen/"
watchEnabled="false"/>
</Cluster>
-->
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
This access log implementation is optimized for maximum performance,
but is hardcoded to support only the "common" and "combined" patterns.
-->
<!--
<Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
</Host>
</Engine>
</Service>
</Server>
I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
in a browser. Here I accept a username and password from the user and then do the validation in
a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
accordingly. However when I enter the username and password and click Go in the homepage, nothing is
displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
IS IT POSSIBLE?WHY WILL THIS HAPPEN?
I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
Is there any other thing that I need to set in classpath? Should I have my project as a
WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
to connect to the database. I have placed my project folder called
tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
a collection of html pages,jsp pages and images of my project. Also I created a
WEB-INF folderand in that I have lib folder which contains catalina-root.jar
, classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
file which looks like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<web-app>
<resource-ref>
<description>Oracle Datasource example</description>
<res-ref-name>jdbc/gdn</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
My Server.xml file in Tomcat\conf folder is as follows
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN">
<!-- Comment these entries out to disable JMX MBeans support used for the
administration web application -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
<Resource name="jdbc/gdn" auth="Container"
type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
url="jdbc:odbc:gdn"
username="system" password="tiger" maxActive="20" maxIdle="10"
maxWait="-1"/>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 5 documentation bundle for more detailed
instructions):
* If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector
port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->
<!-- Note : To use gzip compression you could set the following properties :
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<!--
<Connector port="8443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector port="8082"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100" connectionTimeout="20000"
proxyPort="80" disableUploadTimeout="true" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Catalina" defaultHost="localhost">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.4
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Because this Realm is here, an instance will be shared globally -->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test" connectionPassword="test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott" connectionPassword="tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!-- Defines a cluster for this node,
By defining this element, means that every manager will be changed.
So when running a cluster, only make sure that you have webapps in there
that need to be clustered and remove the other ones.
A cluster has the following parameters:
className = the fully qualified name of the cluster class
name = a descriptive name for your cluster, can be anything
mcastAddr = the multicast address, has to be the same for all the nodes
mcastPort = the multicast port, has to be the same for all the nodes
mcastBindAddr = bind the multicast socket to a specific address
mcastTTL = the multicast TTL if you want to limit your broadcast
mcastSoTimeout = the multicast readtimeout
mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
in case of multiple ethernet cards.
auto means that address becomes
InetAddress.getLocalHost().getHostAddress()
tcpListenPort = the tcp listen port
tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
has a wakup bug in java.nio. Set to 0 for no timeout
printToScreen = true means that managers will also print to std.out
expireSessionsOnShutdown = true means that
useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
false means to replicate the session after each request.
false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
<%
HashMap map = (HashMap)session.getAttribute("map");
map.put("key","value");
%>
replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
* Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
* Synchronous means that the thread that executes the request, is also the
thread the replicates the data to the other nodes, and will not return until all
nodes have received the information.
* Asynchronous means that there is a specific 'sender' thread for each cluster node,
so the request thread will queue the replication request into a "smart" queue,
and then return to the client.
The "smart" queue is a queue where when a session is added to the queue, and the same session
already exists in the queue from a previous request, that session will be replaced
in the queue instead of replicating two requests. This almost never happens, unless there is a
large network delay.
-->
<!--
When configuring for clustering, you also add in a valve to catch all the requests
coming in, at the end of the request, the session may or may not be replicated.
A session is replicated if and only if all the conditions are met:
1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
2. a session exists (has been created)
3. the request is not trapped by the "filter" attribute
The filter attribute is to filter out requests that could not modify the session,
hence we don't replicate the session after the end of this request.
The filter is negative, ie, anything you put in the filter, you mean to filter out,
ie, no replication will be done on requests that match one of the filters.
The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
ending with .gif and .js are intercepted.
The deployer element can be used to deploy apps cluster wide.
Currently the deployment only deploys/undeploys to working members in the cluster
so no WARs are copied upons startup of a broken node.
The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
When a new war file is added the war gets deployed to the local instance,
and then deployed to the other instances in the cluster.
When a war file is deleted from the watchDir the war is undeployed locally
and cluster wide
-->
<!--
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
expireSessionsOnShutdown="false"
useDirtyFlag="true"
notifyListenersOnReplication="true">
<Membership
className="org.apache.catalina.cluster.mcast.McastService"
mcastAddr="228.0.0.4"
mcastPort="45564"
mcastFrequency="500"
mcastDropTime="3000"/>
<Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
tcpListenAddress="auto"
tcpListenPort="4001"
tcpSelectorTimeout="100"
tcpThreadCount="6"/>
<Sender
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
replicationMode="pooled"
ackTimeout="15000"/>
<Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
<Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/"
deployDir="/tmp/war-deploy/"
watchDir="/tmp/war-listen/"
watchEnabled="false"/>
</Cluster>
-->
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
This access log implementation is optimized for maximum performance,
but is hardcoded to support only the "common" and "combined" patterns.
-->
<!--
<Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
</Host>
</Engine>
</Service>
</Server>
I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
in a browser. Here I accept a username and password from the user and then do the validation in
a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
accordingly. However when I enter the username and password and click Go in the homepage, nothing is
displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
IS IT POSSIBLE?WHY WILL THIS HAPPEN?
I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
Is there any other thing that I need to set in classpath? Should I have my project as a
WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine? -
Need code for the following chess game..plz help me out
Hi,
Problem:Move the chess piece "KNIGHT" from any location on a "3 x 3" Chess Board and make it go to the far right hand bottom corner.Chess Board in the problem is not the usual Chess Board of 8 x 8.KNIGHT starting position may be any position on board.Program should exit when knight moves to 3 x 3 corner.Here is how my Chess board looks.
|.... |.... |.... |
|.... |.... |.... |
|.... |.... |Queen |<<--The Queen should reach this position
Remember: KNIGHT moves in specific way such as 2 steps in one direction and 1 step left/right.If the KNIGHT starts are position (2,2) then it cannot move further and you have to throw exception with some error message.
Run command: "java <some class> x y", where x is x-coordinate and y is y-coordinate(starting position of Knight) on the chess board. For this problem x & y could be 1(min) and 3(max) values and any value(2) in between.
Deliver : 1) Send me the java code for above problem.
2) Java code should compile and run.
3) I will be interested in "Object Oriented Design" thaught process.
4) Your coding style
5) Javadoc
6) Makefile
I would be more interested in your class design, interface design and error handling.
please mail the solution to [email protected]
thanks n regards
ChinuHi, Here Knight moves like horse. Queen doesn't
exist. If knight moves to (3,3). Game will be over.
I am facing problem to move knight from one point
to another point. And also i have some confussion on
selecting interfaces and classes.<font size="10000">do your own homework</font> -
Insufficient permissions for installing flash player... plz help me
Hi, I am having trouble installing flash player.
OS - Windows XP (sp3)
Software - Flash Player 10.1
Issue - Insufficient permissions to write a file in C:\WINDOWS\system32\Macromed\Flash\FlashUtil10l_Plugin.exe:5
I am a system admin and I have all the permissions.
Gone through various trouble shooting methods like, uninstalling, giving permissions e.t.c
Please help me, I am trying to install from 3weeks and not able to fix this.
Please help me.
Thanks
RaviHi,
Once again thank you for your time, I am sending you the files please have a look at them.
They are
1. Flash 10l.ocx
ActiveX Control
5,930kb
2. FlashInstall
TextDocument
2kb
Inside the text document it is like this:
=O====== M/10.1.102.64 2010-12-07+22-04-51.691 ========
0000 00000010 "C:\Documents and Settings\All Users\Application Data\NOS\Adobe_Downloads\install_flash_player_ax.exe"
0001 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
0002 00001036 Software\Macromedia\FlashPlayer\SafeVersions/10.0 2
0003 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
0004 00000013 C:\WINDOWS\system32\Macromed\Flash\Flash10l.ocx
0005 00000015 C:\WINDOWS\system32\Macromed\Flash\FlashUtil10l_ActiveX.exe
0006 00001031 C:\WINDOWS\system32\Macromed\Flash\FlashUtil10l_ActiveX.exe:5
0007 00000016 C:\WINDOWS\system32\Macromed\Flash\FlashUtil10l_ActiveX.dll
0008 00001026 C:\WINDOWS\system32\Macromed\Flash\FlashUtil10l_ActiveX.dll 126
=X====== M/10.1.102.64 2010-12-07+22-05-16.095 ========
Thanks
Ravi -
In RS02 why DataSource for Hierachy is not there.. plz help
hi bw experts,
can u plz tell me in RS02 tcode why datasource for hierarchy is not there.
plz explain me in brief..
thanks & regards
vijay...Hi,
In RS02 we won't have Hierarchy DataSource bocoz the OLTP system is based on the ERM (Entity Relationship Model) where we will have only ONE to ONE relation i.e., two dimensional table design. Which basically won't support the ONE to MANY Relation. If we want to connect the tables means we will connect by means on the PRIMARY KEY and FOREIGN KEY relations. which won't support Hierachy DataSource.
I think it will help u a little bit.
Regards
Prabhakar
Maybe you are looking for
-
This has been incredibly frustrating. I am in the middle of a trip to Europe. Before I left, I confirmed with VZW CSR's that my s3 LTE phone is fully unlocked and that I could buy a local sim and use it while in Austria. Aside -- I can't use VZW gl
-
hello, i own a 4th Gen 20GB ipod that has been acting up lately. i've owned the ipod over a year now. about 3 weeks ago i had a problem with it "freezing" up and after reading the forums promptly hit the thing untill it worked again. i knew that migh
-
MacBook Pro 15" Late 2013 freeze every hour at the same time
Hi guys, My MacBook Pro 15" Late 2013 Retina freeze every hour at the very same time. Before every freeze in console i see something like this: 16/07/2014 20:01:56.368 com.apple.mtmd[79]: Set snapshot time: 2014-07-16 20:01:58 +0100 (current time: 20
-
My backup file missing (info.plist)
I did upgrade from 4.2.1 to 4.3.3 but my 4.2.1 backup file missing. missing is only 5 files ( Info.plist Manifest.mbdb Manifest.mbdx Manifest.plist Status.plist ) I was recorver HDD so got 4 files ( Manifest.mbdb Manifest.mbdx Manifest.plist Status.p
-
I