try this: <jsp:forward page="/anyPage.jsp?myParam=Passion!"></jsp:forward>
and recieve <h2><font color="black">My Param is ${param.myParam} </font></h2> On 8 mar, 21:27, "BOOKER Steve" <steve.boo...@qbuild.qld.gov.au> wrote: > Hi All, > > I am very new to J2ee and web programming. > > Trying to do the homework for 4003 and cannot quite see how to add a new > parameter in a jsp. As far as I can make out the training showed how to > do this in a java servlet, but not in a jsp. Being so new I cannot make > the association between the 2. > > I have read and re-read the training but I must be missing the point > somewhere, can anyone point me to an example of adding a parameter in > jsp code please. > > Steve > > ***************************** Disclaimer ***************************** > > The contents of this electronic message and any attachments are intended only > for the addressee and may contain privileged or confidential information. > They may only be used for the purposes for which they were supplied. If you > are not the addressee, you are notified that any transmission, distribution, > downloading, printing or photocopying of the contents of this message or > attachments is strictly prohibited. The privilege of confidentiality attached > to this message and attachments is not waived, lost or destroyed by reason of > mistaken delivery to you. If you receive this message in error please notify > the sender by return e-mail or telephone. > > Please note: the Department of Public Works carries out automatic > software scanning, filtering and blocking of E-mails and attachments > (including emails of a > personal nature) for detection of viruses, malicious code, SPAM, executable > programs or content it deems > unacceptable. All reasonable precautions will be taken to respect the privacy > of > individuals as outlined in the DPW Privacy Plan. Personal information will > only be used for official > purposes, e.g. monitoring Departmental Personnel's compliance with > Departmental Policies. > Personal information will not be divulged or disclosed to others, unless as > required by Departmental > Policy and/or State or Commonwealth Law. > > Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---