• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Background image

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sir,
Could any one forward me sample programs that resemble my tasks?

1)In a JSP, I would like to place an image as background so that when I execute that JSP, I could find that image in a particular section of a form.

2)For example I have two JSP's namely - ABC.jsp and EFG.jsp. In ABC.jsp, I have written code for three hyperlinks to display.EFG.jsp contains text for those hyperlinks. When I click on first hyperlink of ABC.jsp, EFG.jsp will be called and the output will be displayed. When I click on second hyperlink, I would like the cursor to point to the second section of text and when I click on third hyperlink, i would like the cursor to point to the third section of text. I would like to know how to set the focus for each hyperlink.

3)I have a form with some fields.For example serial number. The code for that form is written in JSP. How can one block the serial number when the data into that field has been entered once.

Eagerly waiting for reply.
Thanks,
Anjali.
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Asking for sample programs is sort of a no-no around here. Folks here prefer to guide and help you in learning how to do things for yourself instead.

So, here goes -

1) Read up on CSS and how to to position images using CSS and the CSS properties supported by background images.
An older technique for this kind of result is to create your image with enough white or transparent pixels on the left or top of the image, so that the image appears to be at the desired position.

2)Look up Anchor tag. Google is your Friend.

3)Look up how to use Javascript to disable a form element. Although, you should not rely solely on Javascript for any critical validations.

HTH
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic