Hi,

I have application http://1.1.1.1:8080/formspider_tam/main.jsp?oid=7621#Login=12121212121212212 with bookmark Login=12121212121212212

If something wrong ( I mean Login), i make api_application.restart() But application restarting with this wrong bookmar, i wan't clear bookmark and have something like http://1.1.1.1:8080/formspider_tam/main.jsp?oid=7621 .

What I can do ? Just make api_aplication.run('http://1.1.1.1:8080/formspider_tam/main.jsp?oid=7621','_self'); ?

Thanks

asked 19 Dec '13, 04:42

AlfAbetas's gravatar image

AlfAbetas
611417
accept rate: 9%


Hi AlfAbetas,

Yes, just make the call you suggested. Maybe instead of hard coding the base URL you can use api_application.getBaseURL to make it a little more flexible.

So instead of http://1.1.1.1:8080/formspider_tam/main.jsp?oid=7621 you can say

api_application.getBaseURL||main.jsp?oid=7621

Kind Regards,
Yalim

link

answered 20 Dec '13, 08:34

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 19 Dec '13, 04:42

Seen: 708 times

Last updated: 20 Dec '13, 08:34

Related questions


© Copyright Gerger 2017