Meaningless Drivel is fun!
The moose likes JSP and the fly likes how to transit the parameter ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to transit the parameter ?" Watch "how to transit the parameter ?" New topic

how to transit the parameter ?

Yaren Hearst

Joined: Nov 17, 2006
Posts: 6
i want to transit the "file1" to "?" so that i can get the sheet's value.

choose the file:
<input type="file" name="file1">
please choose the sheet:
<SELECT name="sheet"><% ? %>
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Before you can do anything with a file you need to upload it to the server. Then you can create a page that reflects the file contents. Doing both on the same page is not possible.
I agree. Here's the link:
subject: how to transit the parameter ?
It's not a secret anymore!