my dog learned polymorphism*
The moose likes JSP and the fly likes arg type of file input stream ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "arg type of file input stream ?" Watch "arg type of file input stream ?" New topic
Author

arg type of file input stream ?

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 755

FileInputStream can not be resolved to a type


String message[] = request.getParameterValues("message");
String propfile[] = request.getParameterValues("attachedFile");
String from1,to1,sub1,message1,propfile1;

from1 = from[0];
to1 = to[0];
sub1 = sub[0];
message1 = message[0];
propfile1 = propfile[0];
try{

// Get system properties
Properties props = System.getProperties();
props.load(new FileInputStream(propfile1));


Jigar Naik


Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
TellTheDetails to learn how putting more effort into asking questions will result in people putting more effort into answering them.

Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: arg type of file input stream ?