Originally posted by elay Raja:
This is my scenario:-
I am trying to upload a large file using applet with servlet.
Please confirm me!!.. is it possible to upload more than 2GB file from applet to servelt using I/O streams by this scenario.I am reading a file in java using I/O stream classes and writing the above streams to servlet by creating connection to it.In servlet,i am writing the above streams to file. If i try to write more than 1GB files, i am getting OutOfMemoryError.To increase the heap size can we avoid this error . If so, where should i increase in Tomcat server? please help me to resolve this issue.
Originally posted by M Rama:
K&B says the following:
For subclasses outside the package, the protected member can be accessed
only through inheritance; a subclass outside the package cannot access a
protected member by using a reference to an instance of the superclass (in
other words, inheritance is the only mechanism for a subclass outside the
package to access a protected member of its superclass).