i think the paths are case sensitive. You said the directory name is ICS_Samples651, the application is trying to access ics_tamples651 (as the error message indicates). So, make sure you are case compliant!!
good luck
I have a jsp page and in that page i have one include directive ( <%@ include file="page_1.jsp" %> ) I want this include directive to be dependent on a certain variable.
so, .... I want to have a specific <%@ include file="filename.jsp" %> for each value of a specific variable. basically,
if...
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...
the code does indeed work flawlesly.
My problem was that when uploading large files, the processing time was significant. I implemented the FileUpload package from Apache Commons and it really did cut down on the time. Also, its very easy to use, all you need too do is call a couple of methods...
you can use two <input type="file"> statements in the html code and then use the Commons Upload api from Jakarta http://jakarta.apache.org/commons/index.html to obtain the 2 different files submitted through the same html form.
have fun
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...
lol
yea, i remmember the 1st time i did "rm -rf /"
My boss wasnt happy!
maryam, if you can still log onto the machiene. See if all your directories are intact. if not, try botting in emergency mode (at the boot prompt, type "<image_name> emergency" usually image name is something like "linux"...
iv been trying to figure out paypal myself.
Does anyone know if there is a minimum amount of money paypal is willing to do the transaction for. Let say a consumer buys something thats $4.99 with shipping and handling included. Will paypal process the $4.99?
Also, how much does paypal charge...
ahhh,
Iv heard of round robin but as BuckWeet mentioned, I thought the session problems would come up.
As for loadbalancers, do i need a hardware laodbalancer (like F5) or are there any software-type load balancers (preferably, of course, free) that would run on 1 server and redirect overload...
iv heard about jasper reports but dont know much about it. Iv been trying to figure out if it allowes yuo to edit pdf files through java code (i.e. take out certain pages or delete content) all throuhg the API.
any ideas??
tarawfp,
What was the exact error? My mistake was that I was using a Reader instead of a Stream so i was reading characters and not bytes and thats why it worked for ASCII files and not binary ones.
I have a similar question. My webapp will have about 100-200 total users uploading/downloading pdf files (3-5 mb each). Im expecting each user to upload 2-3 files a month and download 3-5 files each month.
Webapp runs in tomcat with mysql for user management on debian.
What do you think the...
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...
yup, sedj is right. I had the same exact problem. I was using a Reader insead of a DataInputStream. The reader converts the data to characters while the InputStream classes keep the data in binary format.
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.