Frame work  problem along with tag libraries...

Hi..
I am new to jsp and am making a project in it, I am following MVC architecture but my problem is i am unable to understand all this concept of frameworks like struts, spring etc... i need some help with what they actually are..??
also i am not using any tag libraries in my project i am using simple jsp files with minimum java coding at the front end and class files at the logic layer... and then the databse layer... i want to know is it better to use tag libraries and for using them will i have to follow any particular framework.. and are these tag libraries different for different frameworks..??... will i be missing something if i don't use tag libraires or don't follow a particular framework...???

Those taglibs are particularly for the view layer of the MVC pattern. In a MCV framework you use taglibs to associate beans from the model/controller layer with the view layer. The framework will care about getting and setting the bean properties during the HTTP request-response cycle. With for example Sun JSF framework the relevant part of your JSP page would look like:
<h:form>
    <h:inputText value="#{myBean.input}" />
    <h:commandButton value="submit" action="#{myBean.submit}" />
</h:form>The JSF framework will generate this as something like<form name="someGeneratedName" method="post" action="currentPage.jsf">
    <input type="text" id="someGeneratedId" name="someGeneratedName" value="theInputValueFromMyBeanIfAny" />
    <input type="submit" id="someGeneratedId" name="someGeneratedId" value="submit" />
