Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Thanked 0 Times in 0 Posts

    Question Inserting HTML code in a jsp page

    Greeting folks!

    I am not a coding guy to be honest and am working as IT administrator in a small firm.

    customer has an application on TOMCAT and wants an HTML code snippet to be added on a jsp page. I need some quick guidance.

    I can share the code and the jsp if anyone is willing to help me.


  2. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 Posts
    This is the JavaSCRIPT forum.

    JSP uses JAVA.

    The two have little in common other than the first 4 characters of their names.

    A moderator will surely move this to the proper forum.

    Having said that:

    JSP pages *ARE* HTML pages. Only the code enclosed in <%....%> is Java.

    So you can mix the two as you like.

    <h1>See, this is HTML</h1>
    // and now we are writing Java code 
    for ( int i = 0; i < 100; ++i ) { ... }
    And this is HTML again.
    Be yourself. No one else is as qualified.

  3. Users who have thanked Old Pedant for this post:

    zion_rulz (05-23-2012)


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts