It's not a secret anymore!
The moose likes Servlets and the fly likes transferring 200 params from an applet to a JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "transferring 200 params from an applet to a JSP" Watch "transferring 200 params from an applet to a JSP" New topic

transferring 200 params from an applet to a JSP

Wally Schnok

Joined: May 31, 2001
Posts: 29
I'm repeating the question , for me it's a biiiigggg problem :
and I need to find a solution :
I need to generate an HTML page which should contain 200 parameters values passed from my applet .
I thought to create a .txt file to store all the values and than reading them in my .JSP , but I'm using a product that is not only a webserver ( Windchill from ) and it doesn't work .........
Calling directly my JSP from my applet with all my 200 parameters ( something like http://my_server/my_page?param1=value1�m2=value2&...�m200=value200 ) it seems isn't a solution , because the browser has a limited field for calling a web page ( I made different tests ), isn't it ?
Here's the code I'm using to create and read a .txt file ....
In a normal web page it works well , integrated in my Windchill ambient it does nothing ..... Any suggestions , solutions? Thank you .
public void writingFile(){
FileWriter file = new FileWriter("http://my_server/windchill/attributes.txt");
BufferedWriter buff = new BufferedWriter(file);
buff.write("testing !");
}catch(IOException ex) {
System.out.println("Error ..."
+ ex.toString());
public void readingFile() {
FileReader file = new FileReader("http://my_server/windchill/attributes.txt");
BufferedReader buff = new BufferedReader(file);
boolean endoftext = false;
String line = buff.readLine();
if (line == null) endoftext = true;
else System.out.println(line);
}catch(IOException ex) {
System.out.println("Error ... " + ex.toString());

I agree. Here's the link:
subject: transferring 200 params from an applet to a JSP
It's not a secret anymore!