on 08-25-2006 3:00 PM
Hi ALL,
can we put a link to PDf file in MAM application ?
Regards,
Vipin
hello vipin,
if your files are located under your application folder,
i.e. accessible to public, you can put a link into your
MAM's jsp. for example if your application is deployed as
MAM25, you can put your files under this folder or subfolder.
if your file absolute path is
<MI_DIR>\webapps\MAM25\pdfs\MyPDFFile.pdf
you can put a link on your jsp page that will point to
the file's relative path. if your jsp context is at MAM25
you can just put a link like
<a href="pdfs/MyPDFFile.pdf">MyPDFFile</a>
in your jsp or html code.
hope this helps.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JO .. satya .. and everbdy,
Apologies for not updating the Forum. I was travelling soemwhere , so couldnt get connected to internet.
Regarding Topic,
yes, you guys are correct , i dont have a PDF Viewer in my pocket pc , so PDf files wont open .
So, i started testing -- opening pwd files in Pocket pc via MAM. but it is also not happening:(
JO , i didnt get any kind of error when i tried to open to document via < href > in MAM .
i also checked that document might have opened but it is not in Foreground . So, i went to memory and checked the opened programs/files . It wasnt there.
Regards,
Vipin
hello vipin,
what are you trying to open? PDF or PWD? they are of different
format. for PDF you need an acrobat reader for PPC, while
for the latter one, it is a PocketWord.
i havent tried this in PPC but perhaps might worth a try.
instead of putting a link as http://localhost. try using
the file://<absolute path of your file>. you can use your
servlet context to get the absolute path for you and append
your file logical path from your context.
regards
jo
Yes you can, since MI Client (which MAM sits on top of) is basically Internet Explorer in disguise.
However, once you open the PDF, you cannot go back to the MAM (since there are no links or menu buttons to do that). I would recommend linking to the PDF via an IFRAME inside a MAM page, so that you still have the MAM menu system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.