I want to open a pdf file from DWR call. I am using DWR 2.0 Please guide me.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
I am not able to understand that what do you mean by
open pdf file
. AS per my understanding of your question, you can use DWR to get the pdf file from server to client side. Then you have to display it with any client side techniques.In DWR website you can find dwr.war file. It contains a example for downloading pdf files. You have put that file in any servlet container's web-apps folder. Then you can access the tutorial through
http://localhost:8080/dwr/
.Consider upgrading to DWR 3.
In DWR3 you will find a FileTransfer object...
HTML:
JavaScript:
Java: