Does import page function really works

I 'm trying to import a page from an application into another one. The two application are in the same wroksapce. Each time I try the import I get this error message
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_020000.WWV_FLOW_PAGE_PLUGS_PK) violated <pre>declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=&gt; 30908269848226167 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_page_id=&gt; 85, p_plug_name=&gt; 'Controle', p_plug_template=&gt; 30914950155248874
Error installing page.
Return to application.
Is this functionnality really work or is it just there for fun ??

It works, but only when you export from the same application. It may be useful if you only modify a single page in your development environment, and want to import that into production. That way you dont need to import your entire application.
Here is the message you get if you try to import from an application with a different ID or workspace:
This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application.
So they must have the same application id to work

Similar Messages

  • WRT54GC - Does the DHCP Server really work?

    Hi everyone,
    Im new to this forum so i dont know if this problem has been discussed before and is there any solution to it.
    I own a WRT54GC since January 2007 and have had no problems since then, but recently I found out some issues about the DHCP server on this unit:
    This is what i have on the network for you guys to understand my network setup:
    Cogeco Cable Modem for the internet (Im located in Canada), Linksys WRT54GC router, One Trendnet File/Print Server for my USB all in one Lexmark printer, and external hard drive, and an Acer laptop.
    The network works perfectly (wireless internet, wired internet, printing, file transfer) except for the following DHCP issue:
    DHCP server does not update the IP address of my laptop even if in the router settings i assign 5 mins or any minuites to the lease time of the IP address and I keep my laptop on and connected to the router either wireless or wired.
    The router has been enabled for DHCP and can assign the IP address automatically to my laptop upon powerup. I also have allocated 6 users for DHCP and starting IP at 192.168.1.101 which means that the range is from 192.168.1.101 to 192.168.1.106
    When I check who's connected to the network, I see that my lap is connected to it and the expiry of the lease time is given. I can also see that if the lease time is set to 5mins then it down counts until zero and it defaults to some wiered number after the time is over and doesnt change the IP address of my laptop. Looks like a bug in the DHCP server software. The above was tried when using the wireless connection.
    When I connected the laptop using the ethernet cable to the router (wired connection) a somewhat similar behaviour but instead if I set a lease time of 5mins or any other mins, the server does not recognize this and defaults it to a lease time of a day (similar to setting 0).
    I have configured my laptop for DHCP so I dont think there is anything wrong with my laptop but I do feel that the DHCP server on this WRT54GC is working abnormally.
    Any suggestions?......Try it out first and see if you have the same problem.
    If you dont than i will be glad if you could tell me how you were able to make it work!
    Cheers.
    (Edited post for guideline compliance. Thanks!)
    Message Edited by JOHNDOE_06 on 10-08-2007 11:26 AM

    Thanks for your reply. Im not looking forward to change my IP address every 5 mins. My question is more related the functional behaviour of the DHCP server. With all the proper settings (and I belive I have done the settings correctly), the DHCP server should update the IP addresses of any computer on the network after the lease period ends and provided the computer was on for the time the lease period is valid and not shut off. Even if I use the default lease setting of a day, it still does not change the IP address if I keep my laptop on for more than a day or so. I feel that the DHCP server is not functioning as it should. I dont really need to change my IP address and Im happy if it doesnt change, but I came across the abnormal behaviour when I was going through the setup. I just thought I should try to see how the DHCP server on this unit works and to see that it was not working as it should I thought I should ask someone on the community forum to see if this is really a normal behaviour or has linksys distributed a faulty product. My network works fine and Im the only user so Im not concerned about security. Im using WEP. To answer your other questions: There is no specific reason as to why I chose to limit DHCP to 6. I think 6 is good enough for me and as no one else is using my network I think 6 is an enough number for DHCP server to assign an unused IP address to my laptop after the lease period expires. I believe I dont need 50. The reason why I used 5 mins as lease time is because I wanted to test the DHCP server. 5 mins is short and I can wait and monitor to see if my IP address gets updated. Waiting for a day will be overkill for the simple test. Did you try it on your router? I'd be interested to know how it worked for you if it really worked. Thanks for you help!

  • Why does the sum function not work when I try to add a column of decimal numbers?  The value is always returned as 0.  No problem with whole numbers but decimals do not work!

    just bought a MacBook Air and using Numbers to make a spreadsheet for financial purposes.  The sum function is working ok for whole numbers but when I try to sum a column of 2 decimal place numbers the result always comes back as 0.  Can anyone help?

    Hi laura,
    I suspect that your 2 decimal place numbers are formatted as text. Change the format of the column to currency and see it that works.
    Also You might want to update your profile to reflect your current systems!
    quinn

  • HELP ~ Does disputing credit reports really work?? Nervous!!

    Hi Guys,I'm working on my husband's and my credit.  I'm drafting a dispute letter found on the MY Fico site and well, I'm a bit nervous!   I'm hoping to get all the collections removed because of errors and the misrepresentation of reporting as Factoring companies and they are in fact Junk Debt Collectors! Debt was purchased after the charge off happened!
    I could use a bit of help with what I've found.  I'm stuck on how to dispute or if it's worth the time to do so.  Thanks for any help. One Collections is with Calvary (has 1 Cap One account) because the DOFD is wrong and the last time they updated on his report was in May 2015.  I don't really want to get them to report again! LOL  The other Collector PRA has 2 Cap One accounts and doesn't include a DOFD!  Also I noticed on the Cap One charge offs they have the last DOFD wrong on all 3! Last Payment made 12/15/2011 on payment history box it's Jan 2012 OK Feb 2012 30days late. 2 other CAP ONE Accounts have the Last Payment on 6/28/2012 and in payment history box it's July 2012 OK Augst 2012 30days late,
    Plus for Fingerhut, the Date of last payment is July 12, 2012 and in pay history it has 9/12/12 OK 30 day late October 2012 then Nov and Dec with N/R and Jan 2013 120 days late then FEB N/R then Charge off in March 2013.   

    Hello lookn_glas_shrd,
    I think the majority of us have been in the position you're in, and I would like to help you with your situation. The amount of information I am able to see depends on how long it has been since the service was disconnected. I would have to access your account information. I assure you that I am an employee of Verizon Wireless. Please send me a DM (Direct Message) with your name and your mobile number, as well as the zip code of your billing address. If I cannot view the necessary information, I can assist by pointing you in the right direction. Once I see the account, I will be able to gather the necessary data and provide you with 100% information. More importantly, you will be provided with peace of mind in knowing exactly what's going on and how we can resolve this together.
    I look forward to hearing from you!
    Best regards,
    Christina B
    VZW Support
    Follow us on Twitter @VZWSupport

  • How does the SetDefaultReport Method really work?

    I've looked in the forum and can't find the answer in enough detail for me to understand it.
    I need to create a new print button on a system form (delivery notes) and when the user presses it, I need to change the default report for the user/bp combination on the screen, invoke the print button, then return the user's records in the RDFL table back to what they were before I made a change.
    I have it working so that everything up to the changing things back is fine. (Although if the user doesn't have any defaults already, then I have to set the same default twice, because the first set assigns the system values, even though I assign a reportcode, layout code, card code and user id).
    But the main problem is if the user/bp combination did not have a default specified in RTYP before I made my change, then I can't get rid of my default record in that table, so the next time the user goes to print via the system print button, hoping to get the system default, my default report is going to print instead and that's not what they want.  Whew!
    Is there some place on the website that might explain this process in some detail?  For instance, why are their records in this table with a negative userid number & what does that mean?  Why does the user need to be a super user for me to do this via the DI but they can do it through the application without being a SU?
    I'd really appreciate any insights, and thank you.

    Hi Rasmus,
    In regards to your trouble getting the default report so that you can set it back when your done, I think I've gotten that figured out.  It appears to me that GetDefaultReport always returns the original default for a document that is used (from the RTYP table).  This is regardless of user/customer.  What I'm doing is looking in  RDFL by user & customer for any specific default and use it if found.
    If not found, then I use the getreportdefault & assign it to that user/customer.  This puts a record in RDFL which is not the way the system would do it (It would delete the record, I believe), but it seems to have the same effect.
                'get current default report for this user for delivery docs
                ReportCode = "DLN2"
                rs.DoQuery("Select dfltreport from rdfl where userid = " & USERID & _
                        " and doumntdode = '" & ReportCode & "' and cardcode = '" & cardcode & "'")
                If Not rs.EoF Then
                    HoldLayout = rs.Fields.Item(0).Value
                    'otherwise use the system default
                Else
                    'get report layout service
                    oReportLayoutService = oCmpSrv.GetBusinessService(ServiceTypes.ReportLayoutsService)
                    'get report params
                    oReportParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiReportParams)
                    'Load the key for the default report
                    oReportParams.ReportCode = ReportCode
                    oReportParams.UserID = USERID 'This doesn''t seem to work. Changing user doesn''t change results
                    'get the default layout of the specific document (delivery note)
                    oReportParaDefault = oReportLayoutService.GetDefaultReport(oReportParams)
                    HoldLayout = oReportParaDefault.LayoutCode
                End If

  • Edit Page Functionality not working in SP2013

    We are taking over a SharePoint 2013 development project which we believe was originally done with SharePoint 2010 and mabe customized with SharePoint Designer 2010 and now that we are to modify and or correct some of the other consultants pages in SP2013
    now we can not directly edit the page within the SharePoint environment. The Edit Page button does nothing but blink when clicked on.
    Larry Stupka

    Check your ULS logs. It might be throwing some error in your ULS logs related to this behavior. 
    Amit

  • Personalize Web Page Functionality not working

    Hi,
         When we personalize a web page it creates a bookmark id in the ODS 0PERS_WTE.  The only problem is when we reaccess the web page we do not get the bookmark, but we end up getting the query the way it was originally. We have the template set for personalization!
    Can anyone help?  We really think the page should come up the way we set it when we selected "Personalize web Page" in the context menu...

    Never mind..  You just add "USE_PERSONALIZATION=X" to the URL...
    Thanks!

  • Does "erase when connecting" really work?

    A few weeks ago, my MacBookPro got stolen :-((
    Of course, I had registered it with 'Find My iPhone', and, immediately after it got stolen , I requested in 'Find my iPhone' an erase as soon as it would connect to the internet.
    However, so far, iCloud reports that it has not yet connected to the internet.
    So I was wondering, whether that feature actually works, or whether it is possible to circumvent the erase.
    Is it possible to change the serial number of a Macbook ?
    Or is it possible to connect it to the internet such that Apple cannot erase it?
    Best regards,
    Gabriel.

    Hi GabrielZ,
    Very sorry to hear you had your macbook pro stolen !
    All I can say is that I heard the "erase when connected" Does Work !
    Good luck with everything

  • How does connection to host really work?

    I've been trying to debug this myself, but there seems to be a missing piece, and I'd like some help understanding the components and sequence of the process.
    My immediate issue is, how do I get past the"ORA-12170: TNS:Connect timeout occurred" error shown below? It seems that hostname "hcm" is recognized as valid but then points to nowhere.
    Environment: Windows 2000, Oracle 10g rel 2, localhost (IP starts with 127), MS loopback adaptor (IP starts with 192), computer name dimension4100, primary dns suffix ora.newmiddleclass.com, database name (same as SID) is hcm.
    etc\hosts file:
    127.0.0.1 dimension4100.ora.newmiddleclass.com localhost
    192.168.255.255 dimension4100.ora.newmiddleclass.com dimension4100
    192.168.255.255 dimension4100.ora.newmiddleclass.com hcm
    192.168.255.255 dimension4100.ora.newmiddleclass.com hcm2
    192.168.255.255 dimension4100.ora.newmiddleclass.com hcm3
    192.168.255.255 dimension4100.ora.newmiddleclass.com no-tns
    I'm trying to connect via sqlplus with this syntax:
    sqlplus SYS/pw@hcm
    ORA-12154: TNS:could not resolve the connect identifier specified
    when I try to connect via @ using anything other than localhost or dimension4100 or a host name specified in the hosts file.
    - Implies that this is the first step in the process
    ...so using host string @hcm as shown above avoids the 12154 error. Next, one of two things happens:
    ORA-12541: TNS:no listener
    Only with localhost or dimension4100. e.g.
    sqlplus SYS/pw@dimension4100
    - or -
    ORA-12170: TNS:Connect timeout occurred
    Only with hostnames that are mapped to 192 in hosts file (except for dimension4100). Doesn't matter if the hostname is in tnsnames.ora. e.g.
    sqlplus SYS/pw@hcm
    sqlplus SYS/pw@hcm2
    sqlplus SYS/pw@no-tns ("no-tns" is not defined in tnsnames.ora)
    Note:
    - I've verified that the hosts and ora files I've edited are really the files that the system is reading.
    - I can ping any hostname in the hosts file and get the correct IP address.
    - I can connect via sqlplus / as sysdba
    - I have to start the listener manually via lsnrctl start. It listens via protocol tcp on the loopback IP (192) on port 1521, as well as protocol ipc (EXTPROC1ipc)
    - lsnrctl services:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 29-SEP-2008 09:22:40
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    (Is this a problem? Should it be using the TCP protocol?)
    - Services via control panel:
    (started)
    OracleOraDb10g_home1iSQL*Plus
    OracleOraDb10g_home1TNSListener
    OracleServiceHCM
    (disabled)
    OracleJobSchedulerHCM
    - tnsnames.ora:
    HCM3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OracleServiceHCM)
    HCM2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ...so....how do I get past the"ORA-12170: TNS:Connect timeout occurred" error?
    Thanks.

    Ok Justin, so you're saying that because I hard-coded the IP address in tnsnames.ora, the etc\hosts file is not used for the connection. My current entry for hcm is:
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    I changed that to
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM)
    I also tried
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM)
    (SID = HCM)
    and
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    (SID = HCM)
    also trying hcm in lower case, but in all scenarios I got the same error:
    ORA-12170: TNS:Connect timeout occurred
    And I tried vetris' suggestion re telnet (not ping) on both IP addressess and I get error:
    Could not open a connection to host on port 1521: Connect failed

  • How does the Identity Column really work?

    I am having an issue with an application using SQLServer 2008. My app has a class called SalesInvoice. I use ADO and VB6 for my app.
    The Index value for the record is the "Sales Invoice Number" which was created as an Identity_Spec with an increment of one. It was created using SSMS. It is set as the Primary Key and is Unique. It is a bigint data type.
    I have discovered in Microsoft documentation that the identity increment might get lost.  (See the quote copied form the help file.)
    "The identity property on a column does not guarantee the following:
    Uniqueness of the value – Uniqueness must be enforced by using a
    PRIMARY KEY or UNIQUE constraint or
    UNIQUE index.
    Consecutive values within a transaction – A transaction inserting multiple rows is not guaranteed to get consecutive values for the rows because other concurrent inserts might occur on the table. If values must be consecutive then the transaction
    should use an exclusive lock on the table or use the SERIALIZABLE isolation level.
    Consecutive values after server restart or other failures –SQL Server might cache identity values for performance reasons and some of the assigned values can be lost during a database failure or server restart. This can result in gaps in the
    identity value upon insert. If gaps are not acceptable then the application should use its own mechanism to generate key values. Using a
    sequence generator
    with the NOCACHE
    option can limit the gaps to transactions that are never committed.
    Reuse of values – For a given identity property
    with specific seed/increment, the identity values are not reused by the engine. If a particular insert statement fails or if the insert statement is rolled back then the consumed identity values are lost and will not be generated again. This can result
    in gaps when the subsequent identity values are generated."
    There is no issue with consecutive values within a transaction, although each invoice is written out in a transaction, as it is paired with Sales Line detail records. They are linked using the Sales Invoice Number.
    The issue comes in with the line " udtProps.InvoiceNumber = .Fields("Invoice Number")" as this is the property that returns the sales invoice number to the app that is used to actually print the invoice.
    My problem is with the 3rd bullet point from the help file. "Consecutive values after server restart or other failures ", particularly the "Other Failures" as they are not defined.
    I have pasted the sub from the class that actually persists the record, below. It includes the Error handler routine. Ia particularly concerned that the case of the Database record lock conflict error might be one of the "Other Failures" described
    in the help file above. In at least One occasion, the invoice printed with an invoice number of 690172, but was written to the database with an invoice number of 690175.
    If anybody has an in depth understanding of when the identity spec invoice number is set, returned and incremented, please help. Is it the first time the update is tried, or when the update command completes successfully?
    Private Sub Save()
        On Error GoTo ErrorHandler
        iRecLockReTry = 0
        Dim rs As ADODB.Recordset
        Dim sSQL As String
        Set rs = New ADODB.Recordset
        sSQL = "SELECT * FROM [Sales Invoices] "
        sSQL = sSQL & "WHERE [Invoice Number] = " & udtProps.InvoiceNumber
        If cnCompany.State = adStateClosed Then
            cnCompany.Open
        End If
        With rs
            .ActiveConnection = cnCompany
            .CursorLocation = adUseClient         
            .CursorType = adOpenDynamic
            .LockType = adLockPessimistic
            .Open sSQL
        End With
        If bNew Then rs.AddNew
        With rs
          ... (Values set here)
            .Update
            If bNew Then
                ' update ID property similar to below when adding record for first time
                udtProps.InvoiceNumber = .Fields("Invoice Number")
            End If
            .Close
        End With
        Set rs = Nothing
        Exit Sub
    ErrorHandler:
        If Err.Number = otErrorDBUpdateConflict Then
    '        Err.Raise 61002, sClassName, "Another user has updated this record while you were looking at it. You will have to recall the record and re-enter your changes."
            objError.ErrorHandle ERROR_CLASS_ID, otGeneralUpdateConflict, otErrorWarning
            'The way we are handling things I can't see how we would ever get this error. But Microsoft has it in as an error so it must be possible...
        ElseIf Err.Number = otErrorDBRecordLockConflict Then
            While iRecLockReTry < otErrorConstRecordLockRetry
                iRecLockReTry = iRecLockReTry + 1
                rs.Requery
                Resume
            Wend
    '        Err.Raise 61001, sClassName, "Another User has this record Locked. Do you wish to Continue trying to update?"
             objError.ErrorHandle ERROR_CLASS_ID, otGeneralRecordLockConflict, otErrorWarning
       ElseIf Err.Number = otErrorDBDuplicateIndex Then
    '        Err.Raise 61003, sClassName, "Unable to update this record because one of the fields has a duplicate index conflict. Please resolve the issue and try again."
             objError.ErrorHandle ERROR_CLASS_ID, otGeneralDuplicateIndex, otErrorWarning
        Else
    '        Err.Raise Err.Number, sClassName & "." & "Save", Err.Description, Err.HelpFile, Err.HelpContext
             objError.ErrorHandle ERROR_CLASS_ID, otGeneralUnexpectedDatabaseError, otErrorFatal
        End If
    With women, the TRUTH will not only NOT set you free, it will cause you a great deal of trouble.

    What OS do you use?
    There was an issue in the past with XP..
    ADO Recordset AddNew/Update Identity Problem.
    So run
    SQL Profiler to check what's going on.

  • Does the LAN port really work for wired internet?

    Ok. So I've seen this question asked, but nobody ever seems to come back and say "great, it worked!". If I have my AEBS connected to my DSL modem via the WAN port, Set up with my PPPOE info and set to distribute IP addressess and WDS on, can it also distribute to my desktop via the LAN port. I've seen many yeses, but I can't get it to work. The iMac also has an Airport card, and both it and my MAcBook can get to the internet fine. Also, if I set up the iMac for ethernet and connect it directly to the DSL modem (with the PPOE info in the iMac), it can also connect no problem. However, if I set the iMac up for ethernet and to get it's info via DHCP, and connect it to the AEBS LAN port, it doesn't even show an ethernet cable is connected. This leads me to believe that the LAN port is disabled in whatever config I have going with the AEBS. Any help would be great. Thanks.

    FYI, after further testing, it appears my port is loose? If I hold the cable and press firmly into the LAN port, I get a connection. if I let go of the cable, I lose it. So, if I bend the cable under the unit and scotch tape it in place... no problem. It is a refurb unit. Oh well.

  • How does 1Web Personal Domain really work with MobileMe?

    I'm reading the steps of iMap and the author says "If you domain forward or mask to your .Mac (MobileMe) address, please always use the .Mac (MobileMe) address and not your own domain!" It seems to me that anyone who registers a personal domain name must domain forward or mask. If these instructions are correct, how would one's own domain name ever appear?

    It seems to me that anyone who registers a personal domain name must domain forward or mask.
    That's not correct. iWeb's personal domain feature is designed to use CNAME pointing.
    http://iwebfaq.org/site/iWeb_Domains.html

  • Does the Viber app really work?

    I live in SA and have family living overseas. It would be great to be able to phone them at no cost!

    No.  The description says Compatible with iPad. Requires iOS 3.2 or later.  It would say iPot Touch if it  was compatible.

  • Crystal Report for VS2010 - The Go To Page function does not work

    When running a report into Crystal(VS2010), the Go To Page function does not work.  Typing in a page number and pressing Enter does not take you to that page.  The report remains on the current page. I'm not sure if there is suppose to be a button like the one in Crystal 8.5(VS2008).

    As long as you are using the CR assemblies for VS .NET, the viewer (Win) should look like this:
    Remember, the ActiveX viewer based on the Report Designer Component (RDC, referencing craxdrt.dll) is not supported in VS 2010.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • %@ page import="..." % does not seem to be working correctly

    Hi,
              I am running Weblogic 6.1 sp1 and I am having a problem with import page
              directive. <%@ page import="my.package.*" %> does not appear to be working
              correctly when I try to reference classes in imported packages (my.package,
              etc.) from the useBean tag.
              The following code works with Resin, but not Weblogic:
              <%@ page import="my.package.*" %>
              <jsp:useBean id="errorBean" class="ErrorBean" scope="request"/>
              If, I take out the page directive, and change the useBean tag to:
              <jsp:useBean id="errorBean" class="my.package.ErrorBean"
              scope="request"/>
              then the page compiles and runs just fine.
              Michael
              

    Here's a snippet from Sun's j2ee tutorial
              (http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPBeans4.html):
              <jsp:useBean id="beanName"
              class="fully_qualified_classname" scope="scope"/>
              But I agree with you, the excerpt you posted seems to include the
              useBean tag, which is misleading.
              Nils
              Michael Hill wrote:
              >
              > I don't think this is the way it is "supposed" to be. Here is an excerpt
              > from the JSP Syntax reference on http://developer.java.sun.com
              > on the page directive:
              >
              > import= "{ package.class | package.* }, ..."
              > A comma-separated list of one or more packages that the JSP file should
              > import. The packages (and their classes) are available to scriptlets,
              > expressions, declarations, and tags within the JSP file. You must place the
              > import attribute before the tag that calls the imported class. If you want
              > to import more than one package, you can specify a comma-separated list
              > after import or you can use import more than once in a JSP file.
              >
              > ---
              >
              > It says the packages are available to tags within the JSP file as long as
              > you place the import before the tag that calls the imported class. In my
              > case, I am placing the import before the <jsp:useBean> tag.
              >
              > Michael
              >
              > "Nils Winkler" <[email protected]> wrote in message
              > news:[email protected]...
              > > I'm pretty sure that you have to specify the fully qualified class name
              > > in the useBean tag. import won't help you here.
              > >
              > > Nils
              > >
              > > Michael Hill wrote:
              > > >
              > > > Hi,
              > > >
              > > > I am running Weblogic 6.1 sp1 and I am having a problem with import page
              > > > directive. <%@ page import="my.package.*" %> does not appear to be
              > working
              > > > correctly when I try to reference classes in imported packages
              > (my.package,
              > > > etc.) from the useBean tag.
              > > >
              > > > The following code works with Resin, but not Weblogic:
              > > >
              > > > <%@ page import="my.package.*" %>
              > > > <jsp:useBean id="errorBean" class="ErrorBean" scope="request"/>
              > > >
              > > > If, I take out the page directive, and change the useBean tag to:
              > > >
              > > > <jsp:useBean id="errorBean" class="my.package.ErrorBean"
              > > > scope="request"/>
              > > >
              > > > then the page compiles and runs just fine.
              > > >
              > > > Michael
              > >
              > > --
              > > ============================
              > > [email protected]
              ============================
              [email protected]
              

Maybe you are looking for