How to call a URL in jsp without direct the page to the URL

Hi,
I have a jsp page, which when user come in to the page, the page will call a URL without direct the current jap page the URL. This URL will only help me to do on something in the backend. Anyone know any method that i can use to call the URL?
Thanks a lot

Doeas AJAX rings a bell? ;-)
https://blueprints.dev.java.net/bpcatalog/ee5/ajax/usingAJAXwithoutJSF.html

Similar Messages

  • How Do I Specify uri in JSP taglib Directive to Point to the Jar File

    I put the trail-taglib-0.2.jar file in the MyApplication/WEB-INF/lib directory.
    Because the .tld is included in the trail-taglib-0.2.jar, I added the following In the MyApplication/WEB-INF/web.xml file:
    < filter >
      < filter-name > trailFilter < /filter-name >
      < filter-class > org.osjava.taglib.trail.OriginalRequestFilter < /filter-class >
    < /filter >
    < filter-mapping >
      < filter-name > trailFilter < /filter-name >
      < url-pattern > *.do < url-pattern >
    < filter-mapping > How do I specify the uri in my JSP @taglib to point to the jar file? I think I did not get the path right:
    < %@ taglib prefix="trail" uri="trail-taglib-0.2" % >

    Your advices have been very good. Problems get solved one at a time.
    1. Now, the taglib.tld in the WEB-INF directory can be found; however, another problem occurred: XML parsing error on file /WEB-INF/taglib.tld: (line 11, col 17): Element type "display-name" must be declared.
    2. no matter where I insert the filter and its mapping in the web.xml file,
      <filter>
       <filter-name>trailFilter</filter-name>
       <filter-class>org.osjava.taglib.trail.OriginalRequestFilter</filter-class>
      </filter>
      <filter-mapping>
       <filter-name>trailFilter</filter-name>
       <url-pattern>*.do</url-pattern>
      </filter-mapping>The server cannot find the Struts tag libraries. If I remove the filter tag and its mapping, the server does not complain anymore. I checked the DTD, the filter tag and its mapping tag should be before the servlet tag and servlet mapping tag. But, it does not work.
    Here is the taglib.tld:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
      <tlibversion>1.0</tlibversion>
      <jspversion>2.0</jspversion>
      <shortname>trail</shortname>
      <uri>http://www.osjava.org/taglibs/trail-1.0</uri>
      <info>Breadcrumbs in a taglib. </info>
      <display-name>Trail Taglib</display-name>
      <description>The Trail taglib maintains a dynamic trail of pages that the user has hit and allows a normalized version of that trail to be shown as a breadcrumbs list. </description>
      <tag>
        <name>list</name>
        <tagclass>org.osjava.taglib.trail.ListTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <display-name>Trail List</display-name>
        <description>ListTag is used to display the trail, either the whole trail or more likely the normalized version. </description>
      <attribute>
          <name>var</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>Store the trail text in a variable. This will probably change to store the actual trail list and not the text. </description>
        </attribute>
        <attribute>
          <name>delimiter</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>The delimiter to use between trail items. It defaults to -> and at some point an image will be useable instead. </description>
        </attribute>
        <attribute>
          <name>type</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>The type of list to show. The default is 'normalized', while any other type specified will result in 'full'. </description>
        </attribute>
      </tag>
      <tag>
        <name>push</name>
        <tagclass>org.osjava.taglib.trail.PushTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <display-name>Trail Formation</display-name>
        <description>Place a page on the trail. </description>
        <attribute>
          <name>label</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <description>The text to use when placing the page on the trail. This is what will be displayed to the user in the List tag. </description>
        </attribute>
        <attribute>
          <name>url</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>
          <description>Usually the url in question will be figured out by the taglib, however you may override it with this attribute. </description>
        </attribute>
      </tag>
    </taglib>

  • How to call class file from jsp without creating packages

    i m using tomcat 5.5
    i stored my class file into WEB-INF\Class directory
    how to call that class file. from my jsp page.
    i got some error.
    i used package concept,that works fine.

    i m using tomcat 5.5
    i stored my class file into WEB-INF\Class directory
    how to call that class file. from my jsp page.
    i got some error.
    i used package concept,that works fine.Then use packages.
    As of Java1.4, you can no longer import classes from the default package (no package declared) into classes that are packaged.
    All Tomcat classes are in packages, including the compiled JSP.
    Therefore: Your classes need to be in a package inorder to be imported and used by the JSP.
    Why the problem? If you know it works with packages, why try not to use them?

  • How to call BPEL process in JSP page

    Hi
    I am new to BPEL.please help me how to call BPEL process in JSP page.
    Thank You...

    Check this thread ....
    How can i call asyncronous BPEL process from Java Class????
    Tom..

  • How to call java method using jsp

    how to call java method using jsp.....
    anyone can help me.....i having problem here...coz i very new in java and jsp.....
    thanks.....

    keep an eye on this person's thread...they have code there and everything.
    http://forum.java.sun.com/thread.jspa?threadID=777263&tstart=0

  • How to send information from HTML page to JSP without reloading HTML page?

    Hello,
    Is it possible to send information(row number selected by user) from HTML page to JSP without reloading HTML page?
    Thanks.
    Oleg.

    Yes, you can do this with framesets and a hidden frame.
    You need a bit of JavaScritp in the "visible" frame that
    sets the location of the hidden frame to the JSP.
    Add the user's choice as a parameter to the JSP URL.

  • In chrome I'm getting green double underline hyperlinks to ads.  How can I get rid of this without adding more junk to the computer?

    I have both safari and chrome, because I'm used to chrome.  The only extension I have is Google docs.  I started getting green double underline hyperlinks to ads.  How can I get rid of this without adding more junk to the computer?  People suggest programs to do it, but how do I know they won't make it worse?
    Is someone from Apple here and can answer?
    Thanks!

    You may have installed the "VSearch" trojan. Remove it as follows.
    Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Exporting Quark to Acrobat. Acrobat enlarges page size, how do I export to Adobe Acrobat so that it keeps the page size the same?

    Exporting Quark to Acrobat. Acrobat enlarges page size, how do I export to Adobe Acrobat so that it keeps the page size the same?

    Thank you. I used to be able to Export from Quark to Acrobat without any problems when I was using Acrobat 7. Just changed to Acrobat 8 and have this problem. My 8.5x11 pages become 33x44 inches when exported to Acrobat 8. 400% increase in size. I don't know why. I tried Printing my Quark file to Adobe PDF and that worked. Thank you for your help.
    Margo

  • How can I make a table cell extend beyond the page?  The text disappears when the cell becomes larger than the page.

    How can I make a table cell extend beyond a page?  The text disappears when the cell becomes bigger than the page.  I want the table to continue to the next page.

    As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.

  • TS3274 I am having problems with Safari  It keeps coming up with Safari could not open the page because the server stopped responding, when I click on Safari  How can I remedy this WiFi is OK.

    When I turn on my Ipad and click on Safari it says  Safari could not open the page because the server stopped responding.but I can get on internet with Google Chrome.   What is the problem and how can I repair it?

    Found the answer in the more like this panel and now working.  Thanks.
    But have 3 updates waiting in Apps but it is taking ages to update them and cannot get onto Apps by clicking Apps on the desktop.screen.

  • How do I get rid of the new "status bar" at the bottom of the page where the web address pops up?

    On the left hand side of the page in the bottom corner, the web address pops up every time a new page is loading. What if I don't want that? How do I disable it?

    miss.bev.brown, Right-click on a toolbar, then click on teh "Add-on bar" entry to de-select it.
    If the add-on bar keeps coming back, you will have an add-on that is causing this. One that does this is the McAfee Site Advisor, disabling or uninstalling it stops that from happening.

  • How do I save a PDF as an excel file when the PDF is horizontal. Adobe tries to rotate the page, but the data is entered in an  horizontal format.

    How do I save a PDF as an excel file when the PDF is horizontal. Adobe tries to rotate the page, but the data is entered in an  horizontal format.

    Thanks for the quick reply.  I figured out how to get the desired results by using tagging.  For anyone who may reference this post in the future, I went to "Customize" in the top right corner of Adobe, then selected "Create new tool set...", looked under "accessiblity and found the "tag" option.  Hit ok, tag is added to the toolbar.  Then I highlighted the dataset in the PDF that was relevant to the output format, then clicked "tag", saved as spreadsheet.  Sorry I can't provide more details on how tagging works or if there's a more elegant solution available, but I'm sure one's out there.

  • Pages 5.2 - When I try to reorder different pages it just takes all the pages within the document and turns them into a stack! Why is this happening and how can I oder pages as the update is meant to let me?

    When I try to reorder different pages it just takes all the pages within the document and turns them into a stack! Why is this happening and how can I oder pages as the update is meant to let me?
    Any Help?I know the update has only been out a while but if anyone has an idea why it is doing this, please let me know!

    But you are telling me something I already know.
    Be precise.
    It is not Pages '09 that is broken.
    I am back in Mavericks and testing Pages 5.2.
    There are improvements, we shall see how useful, but in less than a minute I have already discovered bugs.
    Peter

  • My emails are appearing along the top of the page in the tool bar area? how do i get rid of this and back to the regular email page

    I opened my Mozilla yesterday and noticed my email page format was different then after a second, I noticed all my emails were now appearing along the top of the page in the tool bar area below "Fine Edit View Go ...etc" I'm not sure what happened. PLEASE help me I'm sure it's probably an easy fix, however I don't know how to fix it :)~ Also they are oldest email first, and since I normally save them for 45 days before deleting, I cant seem to get to the most recent email first. Ugh.
    Truly appreciate your help.

    This is what happens when you continually open messages in tabs but never close them. Pretty soon all you have are message tabs showing and you have pushed the Inbox off the screen.
    Get in the habit of closing message tabs after you read them.
    To get out of your situation now, right click one of the tabs and select Close Other Tabs. Then use the x to close the last one.

  • I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW

    I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.

    cr is installed by updating your app.  use help>update, or update manually
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html

