How to call second servlet from first servlet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karthi_keyan
Posted On:   Wednesday, May 21, 2003 05:51 AM

hi

my problem is -- i am running first servlet to get information from user and saving it as a file, then i am calling second servlet from the first one to get more information from user and saving in different file.

while trying the above scenario,after running my first servlet the user information is stored in my first file.then after calling the second servlet,nothin saving in the second file and the values in first file which i already saved also getting erased.

or

is any other way to solve the above problem with servlet and java.

thanks
karthi.

Re: How to call second servlet from first servlet

Posted By:   rajeev_kumar  
Posted On:   Wednesday, May 21, 2003 12:55 PM

ur first servlet should write into file1 and second servlet should read from the file1 and write it to file2
About | Sitemap | Contact