Where i can put my servlet class in tomcat 4.1
where i can put my servlet class in tomcat 4.1 ?
hi,
you have to put your serlet class file in
Tomcat\webapps\
Here create a directory as you wish
then, Tomcat\webapps\your directory\WEB-INF\classes
and you have to copy web.xml to WEB-INF directoy.
Hope this will help.
Regards
Sekhar
Similar Messages
-
Where I should put the bean class?
Hello,
I am learning JSP. I want to know where I should put the bean class? Which directory should I put the bean class?
note that I am using Tomcat 4.1
johnwen
24-12-2005I can't tell if you've got everything you need or not, but what you've shown looks right so far. Let me run down the necessities:
In your JSP file:
<%@ page import="aos.*" %>
<%-- imports all of the classes in the "aos" package --%>
In your Java file:
package aos; // tells Java this is a package (you probably have this)
Then, of course, you put the class file into the directories that you mentioned, ie, $CATALINA_HOME/ROOT/WEB-INF/classes/aos (forgive me if I use Unix-styled slashes; old habit, and shouldn't make any difference.)
You may need to restart Tomcat. You have to restart it when you add certain directories, although I'm not sure exactly which ones. But it never hurts to just restart it anyway. -
I got a new laptop and I can't sync all my music onto iTunes without iTunes saying it will erase my songs on the phone, how do I fix this to where I can put all my music on my laptop?
If you do not have access to the iTunes Library on your Old computer... or its Backup...
See these 2 Links...
Syncing to a New Computer...
https://discussions.apple.com/docs/DOC-3141
Recovering your iTunes library from your iPod or iOS device
https://discussions.apple.com/docs/DOC-3991
If you do have access... See Here...
iTunes: How to move your music to a new computer -
my ipad was in recovery mode and it went back to the home screen and it found my info on itunes to the point where i can put music on it but it still says connect to itunes
sarahwood wrote:
.. it said my iPod was in recovery mode and I needed to restore it?
Once the Device is asking to be Restored with iTunes... it is too late to save anything...
See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once...
Be sure to Follow ALL the Steps...
To minimise loss... after the successful Recovery... Restore from the most recent Backup...
See Restore from Backup here
http://support.apple.com/kb/ht1766 -
Would like to place in a an area where I can put widgets
Hi,
I would like to place in a Master-B Page an area on the right where I can put widgets. I have used the rectangle tool to create the area with an image background but it does not extend to the bottom of the page if I scroll down. How can I do this? Thank you. (http://192.168.0.7:33333/Preview/kellyanguyen2/master_b-master.html)
Best Regards,
KellyHi Gaurav,
Attached is a screen shot. The right side rectangle is the area where I want to put widgets. I would like the widget area to stretch down from the top of the page (as it looks like in the first screen shot) down to an inch above the footer. Is there a specific setting where I can make this happen or a different tool I should use? Thank you.
How it looks in browser zoomed out: -
Hello, I'm having trouble getting to the page where I can put in my activation code for my One to One. I keep getting ID or Password error. Have already reset twice… HELP Plz.
sashaburg wrote:
Unfortunately Netgear's support isn't very supportive.
Without Airport set-up, and without wireless connection, I can't talk between macs either.
Ok, this is a mac question: With the order changed so that the ethernet comes first, why is it still showing my connection to the neighbor's wireless? Am I reading that wrong? OR am I connected to both at the same time? If so, why would it connect twice to the internet?
Probably because you neighbor has no security on his network. Does his network show a lock like
If it does he's got security turned on, if there is no lock showing he hasn't turned it on. -
Tomcat can't find servlet class
Hello,
I am trying to forward information from a jsp page to a servlet (the example in JSPIntro.pdf). I keep getting the error that the servlet class can't be found. I have put it in webapps/examples/web-inf/classes. I also added the servlet name in several web.xml files in different directories to no avail. Can anyone give me a hint on setup.
Thanksto setup correctly the servlet you need something like this int the web.xml
<servlet>
<servlet-name>yourservlet</servlet-name>
<servlet-class>xx.yyy.zzz.yourservlet</servlet-class>
<init-param>
</servlet>
and you must put the class under
WEB_INF/lib/xx/yyyy/zzz directory of your context.
the servlet must be called as
http://yourhost/yourcontext/servlet/yourservlet
hope it helps,
Giovanni -
Can any one tell me where I can find the methodtracer class
I am trying to compile the Bean Box withing the BDK and have got to a stage where I can not compile further because I am missing the class MethodTracer.
Does anyone know where I can find this class.
Thank youin the import statement it says that it is in sunw.demo.
But when I look there it is not there. -
Where should I put Java Servlet Spec
Dear all,
I'm in the process of installing Oracle Application Express Listener where it needs Java Servlet Spec 2.3. I got the Spec downloaded, but I don't know where should I put it. How come it's hard to find documentation about this? Please help....
Currently I'm using Linux 64.
Best regards,
ValOh,
haha.. I just realized that....
About System Requirements
Oracle Application Express Listener system and space requirements are as follows:
Oracle Database (Enterprise Edition, Standard Edition or Standard Edition One) release 10.2.0.3 or higher, or Oracle Database 10g Release 2 Express Edition or higher.
Java 6 Update 20 JDK or higher.
Java Servlet Specification 2.3 or higher.
Web browser requirements:
o
Microsoft Internet Explorer 8.0 or higher.
o
Mozilla Firefox 3.0 or higher.
o
Google Chrome 2.0 or higher. -
Where I can find the java class about xml
I need transfer a xml file to oracle use Java. I find a Java program can do it, but the java progran need a class(oracle.xml.sql.dml.*) and I don't find it.
I use Kawa 4.01a and Java 1.3.
I need people tell me where I can find the class.
Thanks
Chih-Ping YangGo to: http://technet.oracle.com/tech/xml/oracle_xsu/
Select [Software] from the tab on the top
and download OracleXML SQL Utility.
If you're using Oracle8.1.5, download version
111. If using Oracle8.1.6, download XSU12.
Unzip the archive file.
Under the lib directory, there should be
a jar file. This jar file contains the class
you're looking for.
You do not need to unzip this file. Just set
it in your CLASSPATH. -
Where is the oracle.jdeveloper.servlet Class?
Hi,
I want to use a dbservlet in Oracle JDeveloper 3.2 or higher but I can not find dbservlet class/icon to create a dbservlet with a wizard. How I install this class and where can I download this? What is to do to use this classes in JDeveloper.
Thank´s
SebastianThe dbServlet functionalit has been replaced by the use of JSP pages + DataTags.
-
Where from can i download "servlet.jar"
Hi Friends,
I've JDk1.5 and Tomcat installed on my system,I am going through some servlet tutorials and i need to run them.So,i guess i need to have servlet.jar file in my classpath.Can someone tell me where from can i install that?I have this link
www.java.sun.com/products/servlet/index.html
But,I dont want the whole J2EE download,i just need a customized installation or just this file.Please help.hey kefgolfs,
Thanks ...that helped me too...That was written over two years ago. Thanks for resurrecting it. -
What is directory where I can put in jar file without specify classpath ?
hi,
Is there any directory in weblogic similar to the directory of WEB-INF/lib/ where I can throw a jar file in without specify classpath explicitly.
The reason I'm looking for such directory is :
-- I do not want to specify classpath explicitly
-- I'd like it outside of an application so that it stay even if the application redeployed.
ThanksHi Aacc,
The domain library directory that you are looking for is usually $DOMAIN_DIR/lib, for example "C:\Oracle\WLS_Middleware10.3.4\user_projects\domains\test_domain_1\lib" (Windows) or "/u01/weblogic/domains/my_domain/lib" (Linux/Unix).
The jars located in this directory will be picked up and added dynamically to the end of the server classpath at server startup. The jars will be ordered lexically in the classpath. The domain library directory is one mechanism that can be used for adding application libraries to the server classpath.
You can override the $DOMAIN_DIR/lib directory using the -Dweblogic.ext.dirs system property during startup. This property specifies a list of directories to pick up jars from and dynamically append to the end of the server classpath using java.io.File.pathSeparator as the delimiter between path entries.
-Cris -
What should I do when water fell on the hole where my air plugs goes and where I can hear some music?
Best to take the iPhone to the Apple genius bar and have them ckeck it out...see if it can be cleaned and restored or needs replacement. Water and electronics do not play well together.
-
Problem in compiling servlet class - using Tomcat
Hi,
I have a servlet pgm that I'm trying to compile.I using Tomcat application server.I have my servlet class in D:\servlet_wrk\project1\src
and my deployment descriptor in D:\servlet_wrk\project1\etc
my CLASSPATH var is set to C:\Sun\AppServer\jdk\bin
and
my PATH var is set to C:\Sun\AppServer\bin.
When I compile my servlet class Ch1Servlet.java in the command line from the directory
D:\servlet_wrk\project1 using the command
javac -classpath D:\applications\tomcat-5.5.12\common\lib\servlet-api.jar -d classes src/Ch1Servlet.java,
it says error:cannot read: src/Ch1Servlet.java
Can somebody help me to solve this problem and help me to compile my servlet class.
Thanks.Thanks...as u said I tried putting dir & found that
my file was saved as Ch1Servlet.java.txt instead for
Ch1Servlet.java......So that was a problem.Now I'm
able to compile.Oh, yeah. Notepad will do that to you. I think when you save in Notepad if you put quotes around the name "Whatever.java" then it won't add the .txt.
But on compiling I'm getting the following error
package java.servlet.* does not exist
package java.servlet.http.* does not exist
package java.io.* does not exist
Do u the reason for this??? The servlet stuff is java[b]x.servlet. For the io stuff, I don't know, I'd have to see your code. Either you have a typo or a corrupt installation.
Maybe you are looking for
-
Hi All, Oracle sql engine supports 4000 bytes for varchar2 columns . No matter we store 4000 characters (single byte characters) or n multibyte characters(where n<4000) .I am skeptical for those cases where the database supports multibyte characte
-
Connecting to MS Access In Windows 7 64-Bit
Hi. As usual, Microsoft has done its best to make this as difficult as possible. The essence of a solution to this problem that I found at http://sushantnayak.wordpress.com/2010/10/25/connect-ms-access-using-jdbc-odbc-in-windows-7-64-bit/ is as follo
-
HT202769 Apps cannot be launched from the control centre when the phone is locked?
I'm using an iPhone 6, running iOs 8.3. There is an issue when I try to launch any apps from the Control Centre while my phone is still locked. For example, if I launch the camera from the Control Centre while the iPhone is locked, the camera will la
-
Disable "Show Tab Order" default when opening document
I've been trying to figure out what I did to my installation of LiveCycle Designer but, on my workstation, it is somehow set to "Show Tab Order" by default when opening an existing PDF form for editing. This means that I have to turn off this feature
-
Percentage pie chart whose query return just one value
Hi, I have a requirement which is to display a pie chart that shows the relative percentage of based on a particular row's values. Here the SQL query return just one value to generate the chart, however Apex is creating its own seemingly random value