how to show dynamic data generated from servlet in a new java script window

D

dave

When i hit a button in the web page, the servlet will run and should
post some dynamic data into the new window (using Java Script), The
new generated window will contain the info generated from the Servlet.
Any ideas or suggestions will be greatly helpful to me,

Thanks
 
K

kaeli

kumar1513 said:
When i hit a button in the web page, the servlet will run and should
post some dynamic data into the new window (using Java Script), The
new generated window will contain the info generated from the Servlet.
Any ideas or suggestions will be greatly helpful to me,

Thanks

As long as you're using servlets, why write the data to a new window
with javascript? You can write it out with the servlet easier. Just use
the HttpServletResponse writer.

http://java.rrzn.uni-
hannover.de/jug/servlets/tutorial/servlet_tutorial.html


--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top