Can packages have JSP's ?

I know that we can store servlets in Packages.But ,if at all we need packages that contain JSP's then what we have to do.Is this scenario possible.
As servlet is a java code we can store them in packages.But JSP is java embedded in HTML.So, for this reason we can't create packages with JSP's. Is my analysis correct?

Yahh you package JSPs inside the web module. You can
create directories inside the WEB_INF directory or
outside. You need to access the JSP file with the
full qualified name with the directory names like
http://localhost/webmodule/directory1/directory2/index
.jsp
It basically depends on your web module
configuration. You can make entires to the web.xml to
cut short the URL with out providing the directory
names in the URL.I dont think this is what the OP asked for.
If I understand correctly, he meant if servlets that are generated from the jsps can be defined to belong to a particular package.
But JSP is java embedded in HTML.So, for this reason we can't create >packages with JSP's. Is my analysis correct?mostly. The jsps themselves do not belong to any pkg, but the servlet classes generated from the jsps are bundled into packages and this is taken care of by the container.
cheers,
ram.

Similar Messages

  • Can WebLogic have JSPs in WEB-INF?

    I believe that in older releases, there was no practical way to have JSPs in the WEB-INF tree. I also believe that as of either 9.x or 10.x, this was allowed, either by default, or by setting a configuration parameter. I can't easily find information about this in the doc tree. Does anyone know of any details about this?
    Note that this would be in the context of an application that does not facilitate direct references to JSPs from the client, like in Struts. The only accesses to JSPs are through forwards from actions.

    I actually thought this was allowed (by default) in 8.1, but I can't point you at any definitive refs...

  • How can I have an english interface to labview if the package is in german

    Hi ,
    I'm a student that makes a project in Germany using labview ... the problem is that my german is not that good , and the labview is in german so here is my question :
    how can I have an  english interface to labview if the package is in german (labview 7 )
    Any help would be apprecieted.

    The only way to really have everything in English is to install an English version of LabVIEW.  You may want to talk to your local NI sales representative about the possibility of getting a different version.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Can I have a JSP  inside another JSP??

    if so,
    say, I have a JSP inside another JSP then,
    how many servlets r generated by the JSP engine??

    Yes U can have JSP inside another JSP, ofcourse using jsp:include and in that case two servlets will be generated. Thats what i feel that happens.

  • I can't use have JSP code in jsp:forward ?

    when i try to use
    <jsp:forward page="product.jsp?id=<% out.print(bid.getItemID()); %>&action=bidfail" />it dont seem to have any id value?
    i will get something like
    /AuctionProject/product2.jsp?id=<% out.print(bid.getItemID()); %>&action=bidfailhow can i have some jsp code inside the forward url? like in this case i need a item ID

    You can use run time expressions in jsp:forward, but you shouldn't use a scriptlet with out.print(...). Instead use an expression. An expression looks like <%= value to display %> instead of <% out.print(value to display) %>
    <jsp:forward page="product.jsp?id=<%= bid.getItemID() %>&action=bidfail" />See the JSP Syntax Reference at: [http://java.sun.com/products/jsp/syntax/2.0/syntaxref20.html |http://java.sun.com/products/jsp/syntax/2.0/syntaxref20.html]

  • Can i have creative cloud package installed on 2 computers from the same account? if so how do i do it?

    Can i have creative cloud package installed on 2 computers from the same account? if so how do i do it?

    You can activate the subscription on two computers.
    To install the products refer
    Creative Cloud Help | Install, update, or uninstall apps

  • Using a package in JSP

    Hi,
    I've been learning java at Uni using the Elements Package. I've started learning JSP on my own and was wondering if i can use the package with JSP. For example if i wanted to use this code
    import element.*;
    import java.awt.Color;
    public class test
    public static void main(String args[])
         DrawingWindow d = new DrawingWindow();
         ConsoleWindow q = new ConsoleWindow();
    is it possible?

    You cannot have a main() method in a JSP. The JSP will be compiled (behind the scenes) by your J2EE container (Tomcat, Weblogic, JBoss, etc.) into a Servlet. As such, you have access in your JSP to the HttpServletRequest and HttpServletResponse, as well as the HttpSession, the Servlet OutputStream, and a few other Servlet variables. You write normal Java code within the JSP (or use a JSTL tag lib) between <% and %> blocks. You can import any package in your JSP that is in the web application's classpath.
    - Saish

  • Can I  have Apple TV on more than one tv?

    Can I have Apple TV on more than one tv and can I use one netflix subscription on both tvs (connected to Apple TV)?

    You'd really need one AppleTV per TV - as for Netflix check your subscription package, in UK I can play on 2 devices with my current subscription or 4 for a higher fee.
    AppleTv only has a single video out, so even if you relay the output of AppleTV to 2 TVs it would show the same content.

  • Can I have multiple activation​s on the same computer?

    I have an Lookout Integrator package activated and running. Question is, I
    also have a 50 I/O Dev. System. Can I have both the 50 I/O and the
    Integrator package activated at the same time, and which one would come up
    when I start Lookout?

    I would think, lookout starts and uses the "best"/most featured license.
    1 window either way
    Mike 
    Mike Crabtree - Lead Developer
    Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
    (866) 964-6948 / (760) 247-9512

  • Can we have a multiselect box in OIM forms?

    Hi guys,
    How can we have a multiselect in the object form.As I can see default form doest support this.
    Is there any way we can include one.
    phil

    There isn't direct way to doing this, but you can use child forms for multi-select option. Having child-forms in request forms isn't that user friendly - so alternative to that would be modify the default Lookup field behavior to have check boxes instead of Radio - buttons. This behavior can also be controlled per field basis.
    You may want to look at tjspForm.jsp and tjspLookupFormTiles.jsp.
    - Aman

  • Can I have a Mavericks disc mailed to my house? I had trouble downloading it through the App Store, and now it won't do anything at all when redownloading it.

    Can I have a Mavericks disc mailed to my house? I had trouble downloading it through the App Store, and now it won't do anything at all when redownloading it.

    Apple doesn't create installation disks for OSX 10.7 and later. You can create your own disk/USB bootable installer, but this requires downloading the installation package from the app store first.
    1) Make sure you have a stable internet connection. Try directly connecting via ethernet port, versus Wifi, if you are experiencing a weak Wifi Signal or intermediate loss of connectivity
    2) From the App Store, go to the Menu Bar, Store > Sign out.
    3) Navigate to the /Applications folder and drag the partially completed download of the installer to the trash.
    4) Open the App store, sign back in, and redownload Mavericks.

  • Import Java package in JSP

    I hope this is an appropriate forum for this query.
    I want to be able to access a user-created Java package in JSP.
    I have this code:
    <%@page import="TPClass.*" %>
    <%
    xxx = TPClass
    session.setAttribute("response",xxx.GetTPResponse());
    %>
    The error display points to TPClass in the import statement with the message "TPClass not found".
    TPClass files are in the same location as the other project files.
    I have creatyed and compiled the TPClass package.
    Is there more I need to do?
    Brenton

    I think you are very new to java....
    anyway
    <%@page import="class name with full qualified package name"%>
    like
    <%@page import="com.x1.x2.TPClass"%>
    <%
    TPClass cls =new TPClass();
    //then do whatever you want...
    %>
    hope u understand now.....

  • Can we have two R/3 Source Systems(Dev & Test) in BW Development....?

    Hi All,
    Till now we have only BW Development box..
    Our Landscape for R/3 side is R/3 Development, Testing and Production.....
    Already we have connected R/3 Development with BW Development... It is working fine as now... We have finished our task at Development...
    My doubt is <i><b>Can we Configure R/3 Testing to BW Development</b></i>....eventhough R/3 Development is already configured with BW Dev....
    <b>Can we have two R/3 Source Systems(Dev & Test) in BW Development....?</b>
    Please help me out in this issue....
    Your help will be appriciated...
    Regards,
    Kiran Telkar

    Hi Kiran,
    You can create second source system which will point to SAP R/3 Quality .
    If you have transported all datasource activation requests to QA environment then all datasources are available in R3QA as well.
    After creating source system , replicate datasources.
    Only thing you need to do is to replicate efforts of assigning source system (R3QA)-> creating transfer rule -> Create info package and load data.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • Call PL/SQL packages in JSP

    I would like to call PL/SQL packages in JSP. I am new in Java world. So, kindly tell code about to call packages from oracle. I will be thankful to all those experts who will help a student such as me.
    I will be anxious to your response.
    plz
    plz

    Dear sir,
    I am really thankful to you. I have to verify password in oracle.
    Id and password verification is writting in package's function. Id and password are oracle users. Like scott in Oracle. I think it is possible.
    Kindly assist me.
    If u feel easy then kindly contact me at [email protected] or tell me your email address. Plz

  • 13 default packages in JSP

    Can anybody tell what are the 13 default packages in JSP.
    Thanks in advance!!!

    not entirely sure what you mean but the following are imported implicitly in all JSPs:
    java.lang.*
    javax.servlet.*
    javax.servlet.jsp.*
    javax.servlet.http.* hth,
    m

Maybe you are looking for