Newbie to JSP, advice needed...

I've been a Java applet and application designer for a while, and I've come to the conclusion that I should get into JSP, I'm wondering, where I can find good tutorials or books to help me out, I already started making simple ones, but what are the capabilites of JSP? I see that this very forum is JSP but how do you make something like this? Any help about this would be greatly appreciated.

http://developer.java.sun.com/developer/onlineTraining/distributed/
this page has a short course for JSP and Servlets. Youn should try and understand Servlets first, in my opinion, as a JSP page is a servlet after translation. I thought that Marty Hall's series of books are good for beginnners as well ("CORE servlets and java server pages" and "MORE servlets and Java server pages")

Similar Messages

  • Advice needed with mix of Bass sound.

    Apologies to all as I'm sure this is a 'newb' question, but I need help!
    I'm at the final stages of mixing a track. It's all sounding great, apart from one small section in the middle, where the only sounds playing are the kick drum and bass sound.
    It's House music, the bass sound is a regular fingered bass.
    The problem is when certain lower notes are played, there seems to be too much 'sub-bass' and the speakers vibrate quite annoyingly. I've tested it, and it happens on nearly all speakers I've tried it on.
    In the rest of the track, when other sounds are also in the mix with the bass, it is fine. It's just when the bass is alone it seems to cause this result.
    I've tried EQing out the lower bass frequencies and fiddling a bit with compression, but I always seem to end up filtering out too much bass (in fact, even when I remove nearly all the lower bass frequencies, the 'annoying' vibration is still there), or removing all life from the original sound.
    I know it's very hard to offer advice when just going off a flakey description, but any help would be appreciated.
    Thanks.

    Create a cycle containing your middle section. Open the channel EQ, and click the 'analyze' button. the analyze display should give you an approximation where the troublesome frequency is. Then select the appropriate band, and set the Q very narrow (higher number, probably around 50), and drag down the level to cut. Be quite extreme in cut dB.
    Now slooowly drag the cut left-right around the frequency in question and you should be able to find the point where the resonance is reduced. Now tweak so that your cut is the minimum you can get away with, and fine tune.
    Hope this helps.

  • Total newbie for jsp..plz help

    frendz...me a total newbie to jsp.havin some problem in it.i have already installed jdk,jwsdp2.0 wif its tomcat container.Already set the path for both ..such as JAVA_HOME=E:\Program Files\Java\jdk1.5.0_06
    TOMCAT_HOME=E:\tomcat50-jwsdp
    and could execute the sample jsp's perfectly.But having problem wif my jsp tutorials. such as when i wrote this counter codes in notepad..
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <html>
    <head>
    <tittle>Jsp Declaration</tittle>
    </head>
    <body>
    <h1>Declarations</h1>
    <%! int j=0;%>
    <h2>Counter</h2>
    <p>This page has been hit <span> <% ++j %> </span> times since it was first loaded.</p>
    </body>
    </html>
    and i paste it in webapps in tomcat folder.
    What should i do to view the jsp file?isaved as counter.jsp.if i right click and view it in IE/firefox it only shows the source code.is there any mistake in the codes?or i did i do anything wrong?how shall i compile these files?help me aout wif my basics please.thanks bro's..

    "I pasted it in webapps in tomcat folder".
    Webapplications need to go in their own subdirectory inside the webapps directory. Say you want a webapp 'test', then you would store your JSP as
    TOMCAT_DIR\webapps\test\counter.jsp
    Now you can open this JSP in your browser. Assuming Tomcat is running on the localhost and the default port 8080, the url would be:
    http://localhost:8080/test/counter.jsp
    If that doesn't work something is horribly misconfigured.

  • Accessing a JSTL variable in a JSP Scriptlet (need to replace string )

    I have
    <c:set var="myVar" value="..." />
    I need to replace single quotes and double quotes to be escaped because I pass them into javascript functions and set them as ID for div sections
    ... onclick ="func('${myVar}')" ..
    <div id="${myVar}">
    but if the string contains ' single quotes it messes up the javascript or double quotes messes up the ID portion of the HTML tag
    I know there is the JSTL function fn but I can't figure out how to do it properly in JSTL
    <c:set var="myVar"
    value="${fn:replace(myVar, "'", "\"")"/>
    But that gets tricky since the value portion is enclosed in quotes
    So I was thinking of using a Scriptlet part instead.

