In which jar file is he HttpServlet Class ?
I've just downloaded J2SE 1.5. I haven't found a jar which contents classes such as HTTPServlet, HTTPSession, and so forth.
I guess it is part of the "Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2", but I do not need all these stuffs, because I have already an Web application Server (Tomcat). I need only what it used to be called j2EE.jar.
Is it a way to download separalety from a location ?
Thanks
Gege
I've just downloaded J2SE 1.5. I haven't found a jar
which contents classes such as HTTPServlet,
HTTPSession, and so forth.It isn't there. It is part of J2EE (or now Java EE) not J2SE (or Java SE).
I guess it is part of the "Sun Java System
Application Server Platform Edition 8.1 2005Q2 UR2",Well, That server implements Java EE, so yeah...
but I do not need all these stuffs, Also correct.
because I have
already an Web application Server (Tomcat). I need
only what it used to be called j2EE.jar. It is called J2EE.jar in the J2EE reference implementation, and maybe some other servers.
Is it a way to download separalety from a location ?Don't need to. You already have it. Tomcat comes with a partial implementation of the Java EE spec. Depending on the version of Tomcat, it might be:
servlet.jar (Tomcat 4)
servlet-api.jar and jsp-api.jar (Tomcat 5)
If you plan on working with JSPs, custom tags, and the like, then adding the jsp-api.jar to the classpath (for Tomcat 5) will save some headaches later. But all the servlet stuff is in servlet.jar or servlet-api.jar.
>
>
Thanks
Gege
Similar Messages
-
Which jar file has the class TaskFlowBindingAttributes?
Hi,
I'm using JDeveloper version - 11.1.1.6
I want to know which jar file consists the TaskFlowBindingAttributes class?
I looked into following location - JDEV_HOME\oracle_common\modules\oracle.adf.controller_11.1.1\ and didn't find this class in jar files located here. (adf-controller.jar, adf-controller-api.jar and adf-controller-rt-common.jar)
Any inputs would be helpful.
Thanks
RaviHi,
I found it in ADF 11g R2 documentation - http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm#insertedID10
I guess this is 11g R2 feature.
I have a requirement to display the multiple regions dynamically. This feature suits my requirement perfectly, but unfortunately it is not available in 11g R1.
Can we achieve the similar functionality in 11g R1 through other means?
Thanks
Ravi -
Which jar file include class - weblogic.utils.UnsyncStringBuffer?
When I compile my JSP file by using JDeveloper, but I got "Error: java.lang.NoClassDefFoundError: weblogic/utils/UnsyncStringBuffer". I don't know which jar file is including this class file, and where I can get that jar file?
This is my JSP file header
<%@page language="java" contentType="text/html;charset=UTF-8"%>
<%@taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@taglib uri="netui-tags-html.tld" prefix="netui"%>
<%@taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<%@taglib uri="cnt.tld" prefix="cnt" %>
<%@taglib uri="cnt-util.tld" prefix="cnt-util" %>
<%@taglib uri="c.tld" prefix="c"%>
Thanks,
lucyI doubt that a user who hasn't posted in 3+ years is going to wake up and answer you.
Probably best for you to post your details in a new thread (linking to here if you think it adds value)
You can always use Tools->Manage Libraries in JDeveloper and type the class name into the search box; it will tell you which libraries have the class. -
In which jar file SAP NW(EP) connector class available
hi
i want to know in which jar file the javaconnector class is available and i'm developing one plugin to connect sap ep to sap km repository to fetch docs from repository. for this i need some java classes so pls help me out from this problem.....
regardsHallo Rupesh,
you could have a look at the following jars:
bc.crt_api.jar bc.rf.framework_api.jar bc.rf.repository.service.serviceacl_api.jar bc.rf.runtime_api.jar bc.sf.framework_api.jar
bc.sf.service.scheduler_api.jar
bc.util.private_api.jar
bc.util.public_api.jar
for repository actions and for Security take these two into account:
com.sap.security.api.ep5.jar
com.sap.security.api.jar
Javadocs for the KM-API, e.g. SPS15:
https://media.sdn.sap.com/javadocs/NW04/SPS15/km/index.html
From there you can start and simply search for the class-files within SAP-jars if you need anything else.
Hope it helps,
regards
Christian -
How to search for a class to know it is in which Jar file
Hi Guys,
Can any tell me how to search a class file. I have a set of Jar files in which the required class file is there. But i don't know in which Jar file the class is. Is there any way to find out.
Regards,
Gowtham K.Hi Gowtham,
Please download the Class locator from the following site. This will help to know what you are looking for.
<b>http://www.alphaworks.ibm.com/tech/jarclassfinder</b>
<b>http://sourceforge.net/projects/classlocator</b>
I hope this solves your problem.
Regards
Pravesh
PS: Please consider rewarding points for helpful answer. -
Which jar file for the classpath ?
At my office on my machine i have weblogic 8.1 and tomcat installed.
weblogic have 2.3 version of servlet and
tomcat have 2.4 version of servlet
weblogic is for production purpose (development of servlet, jsp and ejb)
and tomcat is for my own practice. (just for servlet and jsp)
i have weblogic.jar as well as servlet-api.jar in my class path.
now when i compile my servlets which jar file the compiler will use to create the classes.
if the compiler chooses servlet-api.jar will my servlet run in weblogic
else
if the compiler chooses weblogic.jar will my servlet run in tomcati have weblogic.jar as well as servlet-api.jar in my class path.What does this mean? Do you have a system CLASSPATH environment variable?
Bad idea.
now when i compile my servlets which jar file the
compiler will use to create the classes.You should set CLASSPATH using the -classpath option on javac.exe.
The compiler won't "choose" anything, because it has no idea how you'll deploy. It'll use the one that you tell it to. If you have just a system CLASSPATH it'll always use the first JAR that it finds with the packages it needs.
You need to specify exactly what you want the compiler to use.
In the case of servlet.jar it might not matter, because that's pretty standard. JSPs and EJBs are another story, however. If you change deployment, it's best to recompile and repackage the Web app.
Learn Ant. It'll help you automate this.
% -
Which jar files for pcm.system.ISystems package?
Hi ,
Which jar files are needed for the packages:
com.sap.portal.pcm.system.ISystems
com.sap.portal.pcm.system.ISystem
and under which path I coul dfind them.
Thnx
Regards
Meesum.Hi Meesum
just install WinRAR (yeah, get a licence, it's worth), point the dir to .../irj/root/WEB-INF/portal/portalapps and search for ISystem*.class - and you're done.
This time I have done it for you:
Application com.sap.portal.ivs.api_landscape/lib/com.sap.portal.ivs.api_landscapeapi.jar
Hope it helps
Detlev -
I am trying to make a Web Service client on my jakarta tomcat server....
I used JDeveloper for generating my client .java file but i dont know which jar to include for oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.
Somebody pls tell me which jar file i need to copy for this thing to run successfully .... thxHi,
After compatibility problems between stub generated with JDeveloper 10.1.3 and Oracle Application Server 10g (9.0.4), i decide to downgrade the project to JDeveloper 10.1.2, then more problems... the wsdl wich JDeveloper 10.1.3 accept perfectlly was not so well interpreted by JDev 10.1.2, and i have to do some adjustments on wsdl, then the code generated didn´t format well the soap message (namespaces).....and i made my self some code at the stub class....uffff.
Now I have the java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub when the application run´s at the Application Server, and yes i include the jdev-rt.jar (included on 'JDeveloper Runtime' library)
Any clues (changing the technology is not an option ...for now)?
Thank´s -
In which jar file will i find the Class
PublicObjectUtilities
every help is welcomeIn which jar file will i find the Class
PublicObjectUtilities
every help is welcome -
Which jar file is used for IMonitorInfoProvider?
I'm trying to create a repository service but I'm getting "outside the class path " error for com.sap.netweaver.km.IMonitorInfoProvider.
I'm not sure which jar file have to pick as this is not available inside my IDE/../Plugins folder.Hi,
Here is where you can find it.
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF/portal/portalapps/com.sap.netweaver.bc.crt/lib/bc.util.kmmonitor_api.jar
So in your portalapp.xml set <b>com.sap.netweaver.bc.crt</b> in SharingReference.
<property name="SharingReference" value=" com.sap.netweaver.bc.crt"/>
Greetings,
Praveen Gudapati
[Points are welcome for helpful answers]
Message was edited by:
Praveen Gudapati -
Which jar files should I use for XSLT?
I'm trying to do one of the examples from the Java/XML tutorial on this site. I can't get it to work. I started with the JAXP jar file and couldn't compile because it couldn't find one of the classes it needed. I then added the XALAN jar file to my CLASSPATH and got a clean compile but it crashes when I try to create the tranformer from the factory. It gives an error that says something like the SAX parser doesn't support the namespace. I tried various iterations of this. Could someone please tell me which jar files to include and in what sequence?
Thanx,
CliffI have the Xerces jar followed by the Xalan jar.
I get the following error:
C:\JBUILDER4\JDK1.3\bin\javaw -classic -classpath "C:\JBuilder4\projects\ProjectXML\classes;C:\Java\lib\xerces.jar;C:\Java\lib\xalan.jar;C:\JBUILDER4\JDK1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBUILDER4\JDK1.3\jre\lib\i18n.jar;C:\JBUILDER4\JDK1.3\jre\lib\jaws.jar;C:\JBUILDER4\JDK1.3\jre\lib\rt.jar;C:\JBUILDER4\JDK1.3\jre\lib\sunrsasign.jar;C:\JBUILDER4\JDK1.3\lib\dt.jar;C:\JBUILDER4\JDK1.3\lib\tools.jar" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y com.craig.xml.util.Stylizer C:\JBuilder4\projects\ProjectXML\DataAreaDescTemplate.xsl C:\JBuilder4\projects\ProjectXML\DataAreas.xml
javax.xml.parsers.FactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:149)
at com.craig.xml.util.Stylizer.main(Stylizer.java:47)
Exception in thread "main"
This is my code:
package com.craig.xml.util;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.w3c.dom.Document;
import org.w3c.dom.DOMException;
// For write operation
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.stream.StreamResult;
import java.io.*;
* Title: ProjectXML
* Description: Test Project for XML work
* Copyright: Copyright (c) 2002
* Company:
* @author Clifton Craig
* @version 1.0
public class Stylizer {
// Global value so it can be ref'd by the tree-adapter
static Document document;
public Stylizer()
public static void main(String[] argv)
if (argv.length != 2)
System.err.println ("Usage: java Stylizer stylesheet xmlfile");
System.exit (1);
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
//factory.setNamespaceAware(true);
//factory.setValidating(true);
try
File stylesheet = new File(argv[0]);
File datafile = new File(argv[1]);
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.parse(stylesheet);
// Use a Transformer for output
TransformerFactory tFactory =
TransformerFactory.newInstance();
// StreamSource stylesource = new StreamSource(stylesheet);
StreamSource documentsource = new StreamSource(datafile);
DOMSource styler = new DOMSource(document);
Transformer transformer = tFactory.newTransformer(styler);
StreamResult result = new StreamResult(System.out);
transformer.transform(documentsource, result);
catch (TransformerConfigurationException tce)
// Error generated by the parser
System.out.println ("\n** Transformer Factory error");
System.out.println(" " + tce.getMessage() );
// Use the contained exception, if any
Throwable x = tce;
if (tce.getException() != null)
x = tce.getException();
x.printStackTrace();
catch (TransformerException te)
// Error generated by the parser
System.out.println ("\n** Transformation error");
System.out.println(" " + te.getMessage() );
// Use the contained exception, if any
Throwable x = te;
if (te.getException() != null)
x = te.getException();
x.printStackTrace();
catch (SAXException sxe)
// Error generated by this application
// (or a parser-initialization error)
Exception x = sxe;
if (sxe.getException() != null)
x = sxe.getException();
x.printStackTrace();
catch (ParserConfigurationException pce)
// Parser with specified options can't be built
pce.printStackTrace();
catch (IOException ioe)
// I/O error
ioe.printStackTrace();
}//End Main
} -
Can anyone tell me which jar contain weblogic.jws.WLJmsTransport class
Hi All,
Can anyone tell me which jar contain weblogic.jws.WLJmsTransport class
Thanks in advance?Hi,
You can find that in the "*weblogic.jar*", "*wls-api.jar*" and "*wseeclient.jar*" which can be found in the below directory
Path:
wlserver_10.3/server/lib/
Also you can have a look at the below link which shows you how to find any CLASS present inside your file system.
Topic: Finding Classes using JAR SCANNER
http://middlewaremagic.com/weblogic/?page_id=241#comment-3621
Regards,
Ravish Mody -
Hi,
Can anyone tell me which jar files I have to add in my class path to resolve-class cannot be resolved issue of theses classes.
com.sapportals.portal.prt.core.service.ServiceManager
com.sapportals.portal.prt.service.content.IContentService
Regards,
Swapnahi,
You can install jar class finder from
http://www.alphaworks.ibm.com/tech/jarclassfinder
or you can see the below weblog which deals with integrating jar class finder provided by IBM with your NWDS .
Using JAR Class Finder
Regards,
Ganesh -
Which jar file(s) from the Eclipse plug-in to use
Post Author: supermonkey
CA Forum: JAVA
Hi,I downloaded JRC plug-in and realized there are 47 jar files for CR. Now I'm wondering how many of these 47 files are being use when running CR from Java? My Java application resides on a server and users access the application thru web start. If users have to download all 47 jar files every time they run the application, it would su*k for them very much. Now does anyone know which jar files are actually being use during execution?The document here http://support.businessobjects.com/communityCS/TechnicalPapers/cr_xi_r2_jrc_deployment.pdf.asp told me that I only need about 20 or so of them. I plugged into the classpath or my test application and errors occurred. Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/configuration/CompositeConfiguration at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at com.crystaldecisions.reports.common.engine.ConfigurationManager.<init>(Unknown Source) at com.crystaldecisions.reports.common.engine.Engine.configure(Unknown Source) at com.crystaldecisions.reports.common.engine.Engine.getConfigurationManager(Unknown Source) at com.crystaldecisions.reports.common.engine.a.a(Unknown Source) at com.crystaldecisions.reports.common.engine.Engine.getKeycodeManager(Unknown Source) at com.businessobjects.reports.sdk.a.a(Unknown Source) at com.businessobjects.reports.sdk.a.<init>(Unknown Source) at com.businessobjects.reports.sdk.a.if(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.void(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.connect(Unknown Source) at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source) at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source) at JRCViewReport.launchApplication(JRCViewReport.java:26) at JRCViewReport$1.run(JRCViewReport.java:50) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Now does anyone know which jar files are actually being use during execution? Or are all them have to be present? thanks,Post Author: supermonkey
CA Forum: JAVA
Hi Ted,Thanks for the reply. But what I was interested in knowing was how many of the Eclipse-CR plugin jar files does CR require for a successful execution? Or do I have to import all 47 jar files? thanks -
Application in JAR file cant find JDBC classes
Hi,
When I run an application from the JAR file the ClassNotFound exception is throw! When I run from the application classes in the directory the program works. The JDBC classes are in the CLASSPATH, the manifest of JAR file is:
Manifest-Version: 1.0
Created-By: xxxxx
Main-Class: com.xxx.jhdesk.JHelpDesk
Class-Path: classes111.jar JdbcDomino.jar
I tried to put "class-path" parameter in the manifest but the problem continues.
I need to send only my jar file, and the JDBC classes would be anywhere at the client machine.
Any hint will be appreciated!
Thanks in advance!
Daniel CarvalhoThose two jar files in the Class-Path entry in the manifest file, are they in the same directory as the jar file? (What you put there is supposed to be relative to the jar file, and you have no directory information.) And is there a line-ending character at the end of that line?
Maybe you are looking for
-
MacBook Pro connection to Sony BRAVIA KDL32EX308
Hi, Can I use Apple's VGA Adapter to connect my MacBook Pro (Mac OS X 10.5.8) to Sony BRAVIA KDL32EX308. Is it compatiable? If not, which adapter I should buy? Thank you in advance.
-
Hi Experts, I have a requirement to print: "Page XX of XX" in my ABAP List report (this report is meant to be printed). For Current Page, I know that the system field is SY-PAGNO. But I can't find the field for Total Page. Is there anyway to print t
-
Explode document distribution list / organisational unit
I have configured document distribution. I am able to send mails through document distribution. However, I want to send mail to a group of users. Hence I have created an organisational unit with different positions and I have captured the e-mail addr
-
Its really great to just select a text and let your PC read it out load and i love that feature. But it is just not working for me in the new safari.
-
Error Message "Connection failed" appears periodically
Hello Several times daily the following error message (translated roughly from German) appears on a MacBook Pro with 10.6: Network Connection The connection failed, because the communication device is not available. Make sure that it is connected to