Maybe you are looking for

  • Moving a Folder from explorer to Bridge

    When I move a local folder from within explorer to Bridge, the checkinhandler is triggered. However, during that operation when I call identity.getParentId(), this returns null. I think this comes from the fact that I'me adding a new classification.

  • Method GET_STATIC_ATTRIBUTES with generic table-structure

    Hi , I am trying to select some rows of a web dynpro alv .   LS_ALL-TABNAME = VAR_NAME_OF_TABLE.   CREATE DATA LS_ALL-OBJECT TYPE TABLE OF (VAR_NAME_OF_TABLE).      "<<<<<   INSERT LS_ALL INTO TABLE LT_ALL.   LOOP AT LT_ALL INTO LS_ALL.     ASSIGN LS

  • Program to reset the SIDs- ASAP

    Hi , Does any one know the program name which resets the SIDs of the object. We have deleted 0MATERIAL sids from SE14 expecting that the system start the number range again from one. But it is not doing that. Now we are unable to access transaction d

  • Where can i get Oracle JDeveloper 9i  Handbook exercise source code?

    Hi I'm studying JDeveloper 10g by read the book <<Oracle JDeveloper 9i Handbook >> which written by Peter Koletzke,Paul Dorsey and Avrom Faderman, Where can i get exercise source code? In chapter 13,I can't create the application module AccountantPro

  • What's the username and the password?

    hello after i installed the 9iAS9.0.2,i link to "http://<my-hostname>:7777/",the welcome page is appear,when i click the "Log on to Oracle Enterprise Manager" link that is within the welcome page,it ask me to input the password and username,but i don