Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 760

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
Have you tried LearnNowOnline?
subject: arg type of file input stream ?