Cost of a jsp site

I'm new to Java Server Pages and want know what the cost of setting up a JSP site would be (ie: what software do i need; is it free or does it cost and if it is free is it worth getting). I am not interested in the cost of hardware.
Thanks,
Chris McCorriser

The downside to both of these is
that there is no technical support. Not strictly true. There is plenty of info in forums and lists like this, for both apache http server and tomcat. It depends what you mean by support. If you want to be a 'Gold customer' and have someone at the end of the phone 24-7 who can sort out any of your problems (**yawn**), then fine... I'm sure it will be great experience for you!You won't get that with Apache Foundation, but not all (hardly any?)new ventures have the money for that sort of setup anyway...
There are loads of survey estimates that put figures of up to 75% of all webservers being apache. Must say something surely?
What I would say tho, is that large amounts of support info for apache assume you are on a UNIX-variant platform... which admittedly is a far better solution, but not so helpful if you are a Gates disciple.

Similar Messages

  • Implementing if-statement in jsp-sites

    Hi,
    I have a Vector in a jsp-Site as a property that I can refer to in the following way:
    <c:set var="mo" value="${requestScope.montag}"/>
    Now I want to test if the second element of this vector equals "0" or not.
    I tried things like:
    <logic:equal scope="request" name="${montag[0]}" value="0">
    or
    <logic:equal parameter="${requestScope.montag[0]}" value="0">
    but they don't work, does anybody of you have an idea?
    Kind regards
    Thomas

    Try c:if
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    Look under JSTL - flow control

  • Internal error if pointing on jsp-site

    I set up the Sun ONE Webserver 6.1 SP2 and deployed a webapp named prodass3. It functioned, but displaying jsp-sites.
    If I point to a HTML-site within the webapp, the HTML-site is displayed correctly. Access-log entry:
    192.168.200.53 - - [08/Jun/2004:17:34:55 +0200] "GET /prodass3/index.html HTTP/1.1" 200 1734
    But if I point to a JSP-site, I get an internal error. Access-log entry:
    192.168.200.53 - - [08/Jun/2004:17:46:42 +0200] "GET /prodass3/index.jsp HTTP/1.1" 500 305
    I think the JSP-files would not be compiled. But there is no error or something like that..
    Java Globally and Java for class vsclass1 are enabled.
    Java Home Path: C:/Programme/Sun/WebServer6.1/bin/https/jdk/
    What am I doing wrong?
    Kind regards, Jonas

    I can't find in server.xml a 'wrong' classpath like you mentoined above.
    I also copied the jdk (1.4.2) from the developing environment on the server maschine and linked the java home to the new path.
    I also restarted the virtual server..
    Here the server.xml:
    Can, you tell me is there something else wrong?
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright (c) 2003 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Web Server 6.1//EN" "file:///C:/Programme/Sun/WebServer6.1/bin/https/dtds/sun-web-server_6_1.dtd">
    <SERVER qosactive="false">
    <PROPERTY name="docroot" value="C:/Programme/Sun/WebServer6.1/docs"/>
    <PROPERTY name="accesslog" value="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/logs/access"/>
    <PROPERTY name="user" value=""/>
    <PROPERTY name="group" value=""/>
    <PROPERTY name="chroot" value=""/>
    <PROPERTY name="dir" value=""/>
    <PROPERTY name="nice" value=""/>
    <LS id="ls1" port="80" servername="gsa_tomcat-test.gartenmann.ch" defaultvs="https-gsa_tomcat-test.gartenmann.ch" security="false" ip="any" blocking="false" acceptorthreads="1"/>
    <MIME id="mime1" file="mime.types"/>
    <ACLFILE id="acl1" file="C:/Programme/Sun/WebServer6.1/httpacl/generated.https-gsa_tomcat-test.gartenmann.ch.acl"/>
    <VSCLASS id="vsclass1" objectfile="obj.conf" rootobject="default" acceptlanguage="off">
    <PROPERTY name="docroot" value="C:/Programme/Sun/WebServer6.1/docs"/>
    <VS id="https-gsa_tomcat-test.gartenmann.ch" connections="ls1" mime="mime1" aclids="acl1" urlhosts="gsa_tomcat-test.gartenmann.ch" state="on">
    <PROPERTY name="docroot" value="C:/Programme/Sun/WebServer6.1/docs"/>
    <USERDB id="default"/>
    <SEARCH>
    <WEBAPP uri="/search" path="C:/Programme/Sun/WebServer6.1/bin/https/webapps/search" enabled="true"/>
    </SEARCH>
    <WEBAPP uri="/prodass3" path="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/webapps/prodass3" enabled="true"/>
    </VS>
    </VSCLASS>
    <JAVA javahome="C:/Programme/Java/jdk1.4.2jdev/" serverclasspath="C:/Programme/Sun/WebServer6.1/bin/https/jar/webserv-rt.jar;${java.home}/lib/tools.jar;C:/Programme/Sun/WebServer6.1/bin/https/jar/webserv-ext.jar;C:/Programme/Sun/WebServer6.1/bin/https/jar/webserv-jstl.jar;C:/Programme/Sun/WebServer6.1/bin/https/jar/ktsearch.jar" classpathsuffix="" envclasspathignored="true" nativelibrarypathprefix="" debug="on" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1">
    <JVMOPTIONS>-Djava.security.auth.login.config=C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/config/login.conf</JVMOPTIONS>
    <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
    <JVMOPTIONS>-Xmx256m</JVMOPTIONS>
    <SECURITY defaultrealm="native" anonymousrole="ANYONE" audit="false">
    <AUTHREALM name="file" classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
    <PROPERTY name="file" value="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/config/keyfile"/>
    <PROPERTY name="jaas-context" value="fileRealm"/>
    </AUTHREALM>
    <AUTHREALM name="native" classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm">
    <PROPERTY name="jaas-context" value="nativeRealm"/>
    </AUTHREALM>
    <AUTHREALM name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
    <PROPERTY name="directory" value="ldap://localhost:389"/>
    <PROPERTY name="base-dn" value="o=isp"/>
    <PROPERTY name="jaas-context" value="ldapRealm"/>
    </AUTHREALM>
    </SECURITY>
    <RESOURCES/>
    </JAVA>
    <LOG file="C:/Programme/Sun/WebServer6.1/https-gsa_tomcat-test.gartenmann.ch/logs/errors" loglevel="info" logtoconsole="true" usesyslog="false" createconsole="false" logstderr="true" logstdout="true" logvsid="false"/>
    </SERVER>

  • After closing an Applet, how can I say a HTML/JSP Site to load a new site?

    Hi!
    I have a problem. I�m writting a little chat, and after qutting I want to say my HTML/JSP site to load or go further to another page.
    This is possible because a saw this already, but i didn�t got the way how!
    Thnx
    Ren�

    Hi,
    I assume you mean with "after quitting" pressing the Quit button.
    Your JSP can use the forward-statement to move to another JSP or HTML. You can find it on Suns
    JSP-Syntax Card.
    I hope I could help you
    Frank Rettweiler

  • Jsp sites access control

    Hi,
    i am new in web-app-programming.
    I have developed a few jsp pages. One of them is login page and the other should only be accessable after logging in the login page.
    The current state is: the pages can also be accessed directly with the url like this: "http://localhost:8080/application_root/my_url_pattern/somepage.jsp".
    I am looking for a solution to avoid the direct access per url.
    my ideas are:
    1) set the render control of the jsp site-> it works well-> but a bit complex
    2) out source the jsp site -> save the jsp sites somewhere else as the applicationroot-> I have the problem that the site could no be found. Can somebody tell me how can i solve this problem.
    thank u
    Ming
    Message was edited by:
    m_z

    You can set up a servlet filter in the web.xml. That lets you intercept every single request to certain areas of the app, and modify/redirect it if necessary.
    Example: This sets up a filter that runs on all requests to the "/tools" directory:
    In web.xml:
       <filter>
         <filter-name>testFilter</filter-name>
         <filter-class>com.TestFilter</filter-class>
       </filter>
       <filter-mapping>
         <filter-name>testFilter</filter-name>
         <url-pattern>/tools/*</url-pattern>
       </filter-mapping>And an example java class of a filter. This one just logs the request URI.
    package com;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    public class TestFilter implements Filter{
         public void init(FilterConfig arg0) throws ServletException {}
         public void destroy() {}
         public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
              if (request instanceof HttpServletRequest){
                   HttpServletRequest req = (HttpServletRequest)request;
                   System.out.println("Servicing request for " + req.getRequestURI());
                   chain.doFilter(request, response);
    }

  • Using sjsws to host many small servlet/jsp sites on one server

    Hello. I visited the web page at http://www.sun.com/software/products/web_srvr/features.xml, which mentions that sjsws supports mass hosting of thousands of domains. Anyone knows more information about this feature? I want to find out whether sjsws is a good choice for hosting many small servlet/jsp sites on one server.
    Some time ago, I tried using apache+tomcat to host many small servlet/jsp sites on one server. But the result was not satisfactory. If a private tomcat/jvm is used for each site, too many resources are consumed and as a result, not many sites can be hosted on one server. If a shared tomcat/jvm is used for all sites, the resources consumed are reduced, but it becomes very difficult to isolate the sites. Is it possible to overcome such problems with sjsws?
    Thx.

    Of course you dont have to use multiple VMs to host multiple applications.
    You can either choose to have multiple Virtual Servers, all in one instance of the web server, serving multiple applications. In this case only one java VM is used.
    Or you can go in the route posted in the link above, in which there is only one "physical" virtual server, with many dynamic virtual servers.
    Whether you chose to have many multiple web applications, or do the server division in a similar way to what is described in the blog, it is up to you.
    Many different web applications will give you more fine level control on the application separation, but it will probably also mean greater resource consumption associated to the web application managing.
    Less web applications, but with dynamic separation, in a similar way to what is described in the blog, will give a lesser control on the applications, but will save you a good number of resources.
    SJS Web Server is known to work in massive web sites, with very high number of JSPs and Servlets. There is some real life examples of this massive hosting. Maybe others can provide some numbers here :P

  • Listing JSP site on search engines

    I am hoping that there are some methods to get dynamically JSP generated webpages listed on search engines. I know that there are issues when using a query string because of spiders avoiding the '?' Is there a mod_rewrite type of option that can be accomplished in web.xml or anywhere else that could translate a site so that I could use:
    http://somesite.com/product/id/324
    instead of:
    http://somesite.com/product.jsp?id=324
    Even if there is a completely different approach to solving this, I welcome any and all suggestions.
    Thank you all in advance,
    Steve

    Or, to make your site more portable (if this is an issue), design your pages such that direct access without query variables provides a meaningful result in the first place, and your problem is solved. I know i have a habit of just erasing extra query stuff on pages i'm viewing to try to get to a root page.. it's incredibly annoying when one doesn't exist, or craps out on you because you're missing parameters.
    Although using Apache is a good idea... hadn't thought of that.

  • Deploying against a JSP site using JSTL

    I am reviewing Contribute for use at my company. Our current
    corp site is deployed in JSP and makes extensive use of the Java
    Standard Tag Library, especially for writing dynamic URLs to
    content such as images, pdf, and application download.
    Can Contribute and/or my site be configured in such a way
    that contributors can edit the JSP pages? I've exploded the war and
    deployed it as a set of standard files so Contribute can access the
    files, but Contirbute doesn't resolve the JSTL references.
    Help!

    contribute was designed to allow editting of static HTML
    content only.. It does not have the capability to edit anything
    dynamic.. It would be better to use Dreamweaver..

  • How to put JSP site

    Hello to all
    Wishing you Happy V........ Day
    Suppose I have prepared a JSP website(with some BeanComponents).
    I know that we have to put "*.jsp" files in public_html and "*.class" in classe directory( I used Java Web Server to develop JSP Website )
    Now if i wants to put site on net then where i find public_html or classes directory or some like that type of directory.Please Help me
    Waiting For Rep...........
    Your's Friend
    Bhavin Shah.

    Sorry to send same mail again...But I think people will miss guide from what I realy wants.
    I wants to put site on Internet
    Suppose I have prepared a JSP website(with some BeanComponents).
    I know that we have to put "*.jsp" files in public_html and "*.class" in classe directory( I used Java Web Server to develop JSP Website )
    Now if i wants to put site on net then where i find public_html or classes directory or some like that type of directory.Please Help me
    Waiting For Rep...........
    Your's Friend
    Bhavin Shah.

  • PHP on jsp site

    Hi all,
    I have a problem. We have a portal (weblogic) and we want to integrate into portal
    sites that developed in php. Is this possible?
    Thank you
    Tamas

    JSP without java is a bit like PHP without html
    ...only worse.Which is why I'm looking for a book or onlinetutorial
    which teaches Java with a focus on JSP.Well that's nice ...but YOU were the one who asked for
    advice from people who you may assume to know more
    than you do. Take it or leave it, makes bugger all
    dif'rence to me ... erm, learn java first.I want to learn Java, but I don't have much use for it outside of JSP. Aren't there any books which teach Java, but in the context of web development?

  • Cost for Production at Site

    Dear All ,
    I want to capture the cost of the work caried out at my customers site by employees of my company.
    I have near about 100 sites at present and my project tenure is about 2 to 3 years
    How can i collect the cost similar to the production order in my plant.
    Shall I define the plants for each and every site?
    Replies will be highly appreciated.
    Regards,
    Mandar

    Dear Mandar,
    1. The request you have posted here, needs a larger discussion interms of integeration with other modules, configuration, Master data Etc.
    2. A simple solution is that you can have cost centres to collect the same at the customer leve.
    3. This will be simpler, but again it needs to be validated with what cost you are planning to collect and how.
    4. Defining a plant alone will not resolve your problem, plant is only a organisationa entity- cost are collected at Cost centres only.
    Reg
    Dsk

  • 2nd low-cost camera for on-site shoots

    I use the Panasonic HVX-200p for my studio work which is almost all green screen and usually shot at 720p30 or 720p60. I capture direct to my workstation using OnLocation CS4 via firewire.
    Now I need a 2nd camera to capture on-site, outdoors mostly, but possibly some indoors. End use is educational DVD's and perhaps online courses, probably in H.264, so I don't need broadcast quality.
    I need to go cheap on this because of my budget. I have little knowledge, but how about an inexpensive DSLR? My concern with these is that the codec is AVCHD [I think] and I've read about how this strains the PC requirements, is not easily digested (unless that's improved with CS6), etc. (see my Profile for workstation specs). Also, I'm not sure how it would look with the Panasonic keyed footage.
    There is another option: carry a laptop with OnLocation CS4 installed and capture with it using the Panasonic. Granted, it is cumbersome and hinders in other ways, but it is possible. This choice, if acceptable, would require me to buy a laptop with a decent battery life (my existing laptop is an older, core 2 duo & the battery died long ago). I'd like to hear opinions on this because I don't know if this option would be cheaper than a new camera and/or give me better quality.
    Anyway, I think you get the idea. I am most grateful for all recommendations. I am willing to consider used cameras, if that works.
    Paul
    P.S. I need at least one wireless microphone.
    Message was edited by: Paul Stark

    Hi Paul,
    Both my cam's are panosonic, and though a little above the one in question in terms of price range, i can give a little feedback on what is similar between them.
    Apart from the dreaded AVCHD problems CS5 and early versions of CS6 had, you shouldn't have to much trouble with it.
    Both of my cams;
    AG-AC130
    Panasonic AG-AC130 AVCCAM HD Handheld ... - B&H Photo Video
    & AG-AC160
    Panasonic AG-AC160 AVCCAM HD Handheld ... - B&H Photo Video
    use the dual SDHC cards, apart from making sure you copy the entire card, you will be fine. The file structure has to be completely intact otherwise timecode, audio and spanning clips will get messed up and cause you headaches.
    My cam's are extremely good in low light, stomp all over the famed Sony Z7's of yesteryear. As long as your not shooting anything fast moving, if you need the light lower the shutter speed to 1/25 and open the iris right up you will get decent footage in lower light situations.
    One thing you won't get in that model is the DRS function which is revolutionary to say the least, in a nutshell it supresses overexposure and boosts shadows.
    In addition you'll have to xlr inputs so add wireless, or even a boom mic (much better price to quality ratio) with ease.
    The GoPro's are amazing, but in my opinion totally sh*t in low light situations. People will argue that the newer models are much better, but I hate any grain. Another option with your low light requirements would be to add one of these Z96 LED, They are amazing for the size, easy to attach to a hotshoe, dimmable and unbelievably bright. Color temp isn't bad either, can be a bit cold\blue at full kick but has two magnetic diffusers ( i usually just manually change the temp in cam but lower budget cameras don't often have this function). Even doing an Auto WB would help to correct the temp.
    Hope this helps you a bit
    Troy

  • Error by parsing an JSP Site

    Hello!
    First - sorry for my english.
    I have an webapp that perfectly work in tomcat and jetty but fails in WAS6.40 SP9. The important part of the jsp looks like this:
    <%@ page import="de.cdiag.skills.web.resources.Constants" %>
    <%@ taglib uri="/WEB-INF/displaytag-11.tld" prefix="display" %>
    <%-- this ist the line 38 --%>
    <display:table id="skills" class="smTable test" name="<%= Constants.SKILL_LIST_KEY %>">                    
    </display:table>               
    if i start the application that throws following exception:
    Date : 05/17/2005
    Time : 10:59:57:046
    Category :
    Message ID : 000C29EF20BA337A00000001000002980003F74998B5C26B
    Severity : Error
    Location : com.sap.engine.services.servlets_jsp.Deploy
    Source Name : com.sap.engine.services.servlets_jsp.Deploy
    Thread : SAPEngine_Application_Thread[impl:3]_10
    Message : Runtime error in compiling of the JSP file <C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/SkillsEar/servlet_jsp/skills/root/lists/listAssignedSkills.jsp> ! The error is: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Expecting [ = ] instead of [ . ].
    Error in file C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/SkillsEar/servlet_jsp/skills/root/lists/listAssignedSkills.jsp; line: 38; position: 74.
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.Attribute.parse(Attribute.java:84)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspTag.readAttributes(JspTag.java:62)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.xmlsyntax.CustomJspTag.parse(CustomJspTag.java:209)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.parseTo(ElementCollection.java:157)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.xmlsyntax.CustomJspTag.parse(CustomJspTag.java:241)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.parseTo(ElementCollection.java:157)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.xmlsyntax.CustomJspTag.parse(CustomJspTag.java:241)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.parse(ElementCollection.java:89)
            at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ParserImpl.parse(ParserImpl.java:525)
            at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:307)
            at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:74)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:205)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:369)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:164)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.include(RequestDispatcherImpl.java:424)
            at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.include(PageContextImpl.java:138)
            at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101)
            at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137)
            at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758)
            at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890)
            at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
            at jsp_smOptions1116320391000._jspx_method_tiles_insert_4(jsp_smOptions1116320391000.java:65535)
            at jsp_smOptions1116320391000._jspService(jsp_smOptions1116320391000.java:36)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:467)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:346)
            at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
            at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
            at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
            at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
            at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Datasource : 6463850:C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\defaultTrace.trc
    Application : sap.com/SkillsEar
    Argument Objs :
    Arguments :
    Dsr Component :
    Dsr Transaction : 0ab82960c6b211d9b07e000c29ef20ba
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives :
    Resource Bundlename :
    Session : 0
    Source : com.sap.engine.services.servlets_jsp.Deploy
    ThreadObject : SAPEngine_Application_Thread[impl:3]_10
    Transaction :
    User : Guest
    whats wrong in this code?
    thanks!

    Hi Dimitri,
    as Astrid said, it is more than probable that the problem comes from the expression within the tag.
    If this works on Tomcat, carefully analyse the tab library, check against which JSP version it is developed and should run on, on which server you are and which JSP version there is supported.
    In the end, if you are "lucky", you maybe will have determined that it is a bug in SAP's JSP processor. In this case, please open an OSS message to report it.
    Hope it helps
    Detlev
    Message was edited by: Detlev Beutner
    Ooops, just saw you gave the info WAS 6.40, that means J2EE 1.3, and that again means JSP 1.2.

  • What is a Site Link Cost?

    I'm a Student trying to get MCITP. Please tell me when i am configuring Replication between sites, What is the site link cost means? What can i do from that? please tell me
    Regards,
    Ashane Deshapriya.
    Ashane Deshapriya ( MCP )

    Hi Ashane Deshapriya,
    The cost setting on a site link object determines the likelihood that replication occurs over a particular route between two site. Relication routes with the lowest cumulative cost are preferred. You can use this procedure to configure replication cost on
    the site link object in Active Directory Domain Services (AD DS). When you create or modify site links, use the site link object properties to configure the relative cost of using the site link.
    For your information, please refer to the following articles to get more help:
    Configure the Site Link Cost to Establish a Priority for Replication Routing
    Configure site link cost
    Regards,
    Lany Zhang

  • Newbie - JSP & bean shopping cart logic error?

    Hello,
    I am attempting to bulid a shopping cart facility on a JSP site that I am building.
    I am having difficulties adding an item to the basket.
    The page below (bookDetail.jsp) displays items for sale from a database. At the foot of the page, I have set up a hyperlink to add an item to a basket bean instance created in this page.
    What happens is the page will load correctly, when i hover the mouse over the hyperlink to add the item to the basket, the status bar shows the URL of the current page with the details of the book appended. This is what I want. But when I click the link, the page will only reload showing 20% of the content.
    Netbeans throws up no errors, neither does Tomcat, so I am assuming I have made a logical error somewhere.
    I have enclosed the Book class, and the ShoppingCart class for your reference.
    Any help would be really appreciated as I am at a loss here.
    Cheers.
    Edited highlights from bookDetail.jsp
    //page header importing 2 classes - Book and ShoppingCart
    <%@ page import="java.util.*, java.sql.*, com.shopengine.Book, com.shopengine.ShoppingCart" errorPage="errorpage.jsp" %>
    //declare variables to store data retrieved from database
    String rs_BookDetail_bookRef = null;
    String rs_BookDetail_bookTitle = null;
    String rs_BookDetail_author = null;
    String rs_BookDetail_price = null;
    //code that retrieves recordset data, displays it, and places it in variables shown above
    <%=(((rs_BookDetail_bookRef = rs_BookDetail.getString("book_ref"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_bookRef)%>
    <%=(((rs_BookDetail_author = rs_BookDetail.getString("author"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_author)%>
    <%=(((rs_BookDetail_bookTitle = rs_BookDetail.getString("book_title"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_bookTitle)%>
    <%=(((rs_BookDetail_price = rs_BookDetail.getString("price"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_price)%>
    //this link is to THIS PAGE to send data to server as request parameters in Key/Value pairs
    // this facilitates the add to basket function
    <a href="<%= response.encodeURL(bookDetail.jsp?title=
    "+rs_BookDetail_bookTitle+"
    &item_id=
    "+rs_BookDetail_bookRef +"
    &author="+rs_BookDetail_author +"
    &price=
    "+rs_BookDetail_price) %> ">
    <img src="images\addtobasket.gif" border="0" alt="Add To Basket"></a></td>
    // use a bean instance to store basket items
    <jsp:useBean id="basket" class="ShoppingCart" scope="session"/>
    <% String title = request.getParameter("title");
    if(title!=null)
    String item_id = request.getParameter("item_id");
    double price = Double.parseDouble(request.getParameter("price"));
    Book item = new Book(item_id, title, author, price);
    basket.addToBasket( item );
    %>
    ShoppingCart class that is used as a bean in bookDetail.jsp shown above
    package com.shopengine;
    //import packages
    import java.util.*;
    //does not declare explicit constructor which automatically creates a zero argument constructor
    //as this class will be instantiated as a bean
    public class ShoppingCart
    //using private instance variables as per JavaBean api
         private Vector basket;
         public ShoppingCart()
              basket = new Vector();
         }//close constructor
    //add object to vector
         public void addToBasket (Book book)
              basket.addElement(book);
         }//close addToBasket method
    //if strings are equal, delete object from vector
         public void deleteFromBasket (String foo)
    for(Enumeration enum = getBasketContents();
    enum.hasMoreElements();)
    //enumerate elements in vector
    Book item = (Book)enum.nextElement();
    //if BookRef is equal to Ref of item for deletion
    //then delete object from vector.
    if (item.getBookRef().equals(foo))
    basket.removeElement(item);
    break;
    }//close if statement
    }//close for loop
         }//close deleteFromBasket method
    //overwrite vector with new empty vector for next customer
         public void emptyBasket()
    basket = new Vector();
         }//close emptyBasket method
         //return size of vector to show how many items it contains
    public int getSizeOfBasket()
    return basket.size();
         }//close getSizeOfBasket method
    //return objects stored in Vector
         public Enumeration getBasketContents()
    return basket.elements();
         }//close getBasketContents method
         public double getTotalPrice()
    //collect book objects using getBasketContents method
    Enumeration enum = getBasketContents();
    //instantiate variable to accrue billng total for each enummeration
    double totalBillAmount;
    //instantiate object to store data for each enummeration
    Book item;
    //create a loop to add up the total cost of items in basket
    for (totalBillAmount=0.0D; enum.hasMoreElements(); totalBillAmount += item.getPrice())
    item = (Book)enum.nextElement();
    }//close for loop
    return totalBillAmount;
         }//close getTotalPrice method
    }//close shopping cart class
    Book Class that is used as an object model for items stored in basket
    package com.shopengine;
    import java.util.*;
    public class Book{
         //define variables
    private String bookRef, bookTitle, author;
         private double price;
    //define class
    public Book(String bookRef, String bookTitle, String author, double price)
    this.bookRef= bookRef;
    this.bookTitle=bookTitle;
    this.author=author;
    this.price=price;
    //create accessor methods
         public String getBookRef()
              return this.bookRef;
         public String getBookTitle()
              return this.bookTitle;
         public String getAuthor()
              return this.author;
         public double getPrice()
              return this.price;
    }//close class

    page will only reload showing 20% of the content.Im building some carts too and I had a similiar problem getting null values from the mysql database. Are you getting null values or are they just not showing up or what?
    On one of the carts I'm building I have a similiar class to yours called products that I cast onto a hashmap works alot better. Mine looks like this, maybe this is no help I don't know.......
    public class Product {
        /**An Item that is for sale.*/
          private String productID = "Missing";
          private String categoryID = "Missing";
          private String modelNumber = "Missing";
          private String modelName = "Missing";
          private String productImage = "Missing";
          private double unitCost;
          private String description = "Missing";
          public Product( 
                           String productID,
                           String categoryID,
                           String modelNumber,
                           String modelName,
                           String productImage,
                           double unitCost,
                           String description) {
                           setProductID(productID);
                           setCategoryID(categoryID);
                           setModelNumber(modelNumber);
                           setModelName(modelName);
                           setProductImage(productImage);
                           setUnitCost(unitCost);
                           setDescription(description);        
          public String getProductID(){
             return(productID);
          private void setProductID(String productID){
             this.productID = productID;
          public String getCategoryID(){
             return(categoryID);
          private void setCategoryID(String categoryID){
             this.categoryID = categoryID;
          public String getModelNumber(){
             return(modelNumber);
          private void setModelNumber(String modelNumber){
             this.modelNumber = modelNumber;
          public String getModelName(){
             return(modelName);
          private void setModelName(String modelName){
             this.modelName = modelName;
          public String getProductImage(){
             return(productImage);
          private void setProductImage(String productImage){
             this.productImage = productImage;
          public double getUnitCost(){
              return(unitCost);
          private void setUnitCost(double unitCost){
              this.unitCost = unitCost;
          public String getDescription(){
              return(description);
          private void setDescription(String description){
              this.description = description;

Maybe you are looking for

  • Autofocus not working correctly

    Hello, I bought my Nokia Lumia 1020 a week ago. I'm very impressed with it and a proud owner but the autofocus seem to have some kind of a bug. When i press the shutter button halfway it looses the focus and the picture get's blurry (it works 3times

  • I want to know when 4.3 will be released to the s3

    I am getting pretty frustrated because I have been looking for information on the update for my s3 since November, and verizon is not releasing any info. I thought I would have the update in November since Every other carrier in the US released it, a

  • Connecting PC monitor to MMD G4

    So I recently acquired a Flat-panel LCD Monitor (Sony SDM S51) to replace my CRT (NEC AccuSync) after it's connections went bad and started giving me everything green hued. It hooked up fine and it was amazing to see my system on a crisp, clear, corr

  • Further info on 6980 printer problems please read this one

    I have a HP 6980 deskjet that I attach via usb to my macbook when I need to print. Everything has been working fine for a year now except yesterday it gives me a message "problem printing to printer, please check that the printer is chosen in the pri

  • I want to update data

    I'm a beginner in programming in Java. I can display data from mySQL database in a JTabe.But I want to modify/ update table data. I could not update my database table using the sun's JDBCAdapter. is there any better way ? Thank you for your help.