A: Accessing a JSTL variable in a JSP Scriptlet (need to replace string )

escaping quotes within quotes within quotes.... ARGH!
Recipe for a headache if ever there was one.
However you must be strong and resist the temptations of the dark side (Scriptlet code)
My suggestion for cleaning this up - write your own static function for escaping javascript strings.
public static String escapeJavascriptString(String s){
  return .......
}Then define the function in a tld:
<function>
    <description>
      Escapes a string for javascript purposes
    </description>
    <name>escapeJavascript</name>
    <function-class>com.mypackage.ELFunctions</function-class>
    <function-signature>java.lang.String escapeJavascript(java.lang.String)</function-signature>
    <example>
      <c:out value="${myfunc:escapeJavascript(name)}">
    </example>
  </function>Cheers,
evnafets

escaping quotes within quotes within quotes.... ARGH!
Recipe for a headache if ever there was one.
However you must be strong and resist the temptations of the dark side (Scriptlet code)
My suggestion for cleaning this up - write your own static function for escaping javascript strings.
public static String escapeJavascriptString(String s){
  return .......
}Then define the function in a tld:
<function>
    <description>
      Escapes a string for javascript purposes
    </description>
    <name>escapeJavascript</name>
    <function-class>com.mypackage.ELFunctions</function-class>
    <function-signature>java.lang.String escapeJavascript(java.lang.String)</function-signature>
    <example>
      <c:out value="${myfunc:escapeJavascript(name)}">
    </example>
  </function>Cheers,
