Custom taglib support in Java Studio Creator (JSP-mode)?

I want to use jstl-1.1 taglib in my project. - to do that I need to write:
<jsp:root version="1.2" xmlns:c="http://java.sun.com/jsp/jstl/core" ...>but when I have done so I didn't found any support for jstl in jsp-mode of Java Studio Creator. I have to manually type all jstl's tags and their attributes.
What I should do to switch on that support?

All problems have solved - I only restarted IDE. :-)

Similar Messages

  • How to get the client's IP address from within Java Studio Creator JSP/Java

    Hi there.
    I just started using the Java Studio Creator 2 and now I need to get hold of the client IP address - this should be part of the request, but I cannot fint the right way to get hold of that information. I want to be able to access this information from within the Java-code in a JSP/JSPF-page.
    Is there a new way of doing:
    request.getRemoteAddr();
    This is the way I remember it from the JSP/Servlet-days...
    Sincerely,
    - Oystein Saebo -

    javax.servlet.http.HttpServletRequest req = (javax.servlet.http.HttpServletRequest) getExternalContext().getRequest();
    req.getRemoteAddr();

  • Directory JFileChooser for Java Studio Creator

    Hello,
    I need a way to browse and select directories from my Java Studio Creator JSP pages. The only thing I can find is the multipart form file upload stuff. But that does not allow me to just pick a directory. Does anyone know of any way to do this?
    Thanks,
    Jeff

    An applet can.
    I made one to allow unlimited fileuploads(at the same time) to the server. I know you can buy them but hey, it was fun.
    Jonathan.

  • Some Questions about Sun Java Studio Creator IDE

    I am quiet new to the IDE, but I experienced some
    behaviours I do not actually understand.
    I hope I can get some help here.
    Sun Java Studio Creator Update 9
    Each time I change the font size and type using the
    "Advanced" option of the IDE the font I changed correctly.
    But after closing and restarting the IDE the fonts are set
    back to the default undoing my changes.
    Is there a way to use code completion for the jsf tags within jsps ?
    I know that there are code clips for adding jsf components to the jsp,
    but (coming from eclipse ide) I'd appreciate a feature like the code completion for the jsf components. If there is a way by configuring, how can that be acchieved ?
    Trying to add a "taglib declaration" to the jsp e.g. "<%@taglib uri="..." prefix="..." I get the warning that the tags of the xml must be welformed.
    How can I add those taglib declarations correctly ?
    Using the "File System View" after each change made e.g. to a jsp the
    tree collapses and I have to navigate to the tree again to find my resources.
    Is this common behaviour or to be configured ?
    Thx for any support.

    Hi,
    1. The changes made to the font size and type are indeed getting reset in Creator update 9. However this behaviour is not seen in the latest version of Creator which is Creator 2 EA 2. The final version of this will be available very soon and we encourage you to try the new release which has lot more features and lot of bug fixes. For more details please visit:
    http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/
    The following thread will explain about the tags and how they should be well formed:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=47615
    The behaviour of the File System View was encountered in Creator update 9 as you have mentioned. Once again this behaviour was not see in the latest version Creator 2 EA 2.
    So we recommend you to try out the latest version.
    We appreciate your valuable feedback and thank you for the same.
    Cheers
    Giri

  • How to create frames ...!  in sun java studio creator

    Hello Every One,
    How to create a frame set in java studio creator ...!
    I prefer to run my entire applicaion on a window which comes out as a frame set, rather open in a browser. How to do that ...! if some one knows it help me out.
    Basically this is what i am trying to do.
    in my web page or frame i have an list box on the left
    based on the values selected in the list the information is displayed on the right which has bunch of text boxes.
    through me an idea how to do this using Sun Java Studio Creator.
    Thanks
    Senthil

    As of 1.0 Creator doesn't support creating HTML frames via the designer. However, it may be possible to edit the JSP source to include one by hand.
    Have you tried Page Fragments?
    - WInston

  • Error installing sun java studio creator

    I have downloaded the installable for sun java studio creator 2 update 1 for windows platform. I am unable to install the package. Following is the error Iog I get, when used in debug mode(Notice the last part ErrOut indicating the error). What is going wrong ?
    file type: 0
    file id: 0
    length: 178
    offset: 319579
    file name: instructions.txt
    file type: 5
    file id: 1
    length: 1009
    offset: 319757
    file name: Verify.jar
    file type: 2
    file id: 2
    length: 729
    offset: 320766
    file name: launch.txt
    file type: 4
    file id: 3
    length: 16766119
    offset: 321495
    file name: Windows-Sun-1.4.2_04.exe
    file type: 6
    file id: 4
    length: 249333158
    offset: 17087614
    file name: windows.jar
    Executing launch script command: "C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp/bin\java.exe" -cp "";"C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE6.tmp\windows.jar";"" -Dtemp.dir="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp" -Dis.jvm.home="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp" -Dis.jvm.temp="1" -Dis.media.home="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE6.tmp\windows.jar" -Dis.launcher.file="D:\installables\Java Studio Creator\creator-2_1-windows-ml.exe" -Dis.jvm.file="C:\DOCUME~1\JATINK~1\LOCALS~1\Temp\LRE5.tmp\jvm" -Dis.external.home="D:\installables\Java Studio Creator" -Xms20m -Xmx60m run in working directory D:\installables\Java Studio Creator
    Output from the launch script execution
    StdOut:
    ErrOut:
    Assertion failed: errno == 0 && count == (size_t) size, file ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp, line 506
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    Hi,
    Which version of windows are you using? which jdk? Did you have any conflicting products installed earlier.
    have you checked the install faqs?
    http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/index.jsp
    Thanks
    K

  • Webboard project using sun java studio creator 2

    I would like to create a simple webboard using Sun Java Studio Creator 2. In the View Topic page, there are a subject and a message creator by the owner of the subject. Then there are messages reply by others. I use Table component to list all the messages. I put a Static Text and a Text Area component in a group panel. And put a group panel in a Table Column. I bind the the reply message with the Text Area.
    My problems are...
    1. The Text Area have the same value for every row.
    2. I changed the Text Area to Static Text. The binding is successful. However, it cannot display multiline message. Please suggest a component that is more suitable to bind the variable lines message. I would like each row to have different height depending on the length of the message.
    My jsp is as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <ui:page binding="#{ReadTopic.page1}" id="page1">
                <ui:html binding="#{ReadTopic.html1}" id="html1">
                    <ui:head binding="#{ReadTopic.head1}" id="head1">
                        <ui:link binding="#{ReadTopic.link1}" id="link1" url="/resources/stylesheet.css"/>
                    </ui:head>
                    <ui:body binding="#{ReadTopic.body1}" id="body1" style="-rave-layout: grid">
                        <ui:form binding="#{ReadTopic.form1}" id="form1">
                            <ui:staticText binding="#{ReadTopic.staticText1}" id="staticText1" style="left: 120px; top: 24px; position: absolute"/>
                            <ui:messageGroup binding="#{ReadTopic.messageGroup1}" id="messageGroup1" style="position: absolute; left: 432px; top: 24px"/>
                            <ui:staticText binding="#{ReadTopic.staticText5}" id="staticText5" style="left: 120px; top: 72px; position: absolute" text="#{ReadTopic.topicGetNameDataProvider.value['topic.Owner']}"/>
                            <ui:staticText binding="#{ReadTopic.staticText6}" id="staticText6" style="left: 120px; top: 120px; position: absolute" text="#{ReadTopic.topicGetNameDataProvider.value['topic.Subject']}"/>
                            <ui:label binding="#{ReadTopic.label1}" id="label1" style="position: absolute; left: 24px; top: 24px" text="Topic No:"/>
                            <ui:label binding="#{ReadTopic.label2}" id="label2" style="position: absolute; left: 24px; top: 72px" text="Owner:"/>
                            <ui:label binding="#{ReadTopic.label3}" id="label3" style="position: absolute; left: 24px; top: 120px" text="Subject:"/>
                            <ui:button action="#{ReadTopic.button1_action}" binding="#{ReadTopic.button1}" id="button1"
                                style="left: 23px; top: 168px; position: absolute" text="Reply"/>
                            <ui:table augmentTitle="false" binding="#{ReadTopic.table2}" id="table2" style="left: 24px; top: 216px; position: absolute; width: 0px" width="0">
                                <script><![CDATA[
    /* ----- Functions for Table Preferences Panel ----- */
    * Toggle the table preferences panel open or closed
    function togglePreferencesPanel() {
      var table = document.getElementById("form1:table2");
      table.toggleTblePreferencesPanel();
    /* ----- Functions for Filter Panel ----- */
    * Return true if the filter menu has actually changed,
    * so the corresponding event should be allowed to continue.
    function filterMenuChanged() {
      var table = document.getElementById("form1:table2");
      return table.filterMenuChanged();
    * Toggle the custom filter panel (if any) open or closed.
    function toggleFilterPanel() {
      var table = document.getElementById("form1:table2");
      return table.toggleTableFilterPanel();
    /* ----- Functions for Table Actions ----- */
    * Initialize all rows of the table when the state
    * of selected rows changes.
    function initAllRows() {
      var table = document.getElementById("form1:table2");
      table.initAllRows();
    * Set the selected state for the given row groups
    * displayed in the table.  This functionality requires
    * the 'selectId' of the tableColumn to be set.
    * @param rowGroupId HTML element id of the tableRowGroup component
    * @param selected Flag indicating whether components should be selected
    function selectGroupRows(rowGroupId, selected) {
      var table = document.getElementById("form1:table2");
      table.selectGroupRows(rowGroupId, selected);
    * Disable all table actions if no rows have been selected.
    function disableActions() {
      // Determine whether any rows are currently selected
      var table = document.getElementById("form1:table2");
      var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
      // Set disabled state for top actions
      document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
      // Set disabled state for bottom actions
      document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
    }]]></script>
                                <ui:tableRowGroup binding="#{ReadTopic.tableRowGroup2}" id="tableRowGroup2" rows="10"
                                    sourceData="#{ReadTopic.topicdetailDataProvider}" sourceVar="currentRow">
                                    <ui:tableColumn binding="#{ReadTopic.tableColumn4}" id="tableColumn4" width="80%">
                                        <ui:panelGroup binding="#{ReadTopic.groupPanel1}" id="groupPanel1" style="height: 94px; width: 238px">
                                            <h:panelGrid binding="#{ReadTopic.gridPanel1}" border="0" columns="2" id="gridPanel1" width="100%">
                                                <ui:label binding="#{ReadTopic.label4}" id="label4" text="No:"/>
                                                <ui:staticText binding="#{ReadTopic.staticText11}" id="staticText11" text="#{currentRow.value['topicdetail.No']}"/>
                                                <ui:label binding="#{ReadTopic.label5}" id="label5" text="Name:"/>
                                                <ui:staticText binding="#{ReadTopic.staticText12}" id="staticText12" text="#{currentRow.value['topicdetail.Name']}"/>
                                                <ui:label binding="#{ReadTopic.label6}" id="label6" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3634;&#3617;:"/>
                                                <ui:staticText binding="#{ReadTopic.staticText10}" id="staticText10" text="#{currentRow.value['topicdetail.Message']}"/>
                                            </h:panelGrid>
                                        </ui:panelGroup>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                            </ui:table>
                        </ui:form>
                    </ui:body>
                </ui:html>
            </ui:page>
        </f:view>
    </jsp:root>

    Modify URL-PATTERN for your Faces Servlet from /faces/* to *.abc in web.xml
    change
    <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>to
      <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.abc</url-pattern>
        </servlet-mapping>hope that might help :)
    REGARDS,
    RaHuL

  • Problem with Java Studio Creator and Tomcat Server

    Hi Gays ,
    I have problem:
    here is the error from tomcat 5
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: statement handle not executed: getMetaData
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:316)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87 )
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    if i develop application on my pc ( java studio creator with sun apps bundlled) is working perfectly,
    but i migrated application to Tomcat Server ( Database the same - Oracle 10 g)
    i can't show value ( as text) from datasoruce ( is in SessionBean1)
    (Category-.>Subcat->Items->details( url from items table[items.jsp])
    this is a working url "/faces/testpage.jsp?auk_id=31 "
    ( working with sun apps server , but not on Tomcat 5)
    below prerender method in details.java and fragment of details.jsp
    public void prerender() {
    try {
    String idauk = (getExternalContext().getRequestParameterMap().get("auk_id").toString());
    System.out.println("wartosc auk_id " + idauk);
    if (idauk != null) {
    getSessionBean1().getDetailsRowSet().setObject(1,idauk);
    getSessionBean1().getDetailsDataProvider().refresh();
    details.jsp
    xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{testpage.page1}" id="page1">
    <ui:html binding="#{testpage.html1}" id="html1">
    <ui:head binding="#{testpage.head1}" id="head1">
    <ui:link binding="#{testpage.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{testpage.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{testpage.form1}" id="form1">
    <ui:staticText binding="#{testpage.staticText1}" id="staticText1" style="position: absolute; left: 120px; top: 96px" text="#{SessionBean1.testDataProvider.value['Name']}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    Help People ! Any Ideas I'm stuck, why is working with Sun Servet but not with Tomcat and only just thing ?
    Thanks in advance for helping me to resolve the night problem :)

    Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
    But i think it is not a elegant solution in page source i habe noused-code.
    Have Any another Ideas. HELP PEOPLE !!!!
    Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
    I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
    greetings

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi
    I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the project everything opens up properly in the browser and the application seems to be fine.
    But when i create a JSP 168 Portlet project and do exactly the same thing for some reason the Apache Pluto(comes as the default Portlet Container with Studio Creator) conks off.
    Then i started going ahead step by step:
    1. First i created a portletpage and added only one dataProvider(EJB) and ran the project...It gets deployed properly in Pluto and the browser comes up and everything shows up fine.
    2. Just to re-confirm i did the same thing with another dataProvider(EJB). So still we have just 1 EJB in the portlet page. As expected it also worked fiine.
    3. Then when I added more that one dataProviders(EJBs) in the porlet page the Apache Pluto conks off(saying that Pluto is not available)
    I tried doing a lot of things but nothing works...Surprisingly the same thing works when u create a JSF web Application project but the same thing does not work when u create a JSR 168 JSF Portlet Project...
    Did anybody face the same problem..Is it a bug in the Studio Creator...Any help would be highly appreciated.

    Hi,
    There are a few discussion threads in the feedbackprograms portal for Creator 2 EA 2. The URL is:
    https://feedbackprograms.sun.com/login.html
    In the EA discussion forum you will find threads which discuss the concerned topic. In specific look for threads titled:
    # Deploying Portlets
    # Taking a JSC Portlet to Tomcat creates a Faces Mapping Error
    # Problem with Pluto when trying to deploy a portlet
    # Request: JSR-168 Portlet Project without JSF
    We kindly request you to post your further queries related to EA in the above mentioned forum.
    Cheers
    Giri

  • Problems with the resources boundles in java studio creator 2

    I try to migrate a proyect from sun java studio creator 2 early access to sun java studio creator 2 but I have a problem, the resource bundle work in creator 2 early access but doesn� work in creator 2, somebody have the same problem?
    and, the most important somebody could fix the problem?
    Note. sorry I�m learning english

    If I choose for SJSC2 to create JSF applications then
    one, or better THE, reason is the (drag and drop)
    Design editor functionality.
    Using resource bundles is a MUST. So if this means I
    cannot use the Design Editor in combination with
    resource bundles, then I will use something else...
    I think there should be a statement issued by the
    SJSC2 team about this bug and what the timescale for
    a decent solution wll be.
    Regards,
    Marcel
    BTW: overall SJSC2 seems to be a good alternative to
    develop an open source JSF application in a competing
    timeframe.I agree. This bug is even more exacerbated by the fact that the error message is entered in the design form and generally clutters more room than was originally intented for the text. Not having i18n is a show stopper right now. Creator2 will have to fully support i18n before we can start using it.

  • How to change the source level in java Studio creator

    Hi,
    I am using Sun Java Studio Creator 2 Update 1 IDE, in this IDE how to change the source level to 1.5 for an existing project.
    Thanks in advance,
    Rajesh.

    Hi!
    Unfortunately Sun Java Studio Creator 2 Update 1 doesn't support 1.5 source level. But You can try to download NetBeans IDE (from http://www.netbeans.org) and there with Visual Web project You will find the same functionality as for Creator. And 1.5 source level is supported by NetBeans.
    Thanks,
    Roman.

  • Java Studio Creator error

    Hi, i'm trying to use annotation in my code, but the compiler show following error message:
    (try -source 1.5 to enable annotations)
    my jdk defaullt is jdk 1.5
    help.

    Java Studio Creator 2U1 does not support JDK1.5 constructs such as annotattions. But next version would.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • API JSF Java Studio Creator

    Hi,
    I have to maintain a webapp created with Java Studio Creator. Several pages import the following taglib : "xmlns:ui="http://www.sun.com/web/ui" and beans use classes from com.sun.rave.web.ui.* packages.
    Where can I find APIs about those components and classes?
    Regards.
    PS : my IDE is Eclipse....

    Check the Woodstock project at dev.java.net. I think that it is the same.

  • How to use print functionality in Java Studio Creator

    Hi,
    I am working on one JSF project using Java Studio Creator.
    I have requirement where I have one table and print button.
    By clicking the print button, I want the contents of table to be printed.
    I have configured all the required properties of this button but still by clicking this print button, I am not able to see the print window.
    Please help me in that, Its urgent.
    Thanks in advance.
    Vijay

    Hi,
    i think the best thing for you to do is to use javascript. go to jsp page of the form and find the button, as part of its attribute type onClick="window.print()"

  • Deploying Java Studio Creator webapps to SJSAS PE 8.1 + Oracle

    Has anybody managed to deploy Java Studio Creator webapps to Sun Application Server PE 8.1 ?
    Everything works fine in the Java Studio Creator embeded app server (8.0?), but I get the following error when I try to access the database (Oracle 9):
    [#|2005-01-25T20:33:48.642+0000|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=19;|WebModule[/smwebinterface]userView Initialization Failure
    javax.faces.FacesException: java.sql.SQLException: JDBC driver does not support PreparedStatement.getMetaData()
    I'm using the latest (9.2.0.5) oracle jdbc drivers downloaded from their webpage.
    Thanx,
    Pedro

    PreparedStatement.getMetaData() is not required to be supported by a J2EE compliant JDBC driver. This is an optional feature. I would suggest that you post on the Creator newsgroup to see if they have a workaround for you as perhaps their is a config setting.

Maybe you are looking for

  • Ipod not recognised in ITunes. My solution (try this - worked for me!)

    Hello. i had IPOD 30GB vid for Xmas and have spent 3 days surfing through info trying to find out why itunes did not recognise it! I could see it in my computer but not itunes. I tried everything - and I mean EVERYTHING. I reinstalled, rebooted, rest

  • Very slow boot and hanging after login.

    About 2 days ago I put my Mac to sleep by closing the lid. The next day, after waking it up and logging in, I opened Firefox. Then I got the beachbubble which lasted for awhile but then firefox opened. Then I closed Firefox because the beachbubble ha

  • Function module AUFBAUEN_MDPSX_ANZEIGEN

    hello all, i hope somebody could help me with this problem. we have this program which is Unicode-enabled in the development and test system. During testing in the test system, the program gets an abap dump because one of its parameters is not define

  • MM Pricing for Intercompany STO

    Hi Experts, We have a requirement from our client to configure a pricing procedure as below for the Intercompany STO process. E.g Standard = $100 Mark up = 10% Transfer Price = $110 PO pricing Dr         Inventory/COS                           $100  

  • OWSM problem in OSB 11g

    I'm running Oracle Service Bug 11gR1 PS3 (11.1.1.4). At installation I choose the domain extension options to enable for OWSM and also included EM to act as an OWSM, but in Proxy service i am not able to see policy tab. Please suggest me that any con