The search function is broken again and i apologize if there is another thread answering this question.
I want to conditionally use the include directive in my jsp page (i.e. If a certain variable is true, include jsp1.jsp, else include jsp2.jsp).
something like this
<%
String show_main =...
This might seem like a really stupid question....
Is the data transfered through HttpServletRequest.setAttribute(String, Object) and HttpServletRequest.getAttribute(String) visible to traffic outside the web server. Meaning, are these objects transfered through URL rewritting/cookies or are...
Hi all,
I have a page that lets users upload files. I'm limiting users to uploading files that are smaller than 5MB. Currently, the server checks the HTTPServletRequest content length. However, this means that the whole file must 1st be uploaded before the servlet can respond with "file too...
I have 2 servers running Debian, MySQL, Apache Tomcat and a Java webapp. They sit behind a NetGear router with port 8080 (http in this case) forwarded to Server A. I want to be able to do a couple of things:
1) if mysql/tomcat crash on server A, i want all trafit to go to server B and the...
hi,
I am writting a servlet that reads the uploaded file from InputStream data from the HttpServletRequest and write a file of that type to the server. I saw sedj's code on http://www.tek-tips.com/viewthread.cfm?qid=881282. The jsp code works w/o a glitch for ASCII files like with .txt...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.