evnafets

  • Advice needed on buying iphone as gift

    I went to apple store, they do not want to sell iphone to me unless I sign AT&T 2 years plan. I thought AT&T has locked the phone and users must subscribe in order to use it. Why Apple store still not allow me to buy?
    Please advice, if I want to buy online iphone for my brother, do I or my brother have obligation to sign out AT&T plan?
    One more advice needed, I found the shipment takes weeks, do I have option to arrange for self-collection?
    My brother birthday is coming soon, I need above advice urgently.
    Thank you very much

    Tamara wrote:
    I'm guessing English is not your first language. It's possible that you misunderstood them. Apple Store employees won't refuse to sell you an iPhone and you don't have to sign up for service in the store.
    Well that's not entirely true.
    Apple Stores have been instructed not to sell you an iPhone if any of the following is true:
    • You state that you will not be signing up with AT&T.
    • You do not have an ID from a US state, also indicating you will not be activating with AT&T
    • You do not have a credit card
    For example, I've seen US Apple Store managers refuse to sell iPhones to European residents because of the AT&T lock-in.

  • Video intensive work on Mac Pro? Advice Needed

    Hi everyone,
    I've been originally saving up for a while now for an iMac 24" as it offers the best specification price wise. But now I leaning on the Mac Pro and therefore need some advice.
    I know that there are alot of posts on advice - need to buy mac etc. so therfore I would really appreciate if I am afforded some help.
    I am mostly going to do ALOT of video encoding (via handbrake) and I am looking for the best configuration available to achieve lowest waiting time.

    I think you should go back and look at the other threads with advice, your budget. There is "ideal" and "affordable."
    Will it pay for itself in 24 months so you can afford the next revision at that time?
    Start with an 8-Core 3GHz.
    Add a Port Multiplier controller and two drive cases, 5 drives each, nearly 400MB/sec RAID.
    Throw in 8GB RAM.
    Add in costs for software upgrades, two sets of backups, four internal 500GB drives.
    Seagate has 750GB, as does WD. Hitachi has their $450 1000GB monster.
    Give yourself time to build, test, and optimize your setup, and expect to change it over time as you learn more.
    Can't afford that? then trim the 8-core. But Apple has shown how efficient next generation applications already are for video when it comes to 3GHz 8-core Mac Pro.

  • Had to have a rebuild of my laptop....advice needed!

    Had to have a rebuild of my laptop....have now lost all my music from my itunes, but I can't transfer back on from my ipod. Also had to register my laptop (same) as another computers, so now no music showing as purchased, though I have. Also have hours of uploaded music from my own purchased, legitimate CDs, but won't transfer from ipod...it says it will erase. So very frustrated....thanks mr technician!    PLEASE  ....help, advice needed!

    I believe that if you do a clean reinstall from your HD's recovery sector (D) or Recovery disks, the hard drive sector C is wiped clean. Everything goes, apps, data, address books, music, pix, viruses
    Is that what you did?

  • I am using InDesign CS5. I have a body of text which is ranged left with tabbed indents. My client now wants the copy to be justifed, keeping the tabbed indents. Help and advice needed please!

    I am using InDesign CS5. I have a body of text which is ranged left with tabbed indents. My client now wants the copy to be justifed, keeping the tabbed indents. Help and advice needed please!

    Hi
    That screen grab helps a lot. There’s a much easier way of doing what you’re doing.
    Remove all your tabs and set the text in justified paragraphs.
    I’ve typed in dummy text in the example I made below, but after “19.1” put in a space and put your blinking cursor after the space and before the ’N’ of ‘Notices'.
    Then hold down the Command key and hit Backspace (on Mac at least - it’s the key between the Inverted commas/ apostrophe key and the return key).
    The text will jump into place the way you want it to.
    Hope that helps
    Paul
    PS You can set a tab, instead of using a space, in the description I gave above. So, after 19.1 or 19.2 or 19.185 etc etc insert a tab, then hit the Command Backspace after every paragraph number and they'll all line up exactly together. You'll find that editing text within the paragraphs
    after you've set it will be LOADS easier this way.
    You can put the tab anywhere you want it to be using 'Command-ShiftT' and putting a 'left align' tab just after the number. Just type the Command Backspace after the paragraph number and it'll work

  • MOVED: Various advice needed to overclock cpu using my MSI k8n platinum sli

    This topic has been moved to Overclockers & Modding Corner.
    Various advice needed to overclock cpu using my MSI k8n platinum sli

    what HSF for cpu/ cooling for the case do you use? And also, where are the flashing lights?

  • Newbie to JSP, Need to convert some ASP code to work for JSP

    Can I get some aid in converting the following ASP code to work using JSP. I have never used JSP before but I now need to because of a recent server change.
    <%
    DIM URL
    URL = LCase(Request.ServerVariables("URL"))
    if InStr(URL, "/about/") then
    %>
    <p>About Test</p>
    <% elseif InStr(URL, "/menu/") then %>
    <p>Menu Test</p>
    <% elseif InStr(URL, "/contact/") then %>
    <p>Contact Test</p>
    <% else %>
    <p>Test</p>
    <% End if %>Thanks in advance
    Ned

    Can I get some aid in converting the following ASP
    code to work using JSP. I have never used JSP before
    but I now need to because of a recent server change.
    <%
    DIM URL
    URL = LCase(Request.ServerVariables("URL"))
    if InStr(URL, "/about/") then
    %>
    <p>About Test</p>
    <% elseif InStr(URL, "/menu/") then %>
    <p>Menu Test</p>
    <% elseif InStr(URL, "/contact/") then %>
    <p>Contact Test</p>
    <% else %>
    <p>Test</p>
    <% End if %>Thanks in advance
    Ned<%
    String sURL = request.getRequestURL();
    if (sURL.indexOf("//about//") > 1) {
    %>
    <p>About Test</p>
    <%
    } else if (sURL.indexOf("//menu//") > 1) {
    %>
    <p>Menu Test</p>
    <%
    } else if ......
    %>
    I wont do the other cases. Im sure you can figure it out. Hope it helps!

  • Newbie Setting up a Wireless Network - Advice Needed

    Before I run out and drop $$$ on stuff that won't work for me, I thought I'd better get some advice.
    Here goes:
    I have an older 1.25 GHz G4 iMac running OS X 10.5.1, no airport card installed yet, a Lacie 500 GB external HD, an Epson R200 printer and a cable modem. I want to create a wireless network that I can hook my XBox into as well. The computer and peripherals all in the same room except the XBox which is two floors below (about 30 to 40 feet away).
    My question is: Should I get the previous generation Airport Extreme Base Station 802.11g or the latest Extreme 802.11n. WHich would work best for me? Which Airport card should I get, and which will my iMac support? How do I hook everything up to produce the fastest possible speed? The XBox wireless adapter is not compatible so far with 802.11n.
    Thanks!

    FG. Kelly, Welcome to the discussion area!
    The computer and peripherals all in the same room except the XBox which is two floors below (about 30 to 40 feet away).
    Going through 2 floors may be tough depending on the building material used.
    Should I get the previous generation Airport Extreme Base Station 802.11g or the latest Extreme 802.11n.
    Apple now only sells the square 802.11b/g/n AirPort Extreme base station (AEBS).
    Which Airport card should I get, and which will my iMac support?
    The 1.25 GHz iMac G4 is only compatible with the 802.11b/g AirPort Extreme card.
    How do I hook everything up to produce the fastest possible speed?
    Use Ethernet for the fastest speed.

  • Newbie to JSP needs help

    I'm running tomcat and apache and basic servlets work fine, however when I try the usebean tag; I get an error message "CLASS not found". The class object is in the same directory as the servlet?
    Any suggestions?
    Kurt Radamaker
    Orlando FL

    I don't think it is. How do I tell? I'm pretty green with jsp and java, so I'm sorry I can't be of more help.
    Kurt Radamaker
    Orlando FL

  • Advice needed on move to in-house email. DNS and subdomain newbie.

    Hi there.
    One of my hats says IT Manager and I have a decision to make regarding about email services for a fast growing company.
    At present my company uses MediaTemple to host our web and email, but are presently finding many limitations particularly in the flexibility of email accounts specific to various sub domains. An example of a feature we need (but {mt} can't provide) is separate accounts for [email protected] and [email protected] MediaTemple will only allow a single mailbox.
    We desperately require this functionality which leads to my questions (as I'm easily perplexed by DNS and BIND):
    1. Is it possible to modify a DNS zone file so that subdomains can exist for both our website (which will continue to be hosted with MediaTemple) and also exist locally for email on our in-house Xserve G5 running Mac OS X Server 10.4.7?
    2. Does the Mail Server in 10.4 allow individual mailboxes for the same name under different subdomains.
    Sorry for the dubious explanations. I barely understand the process itself, but I'm learning.
    Thanks in advance,
    Aaron in Australia.
    Apple Xserve G5 Single 2GHz, 2GB/750GB   Mac OS X (10.4.7)  

    The answers are yes and yes...
    Managing a mail server, even on a Mac, can be complex and require a significant investment in time. If this decision is difficult, imagine trying to make ongoing config decisions, battle spammers, hackers and maintain 24/7 uptime for your users. Are you ready for that?
    I would think that your current mail hosting company can host mail for a subdomain, but probably not within the same hosting account. The level 1 people you are talking with may not have a clue. You may need a hosting account for each subdomain (with user accounts in each hosting account). If this email hosting provider doesn't support subdomains, then consider others (really any should). You'll need to make some DNS adjustments, something the hosting company can direct you on.
    Jeff

  • Newbie advice needed with Safari browser

    Hi,
    I have got this weird thing going on with safari.
    I will go to a website, and it will display perfectly, then I will go to the next and I only get text and no images. Where the images should be I get a little blue square with a question mark in.
    Example: I will go to Ebay.co.uk This shows up just fine with images and all.
    Then I click on the login button, and the login page will display as mentioned above, with the blue squares.
    What changes do I have to make to make this page show up ok as well??
    Any advice would be much appreciated
    Thanks in advance
    Peter

    HI Peter,
    From the Safari Menu Bar, click Safari/Preferences and select the Appearance tab.
    Select the box where you see: Display images when the page opens.
    Carolyn

  • Advice needed (for a newbie)

    Hello everyone...
    First time posting here...and I will say some of what I'm going to ask probably has been answered somewhere here...but I unfortunately do not have the time available to search through everything...so my apologies in advance if i repeat questions already answered.
    Ok anyways...so heres the deal.  We have a small family business and when a customer books our services we email them a contract (in PDF form) that they print out and manually write/fill in the blanks left for them and then mail it back to us/etc.  As a whole we've been working to make things more automated, easier, more digital/electronic/etc.  So my latest idea was to make it so the customer can just TYPE into the contract the info and sign it (would be ideal if they could actually sign it with their mouse or something, but typing their name in could work also) and then save the file and email it back to us. 
    Then I remember my new computer I got earlier this year had Acrobat (X Standard) on it...and I remember it could do something like that.  So I pulled it up and started messing around with it.  I imported our standard word contract (FYI its intially a Word doc before I save it as a PDF and then email it to them) and I started creating fields/etc so they can type in their info.  So I get everything done and then email it to another computer here and open it up...start filling stuff in/etc...but then it wouldn't let me save the changes to email it back.
    So my first question...is it possible to change to where they CAN save changes to email it back?
    Also...if in the end i get this working like I want it...there are a number of fields that I fill in (before saving/sending it) that I do not want them to be able to change.  Is there a way to setup those fields so that once I enter the info in and save it...they cannot edit it in those fields?  I know there is a manual way to change to read only...but is there a way to automatically have that set so that I can type into them but they cant?
    Next...as far as signing of the contract...I noticed on my end I can set it up to do a digital signature of some kind...that auto types my name, date, email, etc into the signature field.  But again when emailed to someone else who doesn't have that program or feature you cannot sign it.  So is there a signing option built in that actually lets the person sign (like they would on paper) with their mouse?
    I THINK that covers it for now at least...I'm sure I'll have more questions later...but this should get things started for now.  Thanks sooo much in advance!

    George,
    Thanks for the quick response!
    As far as the signature stuff...I think that Echosign would be easier for customers so they dont have to setup a digital ID/etc...but we'll have the weigh the options with cost there.
    Now that I know what the feature is called for them to be able to save the contract and such I see how it is done.  So the 500 instances...is that per created contract (form) or is that total no matter how many different ones you have?  As in reality each contract would be different that we send out...and only 1 person needs to fill it out and send it back to us.  However eventually we will have more than 500 different contracts that we'll send out (will probably take 5-7 years to reach number that but still).  I just want to make sure I'm understanding the limitations right.
    I'm thinking if we did this...I would start out with an initial blank contract with all the fields having their text boxes/etc.  Then for each contract open that up and edit it/fill in the fields I fill in...then save it as another new contract/form and then email THAT one with the saving permission to the customer.  So while it might start out with one initial form (thats not setup for the saving option) I would edit and create a new form thats able to be saved. 
    Hopefully that all makes sense...

  • Maybe you are looking for

    • Merge Statement Giving Error

      Hi Everyone, I am trying to use MERGE statement for my Data Load. But it is giving out an un-understandable error. It In the "ON" Part, it refuses to recognise the destination table columns... like I say ON(dest.Per_No = Src.Per_No), and it says "Inv

    • Air print using my Iphone and B110 printer.

      How do I  connect my B110 with my iphone using a third party application so I can print ?Air print. thanks Bernard

    • Function module to caluculate difference time

      hi friends, i need a function module to caluculate the time difference in hours.. user enters start date and time                   end date and time like          14.10.2008  10:00:00  ( start )           15.10.2008  12:30:00 ( end ). now the differ

    • Cover same spot on every page

      I have a job that is several hundred pages long.  Every page is a poor quality scan with a mark on the same spot on every page.  I would like to cover this spot on all pages.  I tried using the Rectangle Frame Tool with a solid white fill (I go to Sw

    • HT201269 iPhone to iPad photo transfer

      Hi, My problem is not having a PC. Can someone explain how i can transfer photos from iPhone to iPad and back (if needed). So the simple question is: 1.      Is it possible to transfer photos from one IOS device to another without 3rd party device, A