This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60785
    
  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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: when clicking the link it asking for save/open where it should not
 
Similar Threads
How to open report builder form(oracle) while clicking the jsp page(Online) link
Open an XML file in a popup window
run .bat file from client machine of deployed web application on server machine
how to download or view the "Excel FILE "i n IE browser
Open/Save attachments