hi
i would like to know if any of u guys have worked with JSPs on Weblogic.
I have some problem with it... i am using <jsp:useBean> tag and while i give the class="some class", iam unable to make out where to put these classes in weblogic and how to map them or set some path with it.. i have gone thru the complete doc.. but found nothing relevent.. also i tried putting class files in the "classes" subdirectory and at some places for hit-n-try purpose..
can some one help ??
-
JSP and WEBLOGIC, Problem with useBean Tag .. (3 messages)
- Posted by: Shiv Kumar Yadav
- Posted on: November 10 2000 12:10 EST
Threaded Messages (3)
- JSP and WEBLOGIC, Problem with useBean Tag .. by Xin Feng on November 10 2000 21:03 EST
- JSP and WEBLOGIC, Problem with useBean Tag .. by thalla sreenivasulu on November 11 2000 01:25 EST
- JSP and WEBLOGIC, Problem with useBean Tag .. by Xin Feng on November 11 2000 16:31 EST
-
JSP and WEBLOGIC, Problem with useBean Tag ..[ Go to top ]
- Posted by: Xin Feng
- Posted on: November 10 2000 21:03 EST
- in response to Shiv Kumar Yadav
You should put the root directory of your bean in weblogic.class.path. WL recommend you put these independent client side classes under "%WL_HOME%\myserver\clientclasses".
Good lucky
Fun -
JSP and WEBLOGIC, Problem with useBean Tag ..[ Go to top ]
- Posted by: thalla sreenivasulu
- Posted on: November 11 2000 01:25 EST
- in response to Shiv Kumar Yadav
Class files shold be availbale in myserver/serverclasses.
<jsp:useBean id="tt" class="class root path" scope="session"/>
class="packagename.filenmae.classextension"
Goodluck -
JSP and WEBLOGIC, Problem with useBean Tag ..[ Go to top ]
- Posted by: Xin Feng
- Posted on: November 11 2000 16:31 EST
- in response to thalla sreenivasulu
I think you should put server side classes (Application Server, not HTTP server) to "\myserver\serverclasses", and clientside classes (clients which invoke Application Server) to "\myserver\clientclasses". According to the Servlet 2.2 specification, the utility classes used by JSPs or Servets should be put to "myserver\WEB-INFO\classes\", and the utility jars under "myserver\WEB-INFO\lib".
Any way this is only the convention. In order to let the <jsp:useBean> tag find the class, you got put the class under class path visible by the JVM classLoader.
Fun