Re: How to access Tomcat session objects directly via JavaScript?

2021-05-16 Thread Luis Rodríguez Fernández
Hello Leo, You can add your custom header in the response via the HttpServletResponse.addHeader() [1] method. Hope it helps, Luis [1] https://tomcat.apache.org/tomcat-8.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#addHeader(java.lang.String,%20java.lang.String) El lun, 17

JSP file not found in parent directory

2021-05-16 Thread Hans Schou
Hi I got this error when accessing my site: org.apache.jasper.JasperException: /mainframenotlogged.jsp (line: [1], column: [2]) JSP file [../am_databaseopen.jsp] not found The URL I'm accssing is like https://example.org/interfaceparts/mainframenotlogged.jsp and when I go into the directory wit

Re: [Community] try to add an community growth graph to the website

2021-05-16 Thread Shuyang Wu
Hi Mark, I've updated the "anonymous" contributors, and currently there are around 20 contributors in early 2012, and 90 for now (compared to 10/~60 separately before). Would those data be more reasonable? Best, Shuyang Shuyang Wu 于2021年5月11日周二 下午11:37写道: > Hi Christopher, > > Thanks for the i

Re: How to access Tomcat session objects directly via JavaScript?

2021-05-16 Thread leo
Rony, Thanks for chiming! :-) >> […] In the JSP pages I retrieve the session >> object *through Java* like this >> >> <% >> HttpSession session = request.getSession(); >> ... >> user = (String)session.getAttribute("user"); >> ... >> %> >> >> Then later on t

Re: Tomcat JSP error message: Syntax error on token ";"

2021-05-16 Thread Mark Thomas
On 15/05/2021 22:34, Jim Anderson wrote: I'm using Tomcat 8.5.63 and in the last few days I started getting an error message in a few of my JSP files. The error message is: START ERROR Type Exception Report Message Unable to compile class for

Re: How to access Tomcat session objects directly via JavaScript?

2021-05-16 Thread Rony G. Flatscher (Apache)
Leo, On 16.05.2021 03:16, leo wrote: > Hi Folks > > In a small scale personal project served by Tomcat I record things per > logged-in user. The user is > available as an attribute to Tomcat’s session objects. In the JSP pages I > retrieve the session > object *through Java* like this > >     <%