</form>The MyBean class would look like something as:public class MyBean {
    private String input;
    public void submit() {
        System.out.println("The framework has already set the input value: " + input);
        // You can do with this whatever you want. Eg persisting in DB:
        DAOFactory.getInstance("dbname").getSomeDAO().save(new SomeDTO(input));
    public String getInput() {
        return input;
    public void setInput(String input) {
        this.input = input;
}The average MVC framework also provides customizable Converters (convert between String for output and the desired Object type in model/controller layer) and Validators (required values, numeric values, date values, etc). Each MVC framework have its own taglibraries. For example JSF with the URI's http://java.sun.com/jsf/core and /html. Struts has another taglibs. Further on there is also the Java Standard Tag Library (JSTL) with the URI's http://java.sun.com/jsp/jstl/core, /functions and so on. Mixing of the taglibs is possible, but not always recommended. You should prefer the taglib of the framework used, but if the framework doesn't provide the tag with the desired functionality, then you can add another taglib, such as JSTL or, in case of JSF, Apache Tomahawk and JBoss Ajax4jsf.
If you want to learn more about JSF, you may find this article useful: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html].

Similar Messages

  • Which is better frame works use along with flex

    Hi,
    I am developing an hospital application, mainly includes the
    management of outpatients and in front end i am using flex but in
    back end i did not get a clear idea about which frame work has to
    use or need of a new architecture. i just need some suggestion
    which of these spring,EJB 3.0 and Jboss Seam is better for back end
    implementation.
    Thanks and Regards
    kumar

    Hey kumar ,
    I don't have experience with a lot of frameworks but I am
    using Blaze-DS + Spring with deployed under glassfish.
    I think you biggest problem here is how to make the frontend
    pluggable, extensible and easy to maintain.
    I do make all single screens as single modules. and each
    module have it's own java class to do the work + some java classes
    for general perpose.
    Teh whole thing is build in ANTS and using jnit as a testing
    framework for java. I don't have anything yet to do automated UI
    testing.
    Ries

  • Problem using JSTL tag libraries with OC4J 9.0.3

    Hi
    I'm using the JSTL tag libraries with OC4J 9.0.3. I'm using JDeveloper10.1.2. I put the fmt.tld and c.tld in the WEB-INF directory and I'm adding the jstl.jar and standard.jar library to the EAR file. Both tlds have:
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    And OC4J 9.0.3 is compatible with tlib version 1.0 and jsp version 1.2. When I run the web app I get:
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt"%>
    Error: oracle.xml.parser.v2.XMLParseException ( /dataSource.jsp ):
    line #:1 column #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    line #:2 column #:18 : Attribute 'xmlns:xsi' used but not declared.
    line #:3 column #:19 : Attribute 'xmlns:acme' used but not declared.
    line #:4 column #:27 : Attribute 'xsi:schemaLocation' used but not declared.
    line #:7 column #:16 : Attribute 'version' used but not declared.
    line #:14 column #:15 : Invalid element 'tag-class' in content of 'tag', expected elements '[tagclass]'.
    line #:14 column #:15 : Element 'tag-class' used but not declared.
    line #:15 column #:18 : Invalid element 'body-content' in content of 'tag', expected elements '[tagclass]'.
    line #:15 column #:18 : Element 'body-content' used but not declared.
    line #:16 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:18 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:18 column #:12 : Element 'type' used but not declared.
    line #:22 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:24 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:24 column #:12 : Element 'type' used but not declared.
    line #:28 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:30 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:30 column #:12 : Element 'type' used but not declared.
    line #:34 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:36 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    Any ideas?

    Hi
    Thanks for the reply.
    I tried it and I get the same error:
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    Error: oracle.xml.parser.v2.XMLParseException ( /dataSource.jsp ):
    line #:1 column #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    line #:2 column #:18 : Attribute 'xmlns:xsi' used but not declared.
    line #:3 column #:19 : Attribute 'xmlns:acme' used but not declared.
    line #:4 column #:27 : Attribute 'xsi:schemaLocation' used but not declared.
    line #:7 column #:16 : Attribute 'version' used but not declared.
    line #:14 column #:15 : Invalid element 'tag-class' in content of 'tag', expected elements '[tagclass]'.
    line #:14 column #:15 : Element 'tag-class' used but not declared.
    line #:15 column #:18 : Invalid element 'body-content' in content of 'tag', expected elements '[tagclass]'.
    line #:15 column #:18 : Element 'body-content' used but not declared.
    line #:16 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:18 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:18 column #:12 : Element 'type' used but not declared.
    line #:22 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:24 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:24 column #:12 : Element 'type' used but not declared.
    line #:28 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:30 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:30 column #:12 : Element 'type' used but not declared.
    line #:34 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:36 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.

  • JSP programming with Tag Libraries like Struts.

    Hi friends,
    I've been programming in JSP, JavaBeans for the last 1 year. However, with the current popularity of Tag Libraries & concepts like MVC, Struts am thinking of using these in JSPs. Even though I am not totally convinced about the real advantages like "No Java code" in JSP pages bcoz normally anyway most of the Java Code is done in the Javabean where my Business Logic is present.
    If any of you have previously worked on Tag Libraries please would you advice me whether it's worth it and which books & material would be best for these.
    Thanking you in advacnce.
    Cheers
    Sanjiv

    Based on my experience with using JSP tags, I would definitely strongly recommend them. If nothing else, application/project specific custom tags go a long way in facilitating development-time productivity and code maintenance.
    And ofcourse, with JSP tags you get the added advantage of the JSP container maintaining pools of instantiated tag objects so even the runtime performance is helped.
    The book Web Development with Java Server Pages by Duane K. Fields, Mark A. Kolb from Manning Publications has helped me a lot about JSP tags.
    Sun's tutorial http://java.sun.com/j2ee/tutorial/doc/JSPTags.html is also good.

  • What Web frame work to go with EJB3?

    Our coming new project dictates EJB so we plan to use EJB3. But what web frame work is best to go with EJB3? We are currently using Struts1 and EJB2 in our existing project.
    We narrowed down to Struts 1, Struts 2, JSF, and Spring MVC. Since EJB 3 is new to us, we don't know which one is best for EJB 3 integration. Anyone can share their experience? Thanks.

    I suggest you seam framefork with richfaces components, this framefork integrates JSF + EJB and based on MVC of coarse, so that framework gives you great flexibility to write good application
    for jsf UI components you can see this [http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf|http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf]
    and for seam framework [http://seamframework.org/|http://seamframework.org/]

  • Problems in using tag libraries with JRun3.1

    Hi,
    I am new to JRun app server. I have a custom tag library named download. This tag library is used to download the files from the web server.
    First i want to know, where i have to put my tag library in the JRun?
    Second is there any configuration is needed to access it thru my jsp page?
    I copy the jar file and paste it in WEB-INF/lib directory of the JRun server.
    When i access my jsp page it gives the following error:
    /test.jsp:
    javax.servlet.ServletException: Parse Error in JSP page: The taglib directive on line 1 is not valid. The tag library descriptor 'download' could not be found.
    allaire.jrun.jsp.ParseException: The taglib directive on line 1 is not valid. The tag library descriptor 'download' could not be found.
    at allaire.jrun.jsp.JSPParser.throwDirectiveException(../jsp/JSPParser.java:407)
    at allaire.jrun.jsp.JSPParser.directive(../jsp/JSPParser.java:768)
    at allaire.jrun.jsp.JSPParser.parse(../jsp/JSPParser.java:598)
    at allaire.jrun.jsp.JSPParser.writeXML(../jsp/JSPParser.java:151)
    at allaire.jrun.jsp.JSPParser.generateXML(../jsp/JSPParser.java:123)
    at allaire.jrun.jsp.JSPParser.generateXML(../jsp/JSPParser.java:67)
    at allaire.jrun.jsp.JSPServlet.parsePage(../jsp/JSPServlet.java:409)
    at allaire.jrun.jsp.JSPServlet.createServlet(../jsp/JSPServlet.java:381)
    at allaire.jrun.jsp.JSPServlet.loadPage(../jsp/JSPServlet.java:202)
    at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:169)
    at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
    at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
    at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:88)
    at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
    at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
    at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
    at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
    at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
    The jsp page contains the following code:
    <%@ taglib uri="dloadtag" prefix="do" %>
    <do:download file="Doc1.rtf"/>
    The Doc1.rtf file is in the root directory of the web server.
    Please give ur suggestions for this,
    Adv. Thanks,
    Sundar.

    There should be some tld files that came with the tag lib. These need to be placed in the web inf folder.

  • Pm-utiles problems along with some little things

    I just install Arch Linux into my Toshiba Portege M100 Laptop. I get pretty much everything working, even the FN key. And Arch runs amazingly fast on this old machine.
    However, I do encounter two problems. One of them is the suspend/hibernate problem. My laptop seem able to do both, however, it can not come back to my desktop. It seems like stop after they load everything back, and give me a black screen. There is nothing I can do but hold the power buttom to restart my computer.
    The second problem is the gnome network-manager applet. I use it with xfce, but whenever I do a save session for futrue logins, the next time I logins in there is two of them, and the next next time I login there is like 3. and so furth. here is what I set for my autostart command with with Autostart applications under setting. "nm-applet --sm-disable"
    This is not really a problem, but it kind of bothers me, and it is the action button applet. After I install a the arch linux Icon set, it becomes a little green man(I dislike that icon so much, haha) I would like it change back to the normal power button icon. which to me looks much nice. And for something even I change Icon set for the theme, it doesn't effect that action button applet.
    At last, if you have any good suggestion that I make the laptop installation better, please let me know.
    Thank you so much

    For the problems hibernating/suspending, you'll probably have to specify a "quirk" with the suspend command. Read the pm-suspend docs and google "pm-suspend quirks". You may be able to find someone else's report of successfully using the same laptop with quirk such-and-such. Else it will take some trial and error to see what works.
    For your second question: I think you're giving the right command in autostart. (Possible there should be a "&" at the end of it, but I don't think that's necessary.) You've got some problem with your saved session. To flush everything out, here's what I'd do. Completely uninstall network-manager. Log out, and log back in. Log out, saying don't save session. Log back in, Log out, saying save session. Log in and re-install network-manager. Now log out saving session again. Now test to see if your problem is fixed.
    I bet that some of the steps I just described aren't necessary, but I'm not sure which ones.
    Last edited by Profjim (2008-08-30 05:29:06)

  • Installer & software update all not working now along with safari & itunes

    hi all
    I've posted this under the safari beta for mac area (http://discussions.apple.com/thread.jspa?threadID=1148867&tstart=0) as well but as it relates to several issues, i wanted to put it here and see if anyone here at any ideas.
    yesterday i installed the new version of itunes and safari 3 beta. as i was half way through the safari installation i lost my wireless connection and had to then force quit the process. since then, my itunes, safari and software update and installer programs are not working.
    i've tried downloading previous versions of everything but when i go to install them the installer appears and then dissapears just as quickly. on top of that when i click on itunes from the dock, it bounces like it is about to load up and then stops and doesn't. finally, when i go to click on software update from System Preferences, I get an error message "Preferences Error, Could not load Software Update".
    this includes my trying to download and install the mac osx 10.4.10 combined update to 'fix' everything but as mentioned above the installer appears for a second and then dissapears again without doing anything.
    over to you all for any and all help.
    thanks in advance
    AT
    Any help would be greatly appreciated because whilst i am getting by using firefox, my little girls songs are on itunes and i need to get into them (anyone with kids will understand my pain).
    thanks
    AT

    If you downloaded the update from the phone, and using an older version of iTunes, yes that should do it.

  • Backlight problem along with a few others...ideas?

    I'm having the classic backlight issue that seems to be getting more frequent (use flashlight to save whatever I'm working on, then close the iBook, reopen, backlight is on again). It also has some issues involving power/batter (i.e. I'll shut it down, once in a while it really doesn't and the battery fully drains, the cord doesn't work in every plug-it won't take power in some, others it will).
    How much would it cost, approximately, to keep my elderly creature alive?
    I'm intending to upgrade next year, but I also only have access to some programs on this computer (i.e. Stata, don't have it for my netbook).
    I Need to get a sense if I should just upgrade now or if the cost is low enough, squeeze a few more months out of this one as my primary...thanks.

    Sorry that didn't work. I suggest that you make an appointment online at the Genius Bar and take your computer in. They will look at your computer and tell you what is wrong and what it would cost to have it repaired. If it is simple repair they will do it right there at no cost to you, and there is no charge for looking at your computer.
    cornelius

  • Error while creating Frame work Purchase order

    Hi Gurus,
    We are trying to implement Frame work order process with following configurations.
    1)Item cat  B for acc assingment Y
    2)Allow  item catg B with acc *** K and Y.(How to config this in SPRO)
    So when i am creating a PO adopted through Purchase Req (account ***  K and item cat B) i am getting error message "Pricing Error :Mandatory condition NAVS is Missing".So how do i configure this pricing process.
    Also when i am creating a Frame work order do i need to select the document type both in PO and PR as frame work order or NB order type will work with these config of Item cat B and acc *** Y?
    When i am creating a PR or PO with doc type frame work order the order unit is automatically populating as "AU" is this something std or do i have to do anything in configuration?
    When i created a PO with ref to PR aith account *** K into the PO and add the item category B the charging information was not maintained so how to maintian this?
    How to maintain the accounting info from PR?
    Also if there is a complete process link releated to config of frame work order that will be great.
    Thanks in Advance.

    Hi
    We are trying to implement Frame work order process with following configurations.
    Item cat B for acc assingment Y
    Create new acct assignment category in IMG -MM - Purchasing -Account Assignment - Maintain Account Assignment Categories (If you are sure of fields to be used then you can directly create Y, if not then copy existing category say K to new one and choose required fields)
    Allow item catg B with acc *** K and Y.(How to config this in SPRO)
    In Purchasing - account assignment - Define Combination of Item Categories/Account Assignment Categories - set combination for Y and B.
    Hope your documement types (PO & PR) allows item category B.
    So when i am creating a PO adopted through Purchase Req (account *** K and item cat B) i am getting error message "Pricing Error :Mandatory condition NAVS is Missing".So how do i configure this pricing process.
    Check the pricing procedure in IMG - Purchasing - Conditions - Define Price Determination Process - Define Calculation Schema - Check for calculation schema - NAVS has been maintained.
    Also when i am creating a Frame work order do i need to select the document type both in PO and PR as frame work order or NB order type will work with these config of Item cat B and acc *** Y?
    You need to choose document types while creating purchase transactions. If that document type doesnt support item category B- then you will get an error message.
    When i am creating a PR or PO with doc type frame work order the order unit is automatically populating as "AU" is this something std or do i have to do anything in configuration?
    For services (D category) we define AU as default unit (IMG - MM - External Services Management - Source Determination and Default Values - for Client/for Purchasing Organizations)
    When i created a PO with ref to PR aith account *** K into the PO and add the item category B the charging information was not maintained so how to maintian this?
    How to maintain the accounting info from PR?
    create Framework requisition and then copy it to a PO.
    Thanks

  • Introduction to OA frame work

    Hi ,
    I want to know OA frame work is related with java or oracle apps??
    can any body tell me where I can get introduction material to this subject

    Please download patch 4725670 from Metalink. This one has Jdeveloper RUP3. You can start working on these. The Jdeveloper comes with inbuilt documentation. All that information can help you with OA.
    Thanks

  • Problems with JSP and Tag Libraries in JBoss using Tomcat 5.5.9

    Hi,
    I am experiencing a really weird situation here. When running a deployed EJB3 ear application in a JBoss 4.0.3sp1 application using Tomcat service 5.5.9, Jasper is unable to compile any JSP file using Tag Libraries. To be more precise, when generating the Java source file (looking in the 'work' directory) everything in the file after the first occurance of a Tag Library usage is commented out (with "//"), causing the Java source to be invalid and outputs an error when accessing the page via a browser saying:
    "org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Syntax error, insert "}" to complete ClassBody
    Generated servlet error:
    Syntax error, insert "}" to complete Block
    Generated servlet error:
    Syntax error, insert "finally" to complete TryStatement
    Generated servlet error:
    Syntax error, insert "}" to complete MethodBody"
    etc... where every error row is a suggestion of steps to take to make the source file valid. (of course).
    The Tag Library jar files are located in the web application WEB-INF/lib folder as they should be. The descriptive Tag Library Definition files (tld:s) are located in the WEB-INF folder and every JSP file references these tld files directly via this path (WEB-INF/).
    Any hints are most appreciated!!
    Cheers!
    /Henrik

    Hi,
    I am experiencing a really weird situation here. When running a deployed EJB3 ear application in a JBoss 4.0.3sp1 application using Tomcat service 5.5.9, Jasper is unable to compile any JSP file using Tag Libraries. To be more precise, when generating the Java source file (looking in the 'work' directory) everything in the file after the first occurance of a Tag Library usage is commented out (with "//"), causing the Java source to be invalid and outputs an error when accessing the page via a browser saying:
    "org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Syntax error, insert "}" to complete ClassBody
    Generated servlet error:
    Syntax error, insert "}" to complete Block
    Generated servlet error:
    Syntax error, insert "finally" to complete TryStatement
    Generated servlet error:
    Syntax error, insert "}" to complete MethodBody"
    etc... where every error row is a suggestion of steps to take to make the source file valid. (of course).
    The Tag Library jar files are located in the web application WEB-INF/lib folder as they should be. The descriptive Tag Library Definition files (tld:s) are located in the WEB-INF folder and every JSP file references these tld files directly via this path (WEB-INF/).
    Any hints are most appreciated!!
    Cheers!
    /Henrik

  • Two problems : areaChart along with Line and double y-axis in LineChart

    Hi Friends,
    This forum is very useful as we are getting lots of help from people who are trying out this new technology and giving/using help to/from others.I am developing a real time application in JavaFx in which I need to implement Charts using dynamic data coming from a server.
    Now I am facing two types of problem which may be interrelated in some way.
    Problem 1 :
    I need to combine an areachart along with a line Chart.There is nothing in JavaFx like area-line Chart so should i go with all area charts and make the fill-color of area series transparent(is it possible to have transparent fill in area-chart ? by css ?) OR i should stack two charts one area and one line on top of one another making the background of either transparent(once again is it possible to have transparent background for a chart so that background chart/series is visible ?) OR any other suggestion ? Anyways I tried stacking using stackPane and it turned out to be ugly combination of misaligned charts :-(
    Problem 2 :
    I need to put two y-axis(i.e secondary axis) on the same chart but i am unable to find such feature with my best efforts.I know I can set the side of Axis using setSide method of Axis class but how can i put it both side simultaneously.Also is there a way to put different scales on these axis ? I mean is it possible to have two different series with drastic difference in bounds(data range) to be put on same chart by attaching them to different Y-axis on the same chart ?

    I don't think there is anything in the JavaFX library which matches exactly what you need.
    You might be able to use some tips from the 3d pie chart I created at: https://gist.github.com/1485144. This demonstrates stacking multiple charts on top of each other, whilst removing rendundant details so it doesn't end up a jumbled mess and looking up items by their css tags and modifying them.
    There is now excellent documentation on chart css at http://docs.oracle.com/javafx/2.0/charts/css-styles.htm#CIHGIAGE. If this doesn't get you all of the css hooks you need to dig out the details required from the chart, then you can unpack jfxrt.jar and search for caspian.css or you can recursively print the nodes in the chart which will tell you the type and style of each node. Armed with this information you could should then be able to stack the two charts you created on top of each other, align them correctly and strip away the info you don't need. To get the second y axis to the other side of the chart you could look it up by css in code, then do a translateX on it to so that it is translated by a bind to the width of the x axis. Seems doable, if a little fiddly.
    You might be tempted to directly create an Axis yourself by creating an instance of http://docs.oracle.com/javafx/2.0/api/javafx/scene/chart/NumberAxis.html and laying it over your chart, but I was unable to get that to work (http://javafx-jira.kenai.com/browse/RT-18270) - even if you did so, you would have to manually set up the ranges and ticks as the chart library wouldn't handle that for you. Another way to create a Axis like thing is by creating a http://docs.oracle.com/javafx/2.0/api/javafx/scene/control/Slider.html, disabling user input on it and removing it's thumb via css.
    My efforts at answering chart questions in the past sometimes ended up as "That's not what I need": Re: How to create PieChart like this?
    Questions about charts are hard to answer without a link to an exact image of what the required chart is expected to look like.

  • Style sheet with Struts frame work

    Hi,
    I am using MyEclipse editor. I am trying to use Style sheet in my JSP page using Struts frame work. I tried several ways but style sheet is not applying on my JSP page. Please look at my code and let me know where is the problem.
    1. I created a project called "AcmiReports". In the webroot I created folder called "CSS". In this folder I created "AcmiReports.css" file. In my JSP I am using like this
    <head>
    <link rel="stylesheet" type="text/css" href="/AcmiReports/WebRoot/css/AcmiReports.css">
    </head>
    Where am I doing wrong? I read somewhere that I need to set some thing in struts-config file. Is this true.
    Please help me.
    Thanks,
    Anamika

    No its not working fine, i m also facing the same problem with my code..
    when ever i come to jsp page through action css works fine, but if i directly forward to jsp page, css doesnt work
    can any body help me, its to urgent.. i need to submit my project till 1st of april... please do the need full asap
    i m copying the code used to apply the css in my jsp file
    <title><bean:message key="login.title" /></title>
    <link href="default.css" rel="stylesheet" type="text/css" />
    <script language=javascript src="clock.js" type="text/javascript"></script>
    same code works fine through action, but through normal forward it doesnt...

  • Problems running jsp files with tags on tomcat 4.0

    hi,
    i had some jsp1.1 stuff running on tomcat3.3.
    last week i moved to tomcat 4.0 , changed the tags to fit jsp1.2 and... everything is wrong now. while trying to run jsp with tags i get an error message (same for all files):
    ---->
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: (class: org/apache/jsp/djsp$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V) Incompatible object argument for function call
    <-------
    the jsp files with no tags and servlets are running ok.
    I NEED YOUR HELP!!!

    cyclid,
    i have the same environment setup and the same troubles. after searching the forums, it seems that there are others with the same, if not similar issues, yet no solutions. if you find the solution to this one, could you please post it. i would really appreciate it since i have been on this one for several days with no success. i even tried the helloworld jsp/custom tag examples from a jsp profession book that i have and that won't work.
    Anyone out there,
    if you have any idea why this problem exists, any solutions, ideas would be appreciated.
    thank you,
    navesink

Maybe you are looking for

  • Bridge CS6 overwrites EXIF data and changes image orientation.

    Hi, I seem to be having issue with Bridge CS6 overwriting or corrupting my image EXIF data. The situation is this, while in Bridge CS6, I open a folder with some images in it. There I select one image. Right-click on it and select File Info. In the X

  • When I "print to video" FCP works well but suddenly freezes... why?¿

    Hi everybody! I'm desperate right now, hope somebody could help me. I'm working on FCP 4.5 and when I'm done with my project I try to "Print to Video" and/or do it manually and all seems ok but suddenly FCP freezes (with audio still running) and I go

  • Reg.MM implementation

    Dear All I am in need of one full cycle implemention of MM our concern. I know what to do and how to do.Though I know all paths and Tcodes,I have some doubts,what are the prequisite I have fo consider and before going to implementation.I read in one

  • Address book won't open  console information

    I received directions to open utilities/ console I did this and found the following information.  Can someone tell me what it means and what I do net.Subscription request complete SourceSync.Dataclass.DeviceLocator Dataclass.Mail Dataclass.Ubiquity D

  • When I try to play a video from facebook or you tube it says blocked plug in

    When I try to play a video from Facebook or Youtube, it says blocked plug in. How do I unblock this?