File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

arg type of file input stream ?

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761

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];

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

Jigar Naik

Ben Souther

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.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: arg type of file input stream ?
It's not a secret anymore!