I want to use Java for dynamic web programming...

And don't know what to learn, JSP or servlets or both. I'm guessing it would be best to learn both, but I don't want to buy two books. Are there any books that teach both fairly well?

I don't know how it covers them I am not learning them at the moment.
Why don't you try searching for JSP and/or Servlets at Amazon.co.uk, Doesn't the JSP and Servlet section of the java.sun.com also have recommended books?, I have just done that search at amazon.co.uk and found these three instantly...the top two have reviews and ratings from other people. There are MANY book websites out there, try searching on this as well.
JSP, Servlets and MYSQL; Paperback ~ David Harms
Java Servlet Programming (The Java Series); Paperback ~ Jason Hunter
Java Servlet and JSP Cookbook; Paperback ~ Bruce W. Perry

Similar Messages

  • Using Java for dynamic web page content

    I've currently got a Perl program that I'd like to convert to Java. It merges two files that are stored on a web server and generates a "dynamic" HTML response.
    For example, if I have the following files on the server:
    File1:
    <Comment1>This stuff</Comment1>
    <Comment2>That stuff</Comment2>
    File2:
    <HTML>
    <Comment1><br><Comment2>
    </HTML>
    When I go to the URL
    www.mysite.com\cgibin\merge.pl?file1&file2
    the Perl program will produce a web page saying:
    This stuff
    That stuff
    The major obstical for the rewrite: NO JSP ALLOWED. It's not allowed by the ISP.
    Now for the questions:
    - Could this be done using Java?
    - How could I initiate the Java app and pass it the parameters? (applet tag, access Java inside Perl, use Java Script somehow)
    - Will an applet tag even work for this since the final page is generated completely from other files?
    Thank you very much for your help.

    If your ISP don't support JSP / Servlets,
    1.use any server side technolgy, something like ASP.
    2.Read the files and transform them as Strings (or StringBuffers).
    3.Pass these Strings as parameters to the applet (if you are forced to use java technology, otherwise you can do it using ASP itself).
    4.Construct the required format (content) in your applet.
    Don't forget that the stuff will be in applet but not a complete web page. The ideal solution is asking your ISP to provide JSP engine.

  • Using java for the web at large

    Hello,
    i have built a interface for my client that requires the Java2 browser
    plugin to work. Its not the front page or anything...but non the less
    it is a page that my client payed good money for. My question is this..
    due to the lack of support from MS in regardes to a current
    java plugin for IE, did I as a devolper fail my client?
    I feel somewhat guilty, I can code perl just fine ,And in
    this situation perl whould have worked.
    Thanks for the help,
    jd

    I'd have to agree with JElliot, generally the benefits of running web-enabled applications server-side outway the use of client-side applets. There are several factors to consider, but most notably...
    * Code Security
    It is not difficult to decompile Java bytecode back into something which closely resembles the original source. There are a host of decompilers out there, some even include deobfuscation algorithms to make short work of any obfuscation. If your client-side applets contain valuable intellectual property which is worth an investment in trying to reverse-engineer, which they probably do considering your comments, then you can pretty much kiss your market edge good bye.
    Running apps server-side through something like a web interface are inherently more secure you are providing the applications services, but not the app itself (barring any attempts to hack your server or physically break in and steal its HD :)
    * Ease of maintanence
    Due to the centralised nature of a server-side app, installation and maintanence of your app is alot easier. (Im currently designing a web-based app that is going to service some pretty large engineering firms, the thought of attempting to install and upgrade every app on every computer within such firms is a little scary).
    * Ease of access
    If designed to support exsisting browser technology, there is no need for installation of propietry software. This is a big selling point for companies who really dont want to spend thousands of dollars and many hours installing software onto hundreds of machines. It also means that the software can be accessed over LANs, WAN, VPN, or the Internet. (Like roaming profiles, only it works). One client asked us about a particular peice of software "Is it web-based". When we answered yes the response was a definate "we'll take it".
    Mind you there is a couple of downsides to server-side stuff, namely the complexity jumps up a few notches due to the need of multiple tiers within the app just to have some sort of abstraction and workability in it all. Your often limited in interfaces as well, but in most cases people just want something that works, not something neccessarily pretty. One of the hardest concepts I've found is the idea of application state. Bassicly with web-based stuff you don't have any, and youve got to build it yourself. You can often strike a middle line, with all sorts of business logic performed server side, and only rudimentry GUI stuff in applets.
    I wouldn't feel too guilty about it all. Like all things, there is a learning curve, and just getting your head around this conceptual stuff is half the battle. Once you've worked that out, then the easy stuff is coding it. The most annoying thing is when you look back in six months time and kick yourself for not realising half the stuff you know then now.

  • Why use Dreamweaver for create web pages

    Hi I am new in Dreamweaver and I want to know why use Dreamweaver for create web pages?

    Twitter
    http://twitter.com/altweb
    Blog
    http://alt-web.blogspot.com/
    Site
    http://alt-web.com/

  • Restful sample with Java for getting WebI report info in 4.1

    Hi All
    Can anyone give me a sample code in JAVA for getting WebI  report information using Restful services in 4.1 SP1 Version
    Thanks In Advance

    Hi All
    Im unable to execute the below URLs and getting error
    /documents/{documentId}/reports/{reportId}/elements/{elementId}/properties
    /documents/{documentId}/reports/{reportId}/elements/{elementId}/datapaths
    /documents/{documentId}/reports/{reportId}/elements/{elementId}/dataset
    /documents/{documentId}/reports/{reportId}/elements/{elementId}/axes/
    /documents/{documentId}/reports/{reportId}/pages
    /documents/{documentId}/reports/{reportId}/inputcontrols
    /documents/{documentId}/reports/{reportId}/
    Errors:
    Not found. (RWS 00056)
    Not acceptable, (RWS 00058)
    Any Suggestion Please.

  • HT2404 I want to download java for my 10.5.8

    I want to download java for my 10.5.8.

    I have now manually upgraded to Firefox 3.6.28 since the normal update did not work for me - perhaps because I recently returned from TenFourFox which shares the same preferences. The Java clock on http://links.zero.eu.org/time/ still works for me.
    For others, all Firefox releases are here: ftp://ftp.mozilla.org/pub/firefox/releases/
    At no time has my Firefox said the same as John's ie:
    John wrote:
    Firefox 3.6.28: For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version.
    Has anybody else had the above message?
    I see that update 10 says:
    From: http://support.apple.com/kb/DL1359
    About Java for Mac OS X 10.5 Update 10
    Java for Mac OS X 10.5 Update 10 delivers improved compatibility, security, and reliability by updating J2SE 5.0 to 1.5.0_30, and updating Java SE 6 to 1.6.0_26 for 64-bit capable Intel-based Macs.
    J2SE 1.4.2 is no longer being updated to fix bugs or security issues and remains disabled by default in this update.
    Can anybody explain the meaning of the last sentence in relation to PPC? Would 1.4.2 normally be replaced by 1.5.0 or would they normally both be active?
    I saw elsewhere that when Apple disable some Java items they provide a means to re-enable them although there is a timer which automatically disables after a period of non-use.

  • I want to use wifi for Apple TV, but it doesn't prompt for a password, so never connects.  What am I missing?  Can I only use it via a non-password-protected wifi connection?

    I want to use wifi for Apple TV, but it doesn't prompt for a password, so never connects.  What am I missing?  Can I only use it via a non-password-protected wifi connection?

    Hi - you might want to post this question on the Apple TV area - you would probably get a quicker response - if you have a specific question relating to Apple routers then post back here

  • I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Is it necessary to add? If so, how do I add H Tags to iweb.

    I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Are they necessary to add?  Why would one add these tags and how do I add H Tags to iweb? And are there examples to look at? I am slowly learning about simple web design and assumed that iweb was stand alone without having to write code. Is this one of the reasons iweb is no longer supported? Thanks for looking at this!

    A simple text page like this:
    Heading
        sub heading
              text paragraph ....
    Is traditionally represented by html tags like:
    <h1>Heading</h1>
         <h2>sub heading</h2>
              <p>text paragraph ... </p>
    I would guess that the use of h1-h6 tags helps search engines to understand the structure of a page as the tags imply a certain structure.
    This can be compared to more generic tags like <div> that could represent any kind of content - and may be what iWeb uses (you'll have to check yourself).
    I would generally recommend that you use some kind of up to date blog/site building tool, perhaps Wordpress or Squarespace (I haven't used either one myself) that support current web technologies - this should reduce your SEO issues and make it easier to properly support mobile/tablet users.

  • HT204161 I want to use iCloud for every thing else except for Messages. I do not want to send an iMessage and receive it on both my iPhone and Mac.

    I want to use iCloud for every thing else except for Messages. I do not want to send an iMessage and receive it on both my iPhone and Mac.
    How do I do that?

    Howdy kingtonz,
    If I understand you correctly, you want to limit to limit your use of the Messages application to non-iCloud sources such as text messaging through your phone carrier, is that right?
    You can turn off the use of iMessages in Settings > Messages > iMessage. See this help article -
    Messages settings - iPhone
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Want to use Outlook for Mac 2011

    Hello!
    I want to use Outlook for Mac 2011 for my calendar, email, and contacts on my Macbook Air, iPhone 6, and iPad Air.  Is this possible to sync with all these devices with this program?  I am more organized with Outlook than using the different Apple programs.  It has more options. 
    Any help would be appreciated.
    Thank you in advance.

    If you have outlook on all 3 devices, should be okay. However, I am suggesting you to probably try the Apple's and get used to it as you are using all notebook, phoneme and tab with Apple. Might save you some money with that.

  • Want to use ipad for wireless presentations

    want to use ipad2 for wirelee presentation on a 16:9 screen but if using apple tv the icon screen does not stretch to fill while video still fills the screen. can i get both to fill the screen? Or is there a way of using a 2nd ipad as a mirror and cable connecting it ?

    I just downloaded Pocket Light Meter.  After I turn on the additional settings, I can see foot candles , however when I compare it to my actual light meter to check the validity of the Pocket Light Meter, they are way off.    Any idea how to calibrate it or to check if possibly I am doing something wrong??

  • HT204053 I have an apple ID that I want to use it for icloud, but when I Set it, i got below message

    I have an apple ID that I want to use it for icloud, but when I Set it, i got below message
    I could requires an apple id that Is an email address ( [email protected] address )
    Please help me
    <Email Edited by Host>

    Your gmail address is still your apple id. Just when you activate your mail and notes, it asks you to create icloud e-mail, which is completely separate and allows you to have one more e-mail address. Just some extra benefit, you don't have to pay for, but useful to save your notes and send e-mail or two if Google server goes down.

  • HT4972 I just got a new iMac and want to use it for iTunes.  when i connect my iPhone how do i transfer everything in my iPhone to this new computer?

    I just got a new iMac and want to use it for iTunes.  when i connect my iPhone how do i transfer everything in my iPhone to this new computer?

    If you do not have access to your old PC/Laptop and therefore cannot transfer your iTunes library, this document is very useful https://discussions.apple.com/docs/DOC-3141

  • I want to instal windows 7 using bootcamp on my mac book pro and how large do i have to make the partition if i want to use it for gaming?

    i want to instal windows 7 using bootcamp on my mac book pro and how large do i have to make the partition if i want to use it for gaming?

    "At least 16 GB of free space on the disk onto which you’re installing for 32-bit, or 20 GB for 64-bit (for Microsoft Windows and Windows-based applications)."
    That's what Apple proposes in here Boot Camp: System requirements for Microsoft Windows
    Personally I would double these amounts and add to that the diskspace needed for your Windows games.
    Stefan

  • How stop PS6 from removing the DPI value from an image when using "save for the web"?

    How stop PS6 from removing the DPI-value from an image when using "save for the web"?
    Example:
    - Open a tif image, that contains a dpi value (resolution).
    - Use the splice tool in PS6.
    - Export the slices with "Save for web", as gif-files.
    Then the dpi value is removed, the gif files has no dpi value (it's empty).
    How can we stop PS6 from removing the dpi value when using "save for web"?
    OR:
    When using the slice tool, how can we save the sliced pieces without PS removing the dpi value?

    you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels

Maybe you are looking for

  • Since upgrading to Mountain Lion autocorrect in Mail has stopped.

    Since upgrading to Mountain Lion auto-correct in Mail has stopped working. I deleted com.apple.mail and reinstalled Mail, based on other's suggestions. At that point auto-correct in Mail began working. However, when I did that I began getting invalid

  • Help please... Transferring a separate iTunes Media Folder to new computer.

    I keep my iTunes folder on my C drive on my old laptop but my iTunes Media folder is on my D drive (separate physical drive). I have purchased a new laptop with a single drive, (C drive) however, I can no longer access my old laptop's C drive to tran

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help. 1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console: sql> select * from videos

  • Profit/loss on share sales

    Hi all, My client is in security trading business and he wants to know the date on which the no of shares he has purchase and the date on which no of shares has been sold and the profit/loss araised from it. How can i config this req in the SAP syste

  • Moving layers and adjusting perspective

    Hi there, I am wondering if it is possible to move each layer to that they do not overlap. I also want to be able to move the layer in 3D like in after effects. the reason is I want to have each layer represent each face of a 3D cube. For instance. A