This question has already been solved! The person who asked this question has marked it as solved. Solved questions live forever in our knowledge base where they go on to help others facing the same issues for years to come. Are you sure you have something valuable to add that has not already been mentioned?
Consider starting a new topic instead. Otherwise, please be thoughtful, detailed and courteous, and adhere to our posting rules. Edit Preview. H1 H2. Then have the servlet display a link to download the file or kickoff the file download using javascript. I did a similar thing for a site I was working on about 6 months ago. The campus is having network problems. Keep trying, it will eventually be resolved.
You still have not given us the problem you are trying to solve. You keep leaking out bits and pieces but none of it is sufficient to get the big picture view of what you are doing.
What is the jsp trying to do with the servlet? What is the servlet supposed to do? What's not working? Remember, a jsp IS a servlet. AFAIK a jsp can't call a servlet to get it to do work for it. It can redirect or forward an http request to a servlet but it can't say "here, do this work and give me the results". Until you provide more info or an email address so I can send you some code, I think we're just going to go round and round and get no where. I think Meadandale is on the right track.
I am sure there is a way to automate it but I am not sure what exactly IT is. If you mean automate the download of a file then yes. But the bigger question is how you percieve things happening. Maybe you should really explain your problem. Discribe the flow of events as you percieve them and then we might be able to really help you. Right now we are pretty much taking shots in the dark, making assumptions that may or may not be correct.
Hi all, I follow your suggestions and now it looks to be working. My problem is that the servlet ran code to process the data passed to it, but it did not print anything out.
Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. The Tek-Tips staff will check this out and take appropriate action. Click Here to join Tek-Tips and talk with other members! Already a Member? Join your peers on the Internet's largest technical computer professional community. It's easy to join and it's free. How can I do this? Suppose I have jsp page aaa. From aaa. In xxx. Now I want to pass this List to another jsp page bbb. How can I get the accurate path of the bbb.
To be frankly, managing path is one of the great headache to me. Please help me. Here is Servlet. Post Answer Preview:. Calling a jsp page from Servlet How can I do this? For more information, visit the following link: Servlet Turorials. List and data is being retrieve. Now I want to pass this List to another jsp page. Its urgent. Calling servlet from servlet. How to call a servlet from another Please clarify this.
On the JSP page this value
0コメント