Possible without servlets?

Hi,
I have a JSP which I am using to take care of the presentation side of my page. I then have some logic which I would like to seperate and put into a servlet. Is it possible to have the jsp load and display images and text etc, then transfer to the servlet which will produce some more html that will be displayed within a certain area (div for example) on the original JSP?
I understand that I could simple have the logic in my JSP in the form of a scriptlet but i'd like to seperate the two. Obviously the other option is to generate all the HTML from the servlet which I don't want to do either.
Any ideas?

Yes, you could use <jsp:include > to invoke the servlet and include output from it in the page.
Another approach is to build your own tag library, and invoke code in your own tag.

Similar Messages

  • Using java mail api without servlets, I ve sent an html mail.  In that Ive

    Using java mail api without servlets, I ve sent an html mail. In that Ive specified action to the servlet. On click, it shows url as file:///C:/Documents%20and%20Settings/sirivanig/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/CNFHMDIT/updatemailerform%5B2%5D.htm instead of www.servername.com/....
    May I know the reason why it shows like this.
    Do I ve to send htmlmail through servlet so that it does show proper url?

    Possibly your mailer is restricting your access to URLs to prevent
    various scams. Without the details, it's hard to know what's going
    wrong.
    Have you tried with a different mailer?

  • Lost Mode and Play Sound are "Pending."  However, iCloud indicates that it connected and backed up to iCloud at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)

    Hi,
    My wife lost her iPhone two weeks ago while on vacation in London (cell service inoperative in foreign country).  Using Find My iPhone app on my device, I activated Lost Mode and Play Sound.  However, both are listed as "Pending," since it those actions require the phone to connect to the internet (wifi only due to no cellular data coverage.).
    We recently returned home and purchased a new iPhone.
    However, when looking to restore the apps/settings from her old phone using a previous iCloud backup, iCloud indicates that the old phone connected to iCloud and backed up the original phone at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)?
    If the phone was activated and connected to the internet via a wifi signal, shouldn't it immedately lock, show up on the map, Play Sound, and send me an email that the phone has been found?
    I also read somewhere that if running iOS 7, the iCloud website interface enables you to track previous locations, for instance if the phone moves from wifi hotspot to hotspot.  Is that true?  If so, how do I do that?
    Thank you for your time, and have a great day!
    Sincerely,
    - Matt

    just giving this a wee bump as time is of the essence here and i need advice/ answers quick!
    apologies if i've broke any rules!
    alex

  • Is 1:n  possible without BPM

    I've 10 different items.Now i want to send these items to 10 different vendors.Is it possible without BPM?

    Of course
    Ref: /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

  • I sync my iphone with my office computer, but what I really would like to do is syncing only the calendars (because my secretary uses them to set up new apppointments), but syncing all the rest on my home computer. Is it possible without losing apps or mu

    I sync my iphone with my office computer, but what I really would like to do is syncing only the calendars (because my secretary uses them to set up new apppointments), but syncing all the rest on my home computer. Is it possible without losing apps or music?

    Although not recommended, yes.
    Disable automatic syncing when the iPhone is connected with iTunes on each computer.
    The only item you will have selected for syncing with iTunes on your computer at work will be Calendars, which is selected under the Info tab for your iPhone sync preferences with iTunes. Nothing else will be selected under the various tabs for your iPhone sync preferences with iTunes on your computer at work. You will get a warning message that your iPhone is associated with another iTunes library on a different computer which you can ignore when syncing calendars/calendar events only with iTunes on your computer at work.

  • Idoc to Webservice to Idoc scenario- is this possible without BPM?

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    Appreciate your quick response
    Regards
    Satya

    Hi Satya,
    >>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
    You need BPM
    2. Is there a Async to Sync bridge in BPM?
    You dont need a "bridge", just take a synchronous send step
    3. How do I use this bridge in my scenario and customize it?
    Map the IDoc to request container and the response container to the second IDoc.
    Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
    Regards,
    Udo

  • Connect time capsule via ethernet to Mac for back-up only. Is it possible without internet connection ?

    Connect time capsule via ethernet to Mac for back-up only. Is it possible without internet connection ?

    Hi Bob,
    I'm not certain the post I sent was posted correctly, as I added it as a reply to a 3-year old thread. Since this is a recently-active thread, though not specific to the issue at hand, I thought I'd post again:
    Three years ago you helped me set up a roaming wireless network in my home. It's been rock-steady and I'm forever grateful to you for the time and guidance you gave me. I'd now like to swap out my AirPort Extreme base station for a time capsule. As I understand it, I should be able to unplug the base station and replace it with the TC without problem, so long as I use all the same settings on my TC... network name, security protocol, password, etc. Given the complexity of my network, I thought I should check with you first for any advice you might have. I don't want to set up a new network or make any changes to the existing one-- with the exception of using the TC in place of the AE. I'm already using Time Machine for backups. As a refresher, my current setup has the AE as base station and 3 expresses hard-wired with Ethernet connections elsewhere in my home. I have a 4th express set up wirelessly to use with my stereo system at the front of the house. All AXs are 'n's and are set up, as per your instructions, in Bridge mode to extend the existing network. I'm running the most updated version of Mavericks on my MBPro. Any suggestions you might have will be, as always, very much appreciated! Sincerely, Phyllis Sommers

  • I wan't to use Turbo C Compiler in MacBook Pro, So is it possible without boot camp ?

    I wan't to use Turbo C Compiler in MacBook Pro, So is it possible without boot camp ?

    Why? You could run it in Parallels or similar.

  • Is it possible without datasource can i generate report.

    Hi,
    I want to generate jasper report in adf11g. Is it possible without datasource can i generate report.
    Map<String, Object> params = new HashMap<String, Object>();
    params.put("reportTitle", "Hello Report World");
    params.put("author", "Craig Conover");
    params.put("startDate", (new java.util.Date()).toString());
    JasperPrint jasperPrint =
    JasperFillManager.fillReport(
    jasperReport, params); so i dont want to use Datasource.or empty datasource.
    I m getting some error if i dont use datasource then i m getting errot-- There is no document message.
    Thanks

    Not the good forum to ask for.
    I don't remember it is possible. Test it in iReport. Simply don't define any datasource in your template and execute it. If it is executing it may be possible to do the same with jreport librairies by calling api. If it is not possible in iReport, it will not be possible in your application too.
    Hope its help

  • HT3798 my iPod was originally connect to an old HP. The HP has since died and now I own a Macbook pro. I want to transfer the music from my iPod (originally synced with the HP) to my Macbook Pro. Is this possible without losing the music on my iPod?

    my iPod was originally connect to an old HP. The HP has since died and now I own a Macbook pro. I want to transfer the music from my iPod (originally synced with the HP) to my Macbook Pro. Is this possible without losing the music on my iPod?

    Your iPod is designed to sync with only one iTunes library at a time.  It will recognize the iTunes library on the PC as a new library.  If you sync the iPod with this new library, all content will be erased from the iPod and replaced with what is in the new library.  So what you will want to do is copy everything from the iPod to your new iTunes library on your PC first.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • I would like to copy pictures stored in Events in iPhoto '11 on my iMac to my MacBook Pro which is running iPhoto '09.  Is this possible without losing the organization of the Events?

    I would like to copy pictures stored in Events in iPhoto '11 on my iMac to my MacBook Pro which is running iPhoto '09.  Is this possible without losing the organization of the Events?

    Only way to do it:
    Export each Event to folders in the Finder from the iPhoto 11 machine, copy those folders to the 09 machine. Import them.
    Apps like iPhoto2Disk or PhotoShare will help you export to a Folder tree matching your Events.

  • Is clone Siebel server environment possible without using nsbrowse utility?

    Hi, can someone give me a quick firm answer about my question "Is clone Siebel server environment possible without using nsbrowse utility?" We try to automate the Siebel server enviornment using cloning and reconfig on Linux while nsbrowse is a utility only runs on Windows. Is there some command line commands that can be used as a replacement of nsbrowse editor utility? This is very important for us to made the decision on automation strategy. Thank you very much!

    "...hosted in a datacenter for high availability for when internal environment fails and the mail system is still up and running. "
    Yes, Office 365 (Exchange Online) would work perfectly with DirSync.
    If the requirement is for mail to work even when the internal environment is down, then do not implement AD FS because in that scenario, authentication is dependent on access to the domain controllers in the internal environment.
    As for simply hosting one's own server in Azure, I just read an article that recommends against it:
    - Exchange uses alot of resources. You would need a rather expensive configuration.
    - You would still be responsbile for the updates.
    - Your VPN connection would have to be very reliable. Exchange is constantly querying the domain controllers / global catalogs. EDIT - I see you wrote "without a VPN" - well, that's not possible. Exchange will never work directly across the Internet
    like that.
    I can't find the link to the article but there are others that also advise against that option:
    http://paulrobichaux.wordpress.com/2014/05/15/exchange-server-and-azure-not-now-vs-never/
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • 2008 R2 Multi-Site Cluster Possible without Third Party Software?

    2008 R2 Multi-Site Cluster Possible without Third Party Software?  I know it has been asked, but I haven't seen a specific answer.  We are using Dell Compellent Storage and I created several read only replicated volumes at our DR site.  I
    am having issues failing over to the volumes after I use cluster cli to mount the read only volumes.
    Any help would be appreciated greatly!
     

    2008 R2 Multi-Site Cluster Possible without Third Party Software?  I know it has been asked, but I haven't seen a specific answer.  We are using Dell Compellent Storage and I created several read only replicated volumes at our DR site.  I
    am having issues failing over to the volumes after I use cluster cli to mount the read only volumes.
    Any help would be appreciated greatly!
    To have this working reliably you need to have 1) redundant and pretty fatty pipes between your sites (Primary and Disaster Recovery) and 2) your storage (Compellent in your case) being placed in third location. If you'll have both conditions met you'll
    have decent performance and would avoid brain split issue when both sites would be up and uplink between sites is down. Good links on geo clustering:
    Geo Cluster for Windows
    http://clusteringformeremortals.com/2009/09/15/step-by-step-configuring-a-2-node-multi-site-cluster-on-windows-server-2008-r2-%E2%80%93-part-1/
    Geo
    Cluster for Windows 2008
    http://blogs.technet.com/b/johnbaker/archive/2008/03/28/windows-server-2008-geo-clustering-multi-site-clustering.aspx
    Geographically Dispersed Clustering
    http://msmvps.com/blogs/jtoner/
    Hope this helped :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Someone use my phone # to send a text someone in my contacts.   Is this possible without access to my phone?

    A text message appeared on my phone this morning that I did not send.  It was sent to someone in my contacts.  Is this possible without access to my phone?

    Your carrier has a record of your IMEI number, & you can also get it from the box, if you still have the box. You can also get it from iTunes:
    http://support.apple.com/kb/ht4061

  • In which way Servlet implements  multiThread  without servlet implement Run

    Hi,
    In which way Servlet implements multiThread without servlet implement Runnable.
    In general servletconaainer use one instance of servlet to handle multiple request(except implement SingleThreadmodal).
    I thing that conatainer can achive this ,in this Way
    Myservlet ms;
    1st Way:
    For each new request container call
    new Thread(){
    puvlic void run(){
    ms.service(request,response);
    }.start();
    but I do not thing in this way we get any performace.
    It is better creat pool of Myservelt. and get object from this
    ms1,ms2,ms3
    2nd way is
    Myservlet implement Runnable
    and for each request
    new Myservlet ().start();
    Please tell me In which way conatiner achive multithread of servlet
    Siddharth Singh([email protected])

    You don't need to do any of this. The servlet container starts its own threads, and they call the servlet methods as required. All you have to do is syncrhonize your servlet internally as required to protect anything that needs protecting from multiple threads.

Maybe you are looking for

  • Tax and pricing info are not flowing into Idoc orders02-eledp04 and 05

    Hi, We are carrying out SRM5.5 -SUS and ECC6.0 Integration using PI 7. We are configuring for the MM-SUS Scenario. Now,to accomodate the Tax / Pricing we have installed the add on component LOCINSUS and we are having doubts on how to use it: 1) Tax a

  • TV Seasons/ Episode dates

    Is there a place where the date of the showing of an episode shows? For example, I wanted to see if I missed an episode of a show I usually watch. I wen to the series in iTunes and looking at the last episode showing, I couldn't really tell if I'd se

  • Purchase requisiton

    Hi ALL i have released production order but i am not able to find the Purchase requistion created by it. Please help me how to get PR from this. Swaroop

  • Strange Facebook Active Sessions from RIM

    Hey all, My girlfriend has shown me a screenshot of an active session on her facebook account. She uses a blackberry to access her Facebook however shes also in Cyprus. Lastnight she saw that there was an active session from Great Britian - I did a r

  • Registering Protocol with Package Maker?

    I would assume that I would put it in the Postinstall Actions, but what is the action? I want to register "mymail://" to a little program that I've written called SmartMail.app. I have to have it done during installation.