Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy jsp with weblogic5.1 error?

 
Tom Barns
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I have a very simple jsp in the default location which is :
$/weblogic/myserver/public_html/test.jsp
when i use the following url and execute it http://localhost:7001/test.jsp i found 'file download window'
asking where do i need to save my file,it is starnge behavior.
Also i have these setting for jsp properties in weblogic.properties:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# WEBLOGIC JSP PROPERTIES
# ------------------------------------------------
# Sets up automatic page compilation for JSP. Adjust init args for
# directory locations and uncomment to use.
weblogic.httpd.register.DMS.jsp=\
# weblogic.servlet.JSPServlet
c:\inetpub\wwwroot
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=d:/jdk1.2.2/bin/javac.exe,\
workingDir=d:/weblogic/myserver/classfiles,\
verbose=true
 
alex almero
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this configuration...
weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=c:/java/j2sdk/bin/javac.exe,\
workingDir=c:/weblogic/myserver/classfiles,\
verbose=true

best regards
 
Tom Barns
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all.
It is working fine.
Happy Thanksgiving for all.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic