[opencms-dev] [jsp] ??? mystery solved

martin koeck martin.koeck at gmx.at
Fri Aug 1 14:08:00 CEST 2003


just in case anybody else traps into this:

opencms "static export" takes for JSP template retrieval a http request 
(for what reason ever...)

the IP adress (or host name) is taken by default from the FIRST client 
request ... to later (maybe week later!) do something like

http://<ip_from_first_request>/opencms/bla bla

so if your first request is from localhost, it will normally always 
work. if it is from remote, it depends whether the server can reach 
_itself_ by that remote address -- which in case of firewalls might be 
the case, or rather NOT!

the result in this case: everything (like pics) is exported correctly 
(because it is copied from the VFS), but JSP template based pages are 
NOT, because they cannot be constructed, and the result ist all files 
having [jsp] ???

normally you should be safe if you change the default settings in 
opencms.properties to:
flex.jsp.exporturl=http://127.0.0.1:8080/opencms/opencms

correct me anybody if anything is wrong in here.

take care
--
martin






More information about the opencms-dev mailing list