[opencms-dev] dots in folder names give weblogic a problem when using jsps

Denham, Martin Martin.Denham at edfenergy.com
Tue May 11 17:47:01 CEST 2004


Hi,

I have found out why weblogic 8.1 has problems with OpenCms jsp templates.  For Example weblogic fails to load
/opencms/jsp/online/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp.jsp
although I can see welcome.jsp.jsp in the file system.

My initial thought was that weblogic could not cope with the .jsp.jsp extension, but it successfully loaded a test jsp from opencms/Test.jsp.jsp

It still loaded fine after I moved Test.jsp.jsp to 
/opencms/jsp/online/system/modules/Test.jsp.jsp

However, it FAILED to load after moving it to 
/opencms/jsp/online/system/modules/org.opencms.welcome/Test.jsp.jsp

I raised a BEA support case and was informed that dots are package separators and because jsp's are compiled to servlets in a package you cannot use dots in url folder names if accessing a jsp.  That means the package of Test.jsp.jsp will be opencms.jsp.online.system.modules.org.opencms.welcome whereas we would probably expect something like opencms.jsp.online.system.modules."org.opencms.welcome", which confuses weblogic.

So, I am still stuck with non-functioning jsps.  How difficult would it be to use folders without dots in?  It seems as if certain folders are integral to OpenCms e.g. system/modules/org.opencms.templates.

regards

Martin



***********************************************************************************
EDF Energy plc internet e-mail disclaimer
This e-mail and any files transmitted with it are confidential and may be protected by legal privilege.
If you are not the intended recipient, please notify the sender and delete the e-mail from your system.
This e-mail has been scanned for malicious content but the internet is inherently insecure and EDF
Energy plc cannot accept any liability for the integrity of this message or its attachments. No employee
or agent of EDF Energy plc or any related company is authorised to conclude any binding agreement on
behalf of EDF Energy plc or any related company by e-mail. All e-mails sent and received by EDF Energy
plc are monitored to ensure compliance with the company's information security policy.
***********************************************************************************





More information about the opencms-dev mailing list