I want to initialize servlets/.//...this is done in weblogic.properties
file in 5.But there is no such file in 6.
In weblogic 5 this is done as follows
weblogic.httpd.register.identifier=package.name.classname.
weblogic.httpd.initArgs.identifier=paramName1=value1,paramName2=value2,....
Thanks
Kishore.M
----- Original Message -----
From: "pradeep kumar.s" <pradeepkumar_s@h...>
To: "Enterprise Java Beans" <enterprise_java_beans@p...>
Sent: Thursday, July 04, 2002 2:38 PM
Subject: [enterprise_java_beans] Re: problem in weblogic
> set j2ee12.jar in the classpath therefore u can get access to the servlet
> api in it
>
>
> >From: "Kishore" <kishore.kandaswamy@t...>
> >Reply-To: "Enterprise Java Beans" <enterprise_java_beans@p...>
> >To: "Enterprise Java Beans" <enterprise_java_beans@p...>
> >Subject: [enterprise_java_beans] Re: problem in weblogic
> >Date: Thu, 4 Jul 2002 13:16:02 +0530
> >
> >but there is no servlet.jar in WebLogic esp 6.
> >This solution is for tomcat..I want the solution for weblogic
> >Thanks
> >Kishore.M
> >----- Original Message -----
> >From: "pradeep kumar.s" <pradeepkumar_s@h...>
> >To: "Enterprise Java Beans" <enterprise_java_beans@p...>
> >Sent: Thursday, July 04, 2002 12:11 PM
> >Subject: [enterprise_java_beans] Re: problem in weblogic
> >
> >
> > >
> > > You need to include ur servlet.jar directory in classpath
> > >
> > > >From: "KishoreRoops" <kishore.kandaswamy@t...>
> > > >Reply-To: "Enterprise Java Beans"
<enterprise_java_beans@p...>
> > > >To: "Enterprise Java Beans" <enterprise_java_beans@p...>
> > > >Subject: [enterprise_java_beans] problem in weblogic
> > > >Date: Thu, 4 Jul 2002 06:08:35
> > > >
> > > >Hi,
> > > >I am using weblogic6.When i try to compile the java files (for the
tag
> > > >libraries) in the folder C:\bea\wlserver6.1
> > > >\samples\examples\jsp\tagext\counter i am getting the following
error..
> > > >
> > > >
> > > >Count.java:4: package javax.servlet.jsp does not exist
> > > >import javax.servlet.jsp.*;
> > > >^
> > > >Count.java:5: package javax.servlet.jsp.tagext does not exist
> > > >import javax.servlet.jsp.tagext.*;
> > > >^
> > > >Display.java:4: package javax.servlet.jsp does not exist
> > > >import javax.servlet.jsp.*;
> > > >^
> > > >Display.java:5: package javax.servlet.jsp.tagext does not exist
> > > >import javax.servlet.jsp.tagext.*;
> > > >^
> > > >Display.java:6: package javax.servlet.http does not exist
> > > >import javax.servlet.http.*;
> > > >^
> > > >Display.java:12: cannot resolve symbol
> > > >symbol : class TagSupport
> > > >location: class examples.jsp.tagext.counter.Display
> > > >public class Display extends TagSupport {
> > > > ^
> > > >Display.java:17: cannot resolve symbol
> > > >symbol : class JspException
> > > >location: class examples.jsp.tagext.counter.Display
> > > > public int doStartTag() throws JspException {
> > > > ^
> > > >Increment.java:4: package javax.servlet.jsp does not exist
> > > >import javax.servlet.jsp.*;
> > > >^
> > > >Increment.java:5: package javax.servlet.jsp.tagext does not exist
> > > >import javax.servlet.jsp.tagext.*;
> > > >^
> > > >Increment.java:11: cannot resolve symbol
> > > >symbol : class TagSupport
> > > >location: class examples.jsp.tagext.counter.Increment
> > > >public class Increment extends TagSupport {
> > > > ^
> > > >Display.java:19: cannot resolve symbol
> > > >symbol : variable pageContext
> > > >location: class examples.jsp.tagext.counter.Display
> > > > File tempDir = (java.io.File) pageContext.getServletContext().
> > > > ^
> > > >Display.java:27: cannot resolve symbol
> > > >symbol : class JspWriter
> > > >location: class examples.jsp.tagext.counter.Display
> > > > JspWriter out = pageContext.getOut();
> > > > ^
> > > >Display.java:27: cannot resolve symbol
> > > >symbol : variable pageContext
> > > >location: class examples.jsp.tagext.counter.Display
> > > > JspWriter out = pageContext.getOut();
> > > > ^
> > > >Display.java:38: cannot resolve symbol
> > > >symbol : class JspException
> > > >location: class examples.jsp.tagext.counter.Display
> > > > throw new JspException("Failed to insert counter display");
> > > > ^
> > > >Display.java:41: cannot resolve symbol
> > > >symbol : variable SKIP_BODY
> > > >location: class examples.jsp.tagext.counter.Display
> > > > return(SKIP_BODY);
> > > > ^
> > > >Increment.java:14: cannot resolve symbol
> > > >symbol : variable pageContext
> > > >location: class examples.jsp.tagext.counter.Increment
> > > > File tempDir = (java.io.File) pageContext.getServletContext().
> > > > ^
> > > >Increment.java:20: cannot resolve symbol
> > > >symbol : variable SKIP_BODY
> > > >location: class examples.jsp.tagext.counter.Increment
> > > > return(SKIP_BODY);
> > > > ^
> > > >17 errors
> > > >
> > > >C:\bea\wlserver6.1\samples\examples\jsp\tagext\counter>javac -d c:
> > > >display.java:4: package javax.servlet.jsp does not exist
> > > >import javax.servlet.jsp.*;
> > > >^
> > > >display.java:5: package javax.servlet.jsp.tagext does not exist
> > > >import javax.servlet.jsp.tagext.*;
> > > >^
> > > >display.java:6: package javax.servlet.http does not exist
> > > >import javax.servlet.http.*;
> > > >^
> > > >display.java:12: cannot resolve symbol
> > > >symbol : class TagSupport
> > > >location: class examples.jsp.tagext.counter.Display
> > > >public class Display extends TagSupport {
> > > > ^
> > > >display.java:17: cannot resolve symbol
> > > >symbol : class JspException
> > > >location: class examples.jsp.tagext.counter.Display
> > > > public int doStartTag() throws JspException {
> > > > ^
> > > >display.java:19: cannot resolve symbol
> > > >symbol : variable pageContext
> > > >location: class examples.jsp.tagext.counter.Display
> > > > File tempDir = (java.io.File) pageContext.getServletContext().
> > > > ^
> > > >display.java:24: cannot resolve symbol
> > > >symbol : variable Count
> > > >location: class examples.jsp.tagext.counter.Display
> > > > String countStr = String.valueOf(Count.getCount(countFile));
> > > > ^
> > > >display.java:27: cannot resolve symbol
> > > >symbol : class JspWriter
> > > >location: class examples.jsp.tagext.counter.Display
> > > > JspWriter out = pageContext.getOut();
> > > > ^
> > > >display.java:27: cannot resolve symbol
> > > >symbol : variable pageContext
> > > >location: class examples.jsp.tagext.counter.Display
> > > > JspWriter out = pageContext.getOut();
> > > > ^
> > > >display.java:38: cannot resolve symbol
> > > >symbol : class JspException
> > > >location: class examples.jsp.tagext.counter.Display
> > > > throw new JspException("Failed to insert counter display");
> > > > ^
> > > >display.java:41: cannot resolve symbol
> > > >symbol : variable SKIP_BODY
> > > >location: class examples.jsp.tagext.counter.Display
> > > > return(SKIP_BODY);
> > > > ^
> > > >11 errors
> > > >
> > > >
> > > >kindly let me know why the javax.servlet.jsp does not exist error is
> > > >coming.....I am using wl6
> > > >Thanks
> > > >Kishore.M
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> > >
> > >
> >
> >
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>