wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Help this kid to now how to run JSP in Weblogic server 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Help this kid to now how to run JSP in Weblogic server 5.1" Watch "Help this kid to now how to run JSP in Weblogic server 5.1" New topic
Author

Help this kid to now how to run JSP in Weblogic server 5.1

Sunil Babu
Greenhorn

Joined: Feb 04, 2003
Posts: 7
Hi all,
I am a beginner to JSP code and i got Weblogic Server 5.1 and i want to know the basic steps that are involved in order to run JSP pages in weblogic Server5.1
how to set up weblogic server 5.1 ,properties and so on..
Thank You
Sunil
Shadab Khan
Greenhorn

Joined: Jul 11, 2002
Posts: 20
its been a long time since i worked on weblogic 5..but let me try..
locate the Section titled "Weblogic JSP properties" in the weblogic.properites...uncomment the lines in this secion..this sets up the dynamic page compilation for .jsp page...This should do the trick
[ February 13, 2003: Message edited by: Troy Smith ]
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Moving this to the BEA/WebLogic forum...
Simon
Shadab Khan
Greenhorn

Joined: Jul 11, 2002
Posts: 20
ok kiddo.. found a weblogic 5 properties file hiding somewhere in the dark corners of my hard disk..so let me make this a bit more easier for you..iam pasting the JSP section from this file
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# WEBLOGIC JSP PROPERTIES
# ------------------------------------------------
# Sets up automatic page compilation for JSP. Adjust init args for
# directory locations and uncomment to use.
#weblogic.httpd.register.*.jsp=\
# weblogic.servlet.JSPServlet
#weblogic.httpd.initArgs.*.jsp=\
#pageCheckSeconds=1,\
#compileCommand=f:/jdk1.2/bin/javac.exe,\ #workingDir=g:/weblogic/myserver/classfiles,\
#verbose=true
locate this section in ur weblogic.properties file..remove those # marks at the beggining of each line...change the properties called "compileCommand" and "workingdir" according to ur local settings.
compileCommand -> the path to ur java compiler and
workingdir ->the path to the working directory which weblogic uses to store servlets generated after compiling jsps
save the file and restart the server.
Vikalp Singh
Ranch Hand

Joined: Dec 29, 2002
Posts: 50
Learing jsp with the Weblogic 5.1 is ,
only you should know the configuration in the weblogic.propertie file .
Just put your jsp in the Document Root defined in the property file.
and Run that jsp from the URL , with relative loaction with respect to Document Root.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help this kid to now how to run JSP in Weblogic server 5.1