ABOUT JSP

I need a source with some example to about jsp.
something like jsp-step by step.
for example a good source for asp is www.asp101.com
for example a good source for HTML and javascript www.w3schools.com
Could you please give me a good source for jsp?
thanks.

I found it by myself but for your attention , it is:
http://www.webmasterbase.com/subcats/47
with this link , you can create your own JSP pages like ding ding !?...
by the way, thanks for reading this subject
Alireza

Similar Messages

  • Information about JSP

    Hi everyone,
    I am trying to collect information about JSP and was wondering if anybody could help me?
    I am trying to find something about the history, what kind of compiling language JSP is using and how it works, what kind of runtime and how it works, what kind of uniform class library and how it works.
    I am trying to find general information. I don�t want to go into details like is using Taglibs, Beans ect.
    I would appreciate the help.
    Thanks,
    Michael

    Well, JSP is Java Server Pages. I'm not sure how old it is, offhand. At least 5 years now, I guess. Generally, it uses Java as the language, although, technically, there is a language parameter of a JSP page that suggests there was some thought to supporting other languages (like ASP supports (or used to) VBScript or JScript).
    Why don't you go to the JSP page on Sun's site and read that info.

  • About jsp tags..............

    Pls help
    I am studing about JSP
    if we write code in scriptlet tag i.e. < % %>
    code goes into service() method of servlet ,which is automatically created by jsp Engine
    if we write code in declaration tag i.e. <%! %>
    code goes outside service() method of servlet ,which is automatically
    created by jsp Engine means at class level.
    is their any tag so that jsp code goes into init() method of servlet ,which is automatically created by jsp Engine for that jsp

    simple and straight u need to code init() method using <%! %> tags.. but in case JSP it has to be jspInit() method.
    The jspInit method is called by the container once and only once for a servlet instance. As you might guess from its name it is used to do initial once only setup such as getting resources and initialising variables that are used in the JSP page. The jspInit method can be overridden within a JSP page with code like the following.
    <%!
    public void jspInit(){
    /*getServletConfig is inherited */
    ServletConfig config= getServletConfig();
    %>REF : http://www.examulator.com/moodle/mod/resource/view.php?id=380
    REGARDS,
    RaHuL

  • Continuing problems about JSP compilation...

              I have two problems that I can't solve about JSP:
              - my JSPs aren't recompiled when I modify them
              I've got to redeploy the entire webApp for the
              modification to be updated.
              - the precompilation of my JSPs fails
              I've got the common NullPointerException in JSP2Java.makeReader
              I'm working in the deployed directory way, with a WL6.0sp2...
              My xml files seem to be correct and the clocks of the different machines are synchronized.
              I read several threads and solutions concerning those problems but all of these
              were applied and it still doesn't work...
              If someone could help me... TIA...
              

              JimmyL wrote:
              > I have two problems that I can't solve about JSP:
              >
              > - my JSPs aren't recompiled when I modify them
              > I've got to redeploy the entire webApp for the
              > modification to be updated.
              On admin server or managed server????
              >
              >
              > - the precompilation of my JSPs fails
              > I've got the common NullPointerException in JSP2Java.makeReader
              >
              Answered in the other email..
              Kumar
              >
              > I'm working in the deployed directory way, with a WL6.0sp2...
              > My xml files seem to be correct and the clocks of the different machines are synchronized.
              >
              > I read several threads and solutions concerning those problems but all of these
              > were applied and it still doesn't work...
              >
              > If someone could help me... TIA...
              

  • Help need to know about JSP-RMI connection

    Hi All...
    Can anyone send me any tutorial/link about JSP-RMI connection. I need to access a RMI server object from JSP page.Is it possible?
    Looking for your responds.....

    Hi ...
    I didn't get any reply from any one....
    Is it possible to make Java Server Pages and RMI work
    together -sure, jsp's can make requests to servlets which can then talk to remote objects, then a response can be sent back down to the jsp
    to invoke a method on a server object from a JSP? And
    if, does
    someone know of a good tutorial, article etc., on
    this matter?hmm, Google, JSP Tutorial, RMI Tutorial, etc.

  • Questions About JSP?

    hi;
    I am php devloper and I am learning Java now.
    I am using NB6.1 , Tomcat 6.0 , J2ee 5.
    I have some questions about devleoping web application with jsp.
    1.What are
    /WEB-INF/web.xml
    /META-INF/context.xml
    /META-INF/MANIFEST.MF
    files that generated with NB.are important or optional.are auto generated or may I edit.
    2.can I distribute my web application in non text format.How?
    3.if I want to add some files to my application that its running in tomcat.how can i do that with out rebuild all.
    thank you
    Add to mtz1406's Reputation

    thank you all for helping.
    I will write more information about my questions may this help others:
    *{ /WEB-INF/web.xml* - The +Web Application Deployment
    Descriptor+ for your application. This is an XML file describing
    the servlets and other components that make up your application,
    along with any initialization parameters and container-managed
    security constraints that you want the server to enforce for you.
    This file is discussed in more detail in the following subsection.
    As mentioned above, the <code>/WEB-INF/web.xml</code> file contains the
    Web Application Deployment Descriptor for your application. As the filename
    extension implies, this file is an XML document, and defines everything about
    your application that a server needs to know (except the context path,
    which is assigned by the system administrator when the application is
    deployed).
    The complete syntax and semantics for the deployment descriptor is defined
    in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it
    is expected that development tools will be provided that create and edit the
    deployment descriptor for you. In the meantime, to provide a starting point,
    a [basic web.xml file|http://localhost:8080/docs/appdev/web.xml.txt]
    is provided. This file includes comments that describe the purpose of each
    included element.
    NOTE - The Servlet Specification includes a Document
    Type Descriptor (DTD) for the web application deployment descriptor, and
    Tomcat 6 enforces the rules defined here when processing your application's
    <code>/WEB-INF/web.xml</code> file. In particular, you must
    enter your descriptor elements (such as <code><filter></code>,
    <code><servlet></code>, and <code><servlet-mapping></code> in
    the order defined by the DTD (see Section 13.3).
    h4. } from tomcat documentation
    Tomcat Context Descriptor
    bq. A /META-INF/context.xml file can be used to define Tomcat specific \\ configuration options, such as loggers, data sources, session manager \\ configuration and more. This XML file must contain one Context element, which \\ will be considered as if it was the child of the Host element corresponding \\ to the Host to which the The Tomcat configuration documentation contains \\ information on the Context element.
    }from tomcat documentation
    but I still want more information about this question:
    Q3: I want to distribute (sell to another organaization) without give sorce code in jsp files.So I want to precompile it to be just class files or jar files.
    I want to use ant that become with netbeans 6.1.can anyone give me information about how to do that.
    thank you again

  • I need info about JSP!

    Hi,
    I have some simple questions for jsp "experts". is it possible to get a version of jsp for free or how much does it cost?
    how safe is it to use in a big network of computers?
    Which databases does JSP support?
    please, please, answer as soon as possible!! =)
    thanks
         /jenny

    There are many JSP/Servlet server products which are free. These include Tomcat, Resin, JBoss, etc. These are all great for development-level work or small Net apps). If you need to implement a larger J2EE solution you will definitely want to look into one of the retail server products. These range from the very inexpensive (like Allaire's JRun) all the way up to expensive (like BEA's WebLogics) and everywhere in between. Just depends on your needs, budget, and requirements.
    Extremely safe. Especially when you look at the alternatives/competition (i.e., M$ COM/DCOM/ASP).
    Java supports just about every RDBMS on the market right now (you will run into difficulties with M$ SQLServer, but there are options). There are also drivers available for many legacy data sources. The subset of java which deals with database access is named JDBC; you may want to research this a little. Here is a link to the available JDBC drivers search page:
    http://industry.java.sun.com/products/jdbc/drivers

  • About Jsp Model---

    I want to add some Jsp Model into my project , if so I can do my job faster. For example: I want to create a model to display the record of the database table.
    But I don't know how to begin.
    Where has the example and the document about it? Who can help me?
    Thanks in advance!

    http://java.sun.com/j2ee/tutorial/doc/JSPIntro.html

  • Serious Help about JSP? please anyone

    Hello everyone,
    I am newbie on java. just learned java and java servlet. and learning jsp. i got a job interview for java development and jsp. is there anyone can help me out on which part of java and jsp i should pay attention. so i can be success in my interview. please anyone
    Sumit

    It's not that people are rude here, it's just that (in your original question) you seemed to indicate that you had no knowledge of java but were going to be interviewing for a java position and what you wanted from the user community was something you could say in the interview that would give the impression to the interviewer that you were an experienced java professional.
    If you just want pointers with a java interview... well, this is not exactly the forum for that question. I will give you one piece of advice anyway: Be honest with who your interviewer. Tell them you want a java job but have little to no experience but are willing to spend extra time to become proficient. If hired, this means you can spend time getting some OJT without worrrying about getting canned.
    If you try to BS your way into a job, they may expect you to already know alot. Your first day on the job, it will be apparent you don't know squat and it won't be too long after that before you will be back on the street looking for work.
    HTH,
    P.

  • About jsp:forward

    Hello everybody, sorry for my bad english.
    Finally, I let my old post to ask my question differently:
    Is it possible, with ADF, to start the application like this:
    in web.xml:
    <welcome-file>index.jsp</<elcome-file>
    in index.jsp:
    <jsp:forward page="/home.jsf"/>
    Because personally, the only method I found is:
    in web.xml:
    <welcome-file>index.jspx</welcome-file>
    with the appropriated configuration in web.xml (particularly a filter implemented manually).
    If the answer to my question is yes, please, is it possible to see you web.xml file?
    Thanks in advance.

    Thanks for your answer.
    In fact, nothing is bad with:
    <welcome-file>/home.jsf</welcome-file>
    But know if it is possible to use <jsp:forward page="/home.jsf"> could maybe help me to understand some things about the use of filters.
    Personally, as I said before, I can effectively use <welcome-file>/home.jsf</welcome-file> but this implies to implement a filter.
    In others libraries (even with Trinidad), this filter is never needed.
    So, I try to understand the difference between those two methods.
    And any information about this interest me.
    Thanks in advance.

  • [ANN] Article about JSP/JSF clashes and a better alternative

    I believe some of you might be interested in my latest JSF article, published on ONJava.com today:
    http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
    I hope it will lead to some interesting discussions regarding a better alternative than JSP for the JSF views in a future version of the spec.
    Hans Bergsten (EG member)

    Great article, Hans. I agree that the JSF community should be looking into alternative ViewHandlers. So far, it's been an underappreciated API, but teams like MyFaces and, yes, Tapestry too, should be thinking about how to innovate here. There's a lot of room for progress to be made, and we don't have to wait for the spec process to turn its gears to see some enormous improvements in the usability and power of JSF. Remember folks, the EG built extensibility and pluggability into JSF for a reason!
    -- Adam Winer (EG member)

  • Where is the Doc about JSP dev's guide & reference

    Hi, I just read the FAQs about the JSP technology and found this link:
    "Oracle JavaServer Pages Developer's Guide and Reference", but when I hit the link, the OTN site tells me that the link doesn't exit eventhough the reference is all over the FAQs.
    Where can I find this document?
    Thanks.....

    Hi, would you mind providing a link to the FAQ where you found this reference. It is possible this document exists, but so far
    I have only found this document from the Oracle 9iAS suite:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95882/preface.htm#430516
    Let us know if you need more information.

  • Questions from a Rookie about JSP and JEE

    Hello friends. I've just started to learn JEE and JSP technologies. I have some experience with .Net and PHP; but just found time to learn JSP. I have developed a simple Web application by using those technologies. And I want to deploy those codes to the web. I have googled. But could not find an explanatory tutorial about this topic.
    My second Question is:
    I am using Netbeans 6 Beta 2 and I am connecting to a Database by using a function let's say something called connectDb() with SSH;. How can I bind a Data table with this function. (Netbeans have a buildin component for binding to a component to db but does not support SSH)
    Thanx in advance. I would appreciate any kind of help.

    Hello.
    Is there anybody in there?
    Just reply if you can help me.
    Is there anyone here?
    By Dink Floyd

  • Question about jsp tags

    Hello to all the programmers ,
    I have the code below , i get from servlet the attribute that called carList and then i use the forEach iterator for
    view the list of employees.
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <html>
    <head><title>The list of the Employees</title></head>
    <body>
      <table>
         <tr>
           <th bgcolor="cccccc">EMP_ID</th>
           <th bgcolor="cccccc">FIRST_NAME</th>
           <th bgcolor="cccccc">LAST_NAME</th>
         </tr>
      <c:forEach items='${empList}' var='emp' >
        <tr>
        <td>${emp.id }</td>
        <td>${emp.first_name}</td>
        <td>${emp.last_name}</td>
        </tr>
      </c:forEach>
      </table>
    </body>
    </html>The result that i get us :
    EMP_ID FIRST_NAME LAST_NAME
    ${emp.id} ${emp.first_name} ${emp.last_name}
    with the suitable headers of course.
    Why i get this result and not get as i expected the empBean.
    Regards
    Ofer

    I checked the web.xml and version is 2.4.
    I don't thhink that problem related to the web.xml , because i have another example that worked like this one :
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%
        // DON'T FREAK OUT!!! This scriptlet code will go away once
        // we have a model and controller in place...
        String[  ][  ] empList = {
                {"22254", "Joe", "Pashi"},
                {"15487", "Yos", "Alke"},
                {"8777", "Jhon", "Gatez"}
        pageContext.setAttribute("empList", empList);
    %>
    <html>
    <body>
      <table border="1">
        <tr>
          <th bgcolor="cccccc" align="left">Id</th>
          <th bgcolor="cccccc" align="left">First_Name</th>
          <th bgcolor="cccccc" align="left">Last_Name</th>
        </tr>
        <c:forEach items='${empList}' var='emp'>
          <tr>
          <td align="left">${emp[0]}</td>
          <td align="left">${emp[1]}</td>
          <td align="left">${emp[2]}</td>
          </tr>
        </c:forEach>
      </table>
    </body>
    </html>when i run this jsp page in tomcat i get the this result as expected :
    Id First_Name Last_Name
    22254 Joe Pashi
    15487 Yos Alke
    8777 Jhon Gatez
    I think that maybe i missed something in the previous example , something that related to the iterator forEach.
    I try to do the same thing but get the array of the employee from the servlet that's all , i see that the arrayList of the employees is created and i assign as an attribute.

  • Issue about jsp taglib,please help

    Hello all,
    I want to use jsp tag like following:
    <c:import url="xxx.jsp">
    <c:param name="xxxAction" value="<portlet:renderURL/>"/>
    </c:import>
    and the value of the c:param can not accept the value generated by the <portlet:renderURL/> tag.
    I can resolve the issue by writing java code in the jsp(like ...java code...<c:param name="xxxAction" value="%=...%"/> ),much java code occur in the jsp,I do not like this solution.
    anybody has good solution please help me.
    thanks and rgds.

    Ram is correct. You can't nest custom tags as attributes to other custom tags.
    In this case the <c:param> tag offers the option of specifying the value as the body of the tag though, so the following should work:
    <c:import url="xxx.jsp">
    <c:param name="xxxAction"><portlet:renderURL/></c:param>
    </c:import>

Maybe you are looking for