Handling page urls..?

I am currently building an app that contains a large bunch of jsps, a few servlets and it sits on tomcat. The problem i have is that i want to put my jsp's in separate folders so they are easier to manage and find. The problem is i will need to change my urls to images and other pages to something like:
../../../common/page.html
Is there an easier way of doing this i.e. it would be great to set variable names for different folders. Does tomcat do this for you. What do you guys normally do?

for plain HTML links dreamweaver can help you achieve this automaticaly
for java code I dont know any way to do this

Similar Messages

  • How do you change the default Page Handling/Page Scaling settings?

    Hello, I use Adobe Acrobat 7.0 Standard. I work in the construction industry, so it is important drawings are printed to scale. when I go to print an A3 landscape pdf the page handling > page scaling settings automatically default to 'Fit to Printer Margins' - which then throws out the scale of the drawing content. I can manually change this setting to 'None' each time I print, but this is not fool proof as I sometimes forget.
    Is there a way to change the default setting for this property? Any help is appreciated.
    Thanks

    Hi,
    Answering to your questions.
    I hope the below link will help you, About how to set up URL Forwarding in iWS.
    For iWS6.x version.
    http://docs.iplanet.com/docs/manuals/enterprise/60sp1/ag/escontnt.htm#1002112
    For iWS4.x version.
    http://docs.iplanet.com/docs/manuals/enterprise/41/ag/esapuir3.htm#1057412
    Thanks,
    Daks.

  • How to handle invalid URLs in the requests

    Currently JSF ignores invalid characters in the request URLs like "|" or "<script>". These characters can be a security issue and can lead to "Cross site scripting" issue.
    I am trying to parse the request URLs and then redirect the user to the error page if the URL contains such invalid characters.
    Is there a better way of handling such characters in the URL?
    One way that i have thought of is to implement the PhaseListener and handle the URLs in the "Restore view" phase but the drawback in this
    implementation is that the controll will come to this listener during all the phases of the JSF life cycle. I just want the request to be handled only once and not during all the phases of JSF.

    Our application has too many customizations around the JSF framework and we have our own limitations extending the base "FacesServlet". It would be better if i can extend the listeners in the JSF framework.

  • How to get page URL in a dynamic page in 10.1.4?

    Does anyone know how to get the page URL in a Dynamic Page in 10.1.4 without using javascript.
    I know that you can use a PL/SQL portlet and the portlet_record, but this is specifically for a Dynamic Page.
    Regards
    Jenny

    Hi,
    I am trying the suggested approach in 10.1.4 but unfortunatley I get the following error:
    PLS-00302: component 'SHOW_INTERNAL' must be declared
    In my Dynamic Page I have the following code
    htp.p(cms_context.urlpage);
    In the '... before displaying the page' I have the following
    schema_name.cms_context.urlpage := schema_name.dynamic_page_name.show_internal.p_page_url;
    Can anyone help?
    Cheers
    Chris

  • How to get Page URL inside a JSR168 Portlet

    Hi,
    How can i get the Portal's page URL inside a JSR168 Portlet?
    All I can see in renderRequest Object is information about the portlet itself not about the page it is inside.
    Thanks,
    André

    Hi Andre
    Please see this note on My Oracle Support. 433507.1
    Hope that helps!
    AMN

  • 500 Internal Server Error while trying to connect to EBS home page url

    Hi,
    I am using EBS 12.0.4 on HP UX ia64
    After succesfully running adcfgclone.pl on both db and application server, when i tried to connect to my EBS home page
    url it is showing ::--
    500 Internal Server Error
    oracle.apps.fnd.cache.CacheException     at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)     
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)     
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)     
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)     
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)     
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)     
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)     
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)     
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)     
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)     
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)     
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)     
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)     
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)     
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)     
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:751)     
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1014)     
    at oracle.apps.fnd.sso.Utils.getAppsContext(Utils.java:525)     
    at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:120)     
    at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:170)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     
    at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection     
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)     at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)     at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)     ... 33 moreCaused by: oracle.apps.jtf.base.resources.FrameworkException: An exception occurred in the method CacheAccess.getnullThe base exception is:null Connection     
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)     
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)     
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)     this might look proper...
    Edited by: 807592 on Dec 6, 2010 12:37 PM

    Hi,
    Did AutoConfig complete successfully?
    Please see these docs.
    Unable To Login After Clone [ID 418130.1]
    Steps To Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    oracle.apps.fnd.cache.CacheException - null connection - on AppsLocalLogin.jsp [ID 414170.1]
    Login Fails After Changing The 'GUEST' Password To Either Mixed / Lowercase In R12 [ID 602425.1]
    Thanks,
    Hussein

  • Invoking a page url from page1 in book1 to page2 in book2

    Hi,
    My need is to invoke a portal page url form a portal page. This works fine when
    the first page and the second one are part of the same book.
    But when the first page is in a first book and the second one in another book,
    the portal framework is enable to retrieve the second page.
    It seems that in that case, the framework is looking for the second page in the
    first book. Therefore it does not find it and load the default page for the current
    book.
    The problem may be that page labels can be identical while they are not in sames
    books and then the framework need an active book as context path ?
    Is it possible to programmatically change the active book?
    For our project we developed a tree component that enabled expanding a node without
    http call. That tree is involved in the portal app navigation and invokes pages
    url. It works fine while pages navigations are in the current book.

    We did not find any solution,
    Finally We decided to enable our tree menu to expand a folder only if it's part
    of the active book.
    Perhaps you could solve your problem with the setActive() method of the
    com.bea.netuix.servlets.controls.page.PageBackingContext class ?
    JP <[email protected]> wrote:
    >
    Olivier,
    we also hit this problem. It looks like a limitation of the product.
    I tried several things. For example, using a backing file on the page
    to
    'bring to the front' all the parent of the page I want to activate.
    But so far nothing worked.
    I would be very interested if you find a solution.
    JP
    Subbu Allamaraju wrote:
    Olivier,
    The page change mechanism in the framework expects that the page labels
    are unique in the portal tree. So, for page change to work correctly,
    please make sure that you've no duplicates.
    Subbu
    Olivier wrote:
    Hi,
    My need is to invoke a portal page url form a portal page. This works
    fine when
    the first page and the second one are part of the same book.
    But when the first page is in a first book and the second one in
    another book,
    the portal framework is enable to retrieve the second page. It seems
    that in that case, the framework is looking for the second page inthe
    first book. Therefore it does not find it and load the default page
    for the current
    book.
    The problem may be that page labels can be identical while they are
    not in sames
    books and then the framework need an active book as context path ?
    Is it possible to programmatically change the active book?
    For our project we developed a tree component that enabled expandinga
    node without
    http call. That tree is involved in the portal app navigation and
    invokes pages
    url. It works fine while pages navigations are in the current book.

  • Drive Utility Help Viewer "does not know how to handle selected URL"

    I have Drive Utility 10.5.6, according to . I'm trying to reformat a FAT32 partition on an external drive to Mac OS X Ext. Journaled in preparation for using SuperDuper to back up my Mac HD boot partition. For a time, which seems to have passed, now that erasing the partition has been done. The Disk Utility Help wouldn't work. Instead of putting up topic information, I got a message saying "Help Viewer does not know how to handle selected URL", followed by an reference to an html file that allegedly existed inside a set of folders inside the app. Where, of course, Finder cannot see. Once the erasing was done, Help seems to have come back. I tried Apple Support, but could only get a reference to OS 9 Appleworks macros not working in OS X. No help at all. Is this a question? I don't know. Help is working now. But for a while it was very annoying. It must be one of those little windows glitches that no one ever bothered to fix.

    In order to change a FAT or NTFS formatted drive for use with OS X you will need to do the following:
    Extended Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    If you have an Intel Mac and can partition the drive using GUID then you can have FAT32 and OS X partitions on the same drive.
    As for problems with the Help viewer see:
    In most cases doing the following will restore the Help Viewer:
    1. Trash the following three files, if extant:
    /Home/Library/Preferences/com.apple.help.plist
    /Home/Library/Preferences/com.apple.helpui.plist
    /Home/Library/Preferences/com.apple.helpviewer.plist
    2. Trash the /Home/Library/Caches/com.apple.helpui folder.
    3. Empty the Trash and Restart.
    Visit The XLab FAQs and read the FAQ on the Help Viewer for additional suggestions.

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • In bdc how we handle page phone area in transaction pa30

    in bdc how we handle page phone area in transaction pa30.suppose one maintain phone no but not pager no.in that case how we will handle

    in my system ..i have phone number only displayed...if you want to put page number also then add a ddition qualifier like PG or some number by contacting functional guys..
    regards:)

  • How do I change a page url in iWeb

    Hi guys,
    I used to have subwebs in iWeb to order different pages.  Now I'm publishing via Fetch to a new hoster, I find that some of the pages have retained the old sub web url, e.g. www.mydomain.com/subweb/page.
    I physically dragged all the pages into the top level mydomain.com folder in iweb, but I'm suspecting that becuase i can't now publish to mobileme, its not changing the url; certainly all the pages are showing red in the iweb (08) directory.
    Is there anyway I can edit the page url to remove the subweb address.  If I do it physically in Safari, the link then works, but that s a pain.
    Thanks
    Al

    I think you may mean sub site and folder name. A sub domain is a different thing and has a URL something like ...
    http://sub-domain-name.domain-name.com
    Whereas you probably have ....
    http://www.domain-name/site-name/page-name.html
    See this page for how to remove the folder name...
    http://www.iwebformusicians.com/iWeb/URLs-Favicons.html

  • How to create a link to web page (URL) to a billing document

    Hi,
    I have an urgent requirement of creating a link to web page (URL) to a billing document.
    I call the function module "GOS_EXECUTE_SERVICE" with :
    ip_service = 'URL_CREA'
    is_object-objkey = no billing document
    is_object-objtype = 'VBRK'
    is_object-logsys = 'BO'
    ip_rwmode = 'E'
    Then, I enter the title and the address.
    And, I have the message : "The attachment was successfully created".
    But when there's nothing in the attachment list of the billing document.
    (Tha table SOOD contains the record )
    If any one has some idea about his , how to achieve this functionality, can you please help me.
    Thanks
    Virginie
    geoge bush
    Posts: 6
    Questions: 0
    Points: 6
    Registered: 7/9/04
    Re: Attaching a file to a purchase Order from EP6 to R/3 4.6C
    Posted: Jul 13, 2004 2:46 AM      Reply      E-mail this post 
    Hi Somaraju,
    I am also looking for A CODE EXAMPLE TO ATTACH A DOCUMENT TO A AN sap OBJECT E.G. BUS222 AND ISUACCOUNT.
    IF YOU'VE AN Example code that you can email me . it would be great.
    thanks for the help.
    geoge.

    Hey,
    If you are using Portal (not Framework), the below tag will do the trick
    <wcdc:userProfile id="profileUserLink" immediate="false" text="#{security.userDisplayName}" shortDesc="#{security.userDisplayName}"  xmlns:wcdc="http://xmlns.oracle.com/webcenter/spaces/taglib"/>
    -K

  • Applescript to copy selected text plus page URL in Safari

    I do a lot of online research. I would like to be able to select text then run an applescript to add the selected text plus the page URL to the clipboard. I have found a couple scripts that come close to what I want to do, but they don't work. They get the URL and usually some other information, but instead of the slected text, I get "missing value". Does anyone know how I can make this work?
    The scripts I found that do kind of what I want, but don't work are:
    http://allancraig.net/index.php?option=com_content&view=article&id=113:saving-se lected-text-and-url-from-safari-to-a-file&catid=40:applescript&Itemid=91
    http://hints.macworld.com/article.php?story=20080207080505152
    This script works, but it copies URL and page title rather than URL and selected text:
    https://gist.github.com/70565
    I would be so grateful for some help on this.

    After looking around a bit more –
    first here: https://discussions.apple.com/message/9643814#9643814
    then here: https://discussions.apple.com/thread/3197130?start=0&tstart=0
    – I was able to cobble together this script:
    tell application "Safari"
      activate
              set theURL to URL of front document
              set selectedText to (do JavaScript "(''+getSelection())" in document 1)
              set theDate to do shell script "date +'%d-%m-%Y'"
      set the clipboard to theURL & return & selectedText & return & theDate as string
    end tell
    which does the trick very nicely. (I added the date to make it easier to do my references in college assignments.) I used Automator to save it as a Service and assigned a a keyboard shortcut (option + c). I believe this will speed up my workflow tremendously.

  • Firefox only prints the first page of several multi-page URL's.

    When I try to print a multi page URL, it only prints the first page and identifies it as Page 1 of 1, instead of Page 1 of x.
    But, IE-8 prints ALL x pages of the same URL perfectly.
    I've noticed this exact same FF problem with certain other URL's.
    This problem is on the current version 14, and dates back to version 9 or before! Any suggestions?
    Has anyone filed a Bugzilla Report? Please see Replies below, and visit:http://forums.mozillazine.org/viewtopic.php?f=38&t=511130&start=15 for more information.

    They gotta fix this. It's been a huge problem for me for more than a year. I''ll defect to Chrome soon if they dont address this bug soon. Printing has been atrocious, even pathetic, i hate to say it. I can only print one page, maybe two if i am lucky. Sometimes, if it prints more than one page, the first page is mostly blank and the formatting of the text and sidebars is completely overlapped and sometimes unreadable. Basically, printing in Firefox is useless - it's a joke. I have to take the URL from Firefox and paste it into Chrome to get a decent print job. Why isnt this bug a higher priority?
    Tags: Firefox cannot print, Firefox printing bug, Firefox only prints one page

  • Jsf page url don't show  full path on address bar.

    Hi,
    my problem is jsf page url don't show full path on address bar.
    1st page located on: http://127.0.0.1:7101/ViewController/faces/home.jspx
    2nd page located on:http://127.0.0.1:7101/ViewController/faces/pages/private/main.jspx
    when click 2nd page call button on home.jspx, then which is show main.jspx page. but on address url page full path is never change.
    ex: http://127.0.0.1:7101/ViewController/faces/home?_adf.ctrl-state=190epua3co_9
    I want to see this url : http://127.0.0.1:7101/ViewController/faces/pages/private/main.jspx?_afrLoop=15092772897987&_afrWindowMode=0&_adf.ctrl-state=190epua3co_14
    I used to adfc-config.
    how to resolve it?
    thanks
    juddi
    Edited by: juddi on May 20, 2011 12:06 AM
    Edited by: juddi on May 20, 2011 3:06 AM

    The question is why do you want to show the URL?
    Faces apps don't change the url with each click (as the click might be going into a region).
    Can you give us a use case? Do you use bounded task flows?
    JDev version?
    Timo

Maybe you are looking for

  • New Indian Turn by Turn Voice Guidance Maps with o...

    Dear Friends, MapmyIndia.com offers Sygic mobile maps (http://inav.mapmyindia.com/product/sygic/sygic_mob​ile_maps.html) claims to have intuitive design, easy to read as you drive, crystal-clear spoken voice instructions and route guidance with map c

  • How do i get rid of the red dot on my voicemail which is deactivated

    how can i get rid of the red dot on the voice mail icon its driving me crazy please help

  • Problem while releasing invoice to accounting

    Hello, When I try to release a debit memo to accounting (VF02), the system throws the following error: Account type/account for invoice reference does not match item Message no. F5350 Any pointers on how to solve this please? Thanks, Shankar

  • [SOLVED] conditional xrandr command in .xinitrc

    Hi, I've got a 1366x768 laptop screen and a 1280x1024 external monitor hooked up via VGA. When I start awesome WM, my VGA one isn't recognized automatically, so I've added the following to my .xinitrc: xrandr --output VGA1 --mode 1280x1024 There are

  • Adobe render exception problem with EP6 SP18

    hi Gurus, I have created an application with Interactive forms and it was working fine with SP16 and the application was created on NWDS SP16 version only. Now I have upgraded my portal from SP16 to SP18.now my application is not working properly and