Pls help!  Creating a new simple jsp iView...

Hi, I would like to create a totally new iView JSP project from scratch.  I currently have NetWeaver and EP 6.0.  This is what I have done so far on NetWeaver: <b>File > New > Project > Select Portal Application > click 'Next' > Type in Project name and root folder > click 'FINISH'</b>.  Now, I think I have a project ready?  I have some basic iView JSP code already.   so now can someone provide me with detailed steps on what modifications and steps I need to make on my new project in order for my iView jsp to display on the EP 6.0?  Any files like 'portalapp.xml' that I have to modify?
Thank you so much for your help,
Baggett.
What I know so far: I have looked at an example where I created one using an existing par.  I know how to export .par file to EP 6.0, it's the steps before that I don't know.  Thanks again.

Hi, I think I found a little solution to my problem but now I have a new issue.  I think I "solved" my problem by doing:  <b>File > New > Project > Select Portal Application > click 'Next' > Type in Project name and root folder > click 'FINISH'.  Now, I do:
File > New > Other > Portal Application > Create a new Portal Application Object > Select my Project > Portal Component/JSPDynPage (is this the 'easy' one to pick b/c it seems to update the portalapp.xml file, creates a jsp file (myFirstJSP.jsp) and bean for me) > I type in all the textfields for file name, package name, ... > click 'FINISH'. </b>
Is this a correct/good way of starting a JSP project(I don't really know what a JSPDynPage is)
Now I have a new issue.  I open up myFirstJSP.jsp and NetWeaver highlights all the code (pasted below) in yellow and there is no error displayed:
<b><hbj:content id="myContext" >
  <hbj:page title="PageTitle">
   <hbj:form id="myFormId" >
   </hbj:form>
  </hbj:page>
</hbj:content></b>
So I try to paste this line into myFirstJSP.jsp: <b><%@ taglib uri="tagLib" prefix="hbj" %></b>and also paste this line onto portalapp.xml:
<b><component-profile>
        <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>    </b>
Now, I get an error saying: <b>"JSP Parsing Error:File "/dist/PORTAL_INF/pagelet/tagLib" not found"</b>
Why is this?  How can I fix it?
Thanks so much,
Baggett.

Similar Messages

  • Creating  a new Portal Masthead iView..

    Hi,
    I would like to create a new Portal Masthead iView for my portal application which should contain the logoff and help option. From which iView, I can create it?
    Thankyou,
    Sudheesh...

    Hi Sudheesh,
    Masthead: contains branding elements, user identification, and the appropriate (based on the portal configuration) function links from among Help, Personalize, New Session, Log Off and Log On.
    In the Portal Catalog, go to Portal Users --> Standard Portal Users --> Default Framework Page --> Masthead iView, and in the Help Link URL property, enter the URL of the site you want launched when the user clicks the Help link.
    Also check on to this link,
    http://help.sap.com/saphelp_erp2005/helpdata/en/97/d4ee3d6434445ae10000000a11405a/frameset.htm
    Hope it helps,
    Regards,
    Nagarajan.

  • Create and deploy simple JSP

    Hi,
    I need to create simple JSP pages and deploy it to SAP J2EE engine.. what is the procedure?...I may later add some businness logic but not needed for now.
    Please help
    Thanks,
    Jai

    Hi Jai Paul,
    You would need to have the Netweaver Developer Studio installed. It is the IDE based on eclipse where you can develop applications and deploy onto the server.
    Chk out the following links. It has some tutorials and also explains the entire process of developing & deploying applications onto the portal.
    http://help.sap.com/saphelp_nw70/helpdata/en/83/4baa42cdccda11e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/1e3d41536ff323e10000000a155106/content.htm
    Regards,
    Abhishek

  • Help creating a new project in JE8.1

    Hello,
    As I am very new to JAVA and the IDE I am having problems creating a new project using JE8.1.
    The problem that I am having is when I try to create a new project the only option under the "standard" folder is for me to create a project using an existing one. How in the world do I start from scratch?
    Could there be a problem with my install? I can open and edit existing files but for some reason when I try to create a project from scratch I do not have that option
    Thanks for pointing this newbie in the right direction
    Shawn

    Missing project entries are usually due to a corrupted userdir. Please try running the ide with a fresh user directory.
    http://blogs.sun.com/karthikr/entry/jse_directories
    http://wiki.netbeans.org/wiki/view/FaqMissingProjectCategories

  • Pls help!  How to put JSP import statement...

    Hi, I just created a simple iView JSP that imports htmlb classes and now I'd like to import my own java classes onto it.  For example, in my other projects, my JSP's have <%@ page import="project28.practice.contextClass" %> on top of the page.  I currently have a file called practice.jar 
    If I want to put this import statement into my simple iView JSP and use it, what would I have to do/configure?, do I have to transform it into a .par file?  Or can I  transport the jar file to the portal?  Any changes on NetWeaver?
    I am new to this so any detailed help or suggestions are greatly appreciated!
    Thanks again,
    Baggett

    Hi Detlev, thank you for your response!  I'd like to include more details of my situation right now:  I have 2 projects on NetWeaver:
    Project#1: Java Web application Project. (jar files, WEB-INF, WEB-INF/web.xml, JSP's...)
    Project#2: Portal Application Project. (JSPDynPage, sap plugins, PORTAL-INF/portalapp.xml, JSP)
    I'd want my JSP file in Project#2 to call some classes from the jar files of Project#1. 
    From my understanding, to do this I need to make a .par file out of Project #1 and then upload the par file to my SAP EP6.0 so that my future JSP's can import classes from it.  Am I correct?
    I am confused right now as to how to really do this.  On Netweaver, I am getting a Error when I try to do: File --> New --> Project --> Portal Application --> Create a Portal Application Project > I then enterProject Name: TestProject28, Project root folder: c:\TestProject\webapps\project1 
    --> "ERROR: Invalid project description, Reason:An error has occured while trying to create the project structure"
    If possible can you please provide detailed instructions on how to configure or build a par file out of my java web application stated above?
    Thank you so much for your time and help!
    Baggett

  • How can i create a new simple tasks in uwl by API?

    Hi,
    I want create a simple tasks with the API (no with WD), can anybody help me?
    What is the API for create, are there any sample?
    Thanks in advance,
    Regards,

    Hi,
    But... for create a simple tasks is necessary create a connector?
    I thought that is more simple, such us:
    createTaks(USER, TITLE, DESCRIPTON);
    Thanks in advance?

  • Plz help me out new to jsp

    package abc;
    class UserDetails
    // i have used this class basically for declaration of variables.
    public class BulkSmsFunctions
    BulkSmsFunctions()
    {// constructor}
    // in this class i have 5-6 functions      
    public static void amin(String args[])
    // i have left my psvm as empty.
    }BulkSmsFunctions uses objects of UserDetails to assign various variables.
    now i have a jsp page which has to create an object of BulkSmsFunctions and call the various functions.
    i have the following code for the jsp page:
    <%@ page import = "java.util.*"%>
    <%@ page import = "java.lang.*"%>
    <%@ page import = "java.io.*"%>
    <%@ page import = "abc.*"%>//importing the package
    <html>
    <body>
    <%
    String PROVISIONING_LOG_PATH="C:\\bulksmsfolder";
    String USERS_ACTIVE_DETAILS_FILE="CountDetails";
    String USERS_PACKAGE_SUBSCRIPTION_LOGS_FILE="ServiceLog";
    String SERVICE_SUBSCRIPTION_PACKAGES_MASTER_FILE="PacksMasterFile";
    BulkSmsFunctions objBulkSms= new BulkSmsFunctions();
    try
    boolean SmsCountFlag = objBulkSms.processSmsCountDetails(PROVISIONING_MODULE_LOG_PATH,USERS_ACTIVE_SMSCOUNT_DETAILS_FILE);
    if(SmsCountFlag == false)
            out.println(" No file contents");
         catch (Exception e)
         out.println(" Exception in main     :" + e.toString());
    %>
    </body>
    </html>i am getting the following error.
    An error occurred at line: 7 in the jsp file: /jsp/natasha/hello.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\examples\jsp\natasha\hello_jsp.java:56: tcs.BulkSmsFunctions is not public in tcs; cannot be accessed from outside package
         BulkSmsFunctions objBulkSms= new BulkSmsFunctions();
    ^
    An error occurred at line: 7 in the jsp file: /jsp/natasha/hello.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\examples\jsp\natasha\hello_jsp.java:56: tcs.BulkSmsFunctions is not public in tcs; cannot be accessed from outside package
         BulkSmsFunctions objBulkSms= new BulkSmsFunctions();
    ^
    An error occurred at line: 7 in the jsp file: /jsp/natasha/hello.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\examples\jsp\natasha\hello_jsp.java:56: BulkSmsFunctions() is not public in tcs.BulkSmsFunctions; cannot be accessed from outside package
         BulkSmsFunctions objBulkSms= new BulkSmsFunctions();
    ^
    An error occurred at line: 7 in the jsp file: /jsp/natasha/hello.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\examples\jsp\natasha\hello_jsp.java:60: processSmsCountDetails(java.lang.String,java.lang.String) is not public in tcs.BulkSmsFunctions; cannot be accessed from outside package
              boolean SmsCountFlag = objBulkSms.processSmsCountDetails(PROVISIONING_MODULE_LOG_PATH,USERS_ACTIVE_SMSCOUNT_DETAILS_FILE);
    ^
    4 errors

    try
    modify constructor of BulkSmsFunctions to public as in
    public BulkSmsFunctions() { etc etc                                                                                                                                                                                           

  • In need of help, creating a semi- simple program

    I'm creating a program that is suppose to fit such criteria,
    Read a file of real numbers (doubles), find the smallest and largest, print the numbers read (4 per line), and print the following statistics for the input data:
    · Sum
    · Smallest
    · Largest
    · Average
    I know how to get the file and im using readline to get the information. Below is some of my code where it is as of now.
    BufferedReader bufRead = new BufferedReader(input);
    String line;
    line = bufRead.readLine();
    while (line != null)
         double random = new double(line);
         //Im getting complaints with my while statement also....
         System.out.printf("% 8d\n",randomint.dblValue());
    line = bufRead.readLine();
    bufRead.close();
    catch (ArrayIndexOutOfBoundsException e)
    System.out.println("Usage: java ReadFile filename\n");
                   catch (IOException e)
    e.printStackTrace();
    Any help is greatly appreciated as Im kinda rusty at programing. been a while.

    It's probably a good idea to begin with your own code: compiling and running it at each step to make sure it is correct. If you get stuck post what you have so far (using the "code" tags) and say what the exact compiler message is. And even before writing your own code, figure out what you are going to do - think about how you would solve this problem with pencil and paper. If you had a stream of numbers being given to you, what things would you have to keep track of so that you could report the sum, min max and average at the end?
    That said "new double(line)" makes no sense as double is a primitive. To parse a string (that is, figure out its numeric counterpart) use the Double method [parseDouble()|http://java.sun.com/javase/6/docs/api/java/lang/Double.html#parseDouble(java.lang.String)]. And it makes no sense to close the reader each time you read a line.

  • Help creating a new website

    I've created a few websites previously, and I've been attempting to improve on them each time. I found this image, for a website I really liked the design of:
    http://premiumtemplate.org/it-therestaurant-joomla-template.html
    However despite trying different methods I really don't know how to go about creating something similar.
    Any help would be much appreciated,
    Thanks,

    Tm-Butler wrote:
    Okay,
    I can create a background image to use, however I'm not sure of the best method to place it as the background
    And while I can create the features on the page I have no idea how to add the transparancy and put them on top.
    You do have a ways to go, but if you are interested in learning then you are on the right path.
    Creating a background is one step, but implementing the background is another.  When you design something it is a fixed size, so depending on the resolution of the screen will depend on what your user's see and how they view the page.  So do you need regions to repeat?
    As far as transparency is concerned, you can do CSS transparency which is only available in newer browsers or use PNG transparency with images.  The PNG method will work in IE7 and newer, but if IE6 is a concern, then users won't see the transparency.
    A good tutorial to read over is the following: http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html .  It is a good explanation of how to turn a design into HTML and the process that goes into it.
    But as gramps said, we need to see what you have going on and where you need help.  Think of users here like teachers, here to guide you to your answer.

  • Abobde media encoder + pls help me export a simple file.

    Hi guys
    I am trying to use adobe media encoder to export a video file into a file suitable for the web. Trouble is I’ve never done this before and I’m running into some problems. My work computer does not have all the codec’s, so when I export an windows media 9 file, it wont run. It will work on a WM7 file, but it only exports the first 20 seconds.
    This should be easy, I have a file, and I want to export to a suitable format for web. Preferably not flash though, however even that wont work for adobe media centre.
    I am exporting out of Cs3 and using n windows Media Media audio/Video file
    When I export and AVI, there are lines throughout the picture.
    Please help,
    Cheers.

    You might post this in the correct forum for CS3
    http://forums.adobe.com/community/premiere/premierepro_current
    To create WMV you might use the free Microsoft Windows Media Encoder (WMV is Microsoft's format)
    Also...
    A link with many ideas about computer setup http://forums.adobe.com/thread/436215?tstart=0
    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with the DETAILS asked for in the questions at the end of the troubleshooting link

  • Please help me !  new to jsp

    I am getting null pointer exception when i am trying to execute one combox to populate the other combo box. I am not able to understand where i am doing wrong. if anybody can guide me will be greatly appreciated,
    My code in the servlet is
    resultSet = statement.executeQuery("SELECT * from kiosk_hitcount where kiosk_name like 'Altoona%' and l_category ='" + request.getParameter("category") + "' group by l_categoryb order by l_categoryb asc");
    Vector data = new Vector();
    while(resultSet.next())
    String rowdata= resultSet.getString("l_categoryb");
    data.addElement(rowdata);
    request.getSession().setAttribute("data", data);
    RequestDispatcher rd = getServletContext().getRequestDispatcher("/MyKiosk/CategoryTest.jsp");
    rd.forward(request,response);
    in jsp page:
    <tr><td><Font size='2'><H3>Local Sub-Category:</H3></Font></td>
    <td><SELECT name="bcategory">
    <%
    Vector data = new Vector();
    data = (Vector)request.getSession().getAttribute("data");
    for(int i = 0; i< data.size(); i++)
    String catb = (String)data.get(i);
    %>
    <OPTION value="<%= catb%>" ><%= catb%></OPTION>
    <%
    %>
    </SELECT></TD></TR>
    Thank you ,
    Mary

    Here is the stackTrace for the Exception
    java.lang.NullPointerException
    at MyKiosk._0002fMyKiosk_0002fCategoryTest_0002ejspCategoryTest_jsp_82._jspService(_0002fMyKiosk_0002fCategoryTest_0002ejspCategoryTest_jsp_82.java:176)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
    at org.netbeans.modules.web.tomcat.JspServlet.service(JspServlet.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)

  • My stupid FOR loop doesnt work to create a new array, help!

    Hello, I need help creating a new integer array that contains exactly one of each element a different array.
    My original array is called co[]
    lets say it has the values: 1213445232
    I want my new array called classArr[]
    for example, it would end up being: 12345
    my integer array is called classArr[]. and i want it to store exactly one of each element from the co[] array. Here is my code. It compiles without errors, but I get out of bounds exception when i run it.
    classArr[0] = co[0];
    int temp = 1;
    for (int k = 0; k < x; k++) { //x is the number or elements in co[]
         for (int j = 0; j < temp; j++) {
              if (classArr[j] != co[k]){
                    classArr[temp] = co[k];
                    temp++;
    System.out.println("Values in new array");
    for (int c = 0; c < temp; c++){
         System.out.println(classArr[c] + " ");
    } Thanks for your help!!!!

    im pretty sure the initialization of the variables are
    set right.Well, without seeing the initialization I doubt I can help you. Try to figure out if it is classArr[temp] or co[k] that causes the exception. (Hint: put them on two different lines.)
    x is the number of elments in the co[] arrayTry replacing it with co.length.
    classArr[] is a dynamic array set to a number, lets
    say it's abcWhat is a "dynamic array" in your terminology? And what is "abc"? Please provide at least the declarations of your arrays.

  • Help running a simple jsp (with struts and core -sun- taglibs)

    Hi, could somebody help me with this simple JSP?
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:c="http://java.sun.com/jsp/jstl/core"
         xmlns:html="http://struts.apache.org/tags-html">
    <head>
         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    </head>
    <body>
         <html:text property="text">text</html:text>
         <label>hello</label>
         <c:forEach begin="1" end="5">
              <label>inside</label>
         </c:forEach>
    </body>
    </html>When I run it, the c:forEach tag doesn’t work.
    Output shows “text hello inside” instead of desired “text hello inside inside inside inside inside”
    Any hints will be really appreciated.
    Edited by: 792625 on 03-sep-2010 0:15

    Add the JSTL Core tag library.
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

  • I recently bought a mac book pro sept 2011 and i don't know how to reset my ichat pls help am new to the mac n i feel lost

    i recently bought my mac book pro this month and iam stuck with ichat i want to reset it and i dont know how to
    pls help me am new to mac

    HI,
    Welcome to the    Support Communities
    It really depends on what you have done so far.
    The Simplest is to open iChat go the word iChat in the Menu Bar (Drop Down Menu)
    Select Preferences.
    In there select Accounts.
    Highlight any account in the list you no longer want (you can't delete the Bonjour one)
    Once highlighted press the minus button at the bottom of the list.
    6:24 PM      Monday; September 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • MuseJSAssert in IE8, IE9, IE11 pls help

    Hello
    I have problem with very simple website. In Safarii, Firefox, Mozilla - everything is OK.
    But in IE 11, IE9, IE7 i see design damaged and info MuseJSEAlert: Error calling selector function (object error)
    In IE 8 I see MuseJSEAlssert Error calling selector function: Type Error this backgroundSize.width is empty or there is no object....
    I cleared cache, I put files using builtin FTP function - everything what I found on Adobe Forum.... There is no custom HTML code, no other widgets....
    How to resolve this problem????

    No i changed web design and software
    Milosz Czechowski
    Accurate
    Aleja Bohaterów Września 9
    00-973 Warszawa
    Tel. (22) 576 18 00
    www.accurate.pl
    M
    Użytkownik Danni Elskens napisał -
    >     
    >Re: MuseJSAssert in IE8, IE9, IE11 pls help
    >created by Danni Elskens in Adobe Muse Bugs - View the full discussion
    >Hello,

    >I have excactly the same problem, did you find a solution?
    >     
    >Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6260140#6260140
    >     
    >Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6260140#6260140
    >     
    >To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6260140#6260140. In the Actions box on the right, click the Stop Email Notifications link.      
    >     
    >Start a new discussion in Adobe Muse Bugs at Adobe Community
    >For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for

  • Short dump while running Alert Monitor

    Hi, I am getting a short dump while determining alert in Alert Monitor through T. Code /SAPAPO/AMON1. The error says as below: Runtime Errors         BCD_NO_SIGN Short text : A packed number contains no sign. What happened? : Error in the ABAP Applic

  • Which Airplay speakers are reliable?

    I have two Bose SoundLink Air speakers. Often AirPlay can connect, sometimes not. And when not, it's the same for iTunes and for iOS: a long wait and then nothing. I also have a Denon AVR-X4000. Same story. Chance of successful connection is about 4

  • How Far Does Lid open Macbook Retina 15

    Hi there Well my 3 year old son decided to jump on my 15" retina Pro and I think that he may have broken the stops that limit how far you screen can open I could be paranoid but can anyone confirm if this is the case ? My screen goes so far back  I j

  • Logic required to count no of fecodes for a car

    Hi,     Kindly help me in deriving a logic for the below issue.     I have 3 internal tables with data...     itab1 contains 1 field (FECODE) and values are for eg: 11, 12, 13, 14, 15....     itab2 contains 1 field (CARTYPE) and values are for eg: PA

  • Customise Tool Tip Message

    Hi All, I have a Date Component on my page and basically I am trying to Disable the Saturadays and Sundays from the Calender which I did using the disabledDaysOfWeek attribute. By doing so, I am getting a default tool tip message (in Bold) that says