aspose file tools*
The moose likes Struts and the fly likes when clicking the link it asking for save/open where it should not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "when clicking the link it asking for save/open where it should not" Watch "when clicking the link it asking for save/open where it should not" New topic
Author

when clicking the link it asking for save/open where it should not

Siva Padyala
Greenhorn

Joined: Jan 30, 2009
Posts: 2
Hi,

Apologies if this question not related to this forum...

we have an application developed using struts and velocity templates, when i am clicking on one link it should open that page (with .do extension).
But when i am clicking on that link it is asking for "file type un known save/open"..this is happening in Internet explorer, when coming to Mozilla firefox its opening some page which contains the javascript.

could somebody help...very much appreciated your help!!!

Thanks

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60997
    
  65

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It's hard to say; we'll probably need more information.

- Which version of Struts?
- How are you integrating the two?

My first guess would be that the Velocity template isn't being processed/rendered and returned as HTML.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when clicking the link it asking for save/open where it should not