Integration of JSP and xhtml in jsf project

Can we use both jsp and xhtml in single jsf project. Actually I encountered a problem while configuring jsp and xhtml in web.xml of jsf project. The web.xml configuration file allows to use only one view handler (jsp or xhtml).By default it use jsp view handler. For xhtml view handler, we need to define following context param -:
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
Please let me know any possibility to configure both jsp and xhtml in jsf project(web.xml).
My actual requirement is that I need to forward to new page(xhtml) from an xhtml page without using faces-config. I am not able to find any facelets tags which let me forward to new xhtml page. So I am thinking to use jsp to exploit the jsp tag called forward. But the constraint is that we can use only one view handler with jsf project.

Can we use both jsp and xhtml in single jsf project. Actually I encountered a problem while configuring jsp and xhtml in web.xml of jsf project. The web.xml configuration file allows to use only one view handler (jsp or xhtml).By default it use jsp view handler. For xhtml view handler, we need to define following context param -:
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
Please let me know any possibility to configure both jsp and xhtml in jsf project(web.xml).
My actual requirement is that I need to forward to new page(xhtml) from an xhtml page without using faces-config. I am not able to find any facelets tags which let me forward to new xhtml page. So I am thinking to use jsp to exploit the jsp tag called forward. But the constraint is that we can use only one view handler with jsf project.

Similar Messages

  • How to use jsp and xhtml files in an application

    This is web.xml file,
    <web-app>
    <context-param>
         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
         <param-value>.xhtml</param-value>
    </context-param>
    <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
    </context-param>
    <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>*.jsf</url-pattern>
    </servlet-mapping>
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    </web-app>
    If i configure like this, i am not able to work with jsp file.
    So, how to configure web.xml file to work with both jsp and xhtml file.
    Thanks,
    Vinutha.

    Hi Sam,
    To Use properties file you need to keep the properties file in a location and in the code you need to mention the path from where it should read in the runtime.
    Fuego.Io.PropertiesFile propfile;
    propfile.load(fileName : "<Path: C:/sample.properties>"); //Path: Place the properties file in the respective directory/drive and mention the path
    String val = propfile.get(key : "One"); //One - is the key against which the value should be mentioned in the properties file like <One = 1>. It should return 1
    logMessage("Value: " + val);
    To use the Enum in your project first create a Module in your catalogue component and then right click on module create New Enumeration say ProcessStatus
    Uncheck the Is Sequential if you want to keep key/value as pair. Click on add +* and mention the Name and Value say ABORTED as Name and Value as Aborted. To use it in your project conditional path write the condion as somevariable == String(ProcessStatus.ABORTED)
    Hope this will help you.
    Bibhu

  • BC4J JSP and XHTML

    I would like to use (Struts-based) JSP for Business Components in a project where I have to generate XHTML.
    The BC4J tag library generates attribute values which contain the ampersand character ("&"). For example, the UrlEvent-Tag generates URLs with HTML-parameters separated by the ampersand character.
    But this is not XHTML conform (see http://www.w3.org/TR/xhtml1/ section C.12). Ampersands used in a document that are to be treated as literal characters must be expressed themselves as an entity reference (e.g. "&amp;")
    Is there a chance to change this in future releases? We would need this change very quickly. Otherwise we cannot use BC4J in our project.
    Michael Seyfried
    [email protected]

    Michael,
    Thank you for your report.
    I filed a bug against the BC4J tag library to support XHTML. Bug 2645909.
    This will be fix in a future release.
    Meanwhile your options are:
    1) Not using the UrlEvent tag and build the url using the JboEvent, JboEventVo, jboRowKey, amId and currentPath parameters.
    2) Extend the current UrlEvent tag implementation to provide this functionality.
    The sources is provided for all these tags. You can open it from JDev when asking for the class "oracle.jbo.html.jsp.datatags.UrlEventTag" or look into <JDEV_HOME>\BC4J\src\bc4jhtmlsrc.zip for UrlEventTag.java.
    Charles.

  • How include jsp file in adf jsf

    hi!
    I would like to include my jsp file in adf jsf but when i run my jsf page i have this error
    "javax.faces.event.AbortProcessingException: javax.faces.view.facelets.FaceletException: Error Parsing /Scanning.jsp: Error Traced[line: 1] <Line 1, Column 2>: XML-20201: (Erreur grave) Attendu : name et non %."
    My jsp page is Scanning.jsp and in my jsf page i include my jsp page like this
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="untitled1.jsf" id="d1">
    <af:form id="f1">
    <af:panelTabbed id="pt1">
    <af:showDetailItem text="showDetailItem 1" id="sdi1"/>
    <af:showDetailItem text="showDetailItem 2" id="sdi2">
    <af:declarativeComponent viewId="Scanning.jsp" id="dc1" >
    </af:declarativeComponent>
    </af:showDetailItem>
    </af:panelTabbed>
    </af:form>
    </af:document>
    </f:view>
    What's wrong ???
    Help me please

    I'm looking for this characters but nothing
    could try to help me again
    this my
    jsp code
    <%@ page pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Scanner vos ch&egrave;ques</title>
    <link media="screen" href="css/sbullet.css" type="text/css" rel="stylesheet"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!--script type="text/javascript">
    // Declaration globale
    var Nbrimg = 0;
    var ImgRecto = 0;
    var ImgVerso = 0;
    var ImgTotal = 0;
    <script type="text/javascript" event="TransportNewState(newState,previousState)" for="Ranger">
    // Transport new state, fired every time the State changes on the control
    // input params , are the new state and the previous state
    //alert(newState);
    var RangerTransportStates = {
    TransportUnknownState : - 1, TransportShutDown : 0, TransportStartingUp : 1, TransportChangeOptions : 2, TransportEnablingOptions : 3, TransportReadyToFeed : 4, TransportFeeding : 5, TransportExceptionInProgress : 6, TransportShuttingDown : 7
    ok = false;
    if (newState == RangerTransportStates.TransportShutDown) {
    document.getElementById('StartRanger').disabled = false;
    document.getElementById('EnableRanger').disabled = true;
    document.getElementById('StopFeeding').disabled = true;
    document.getElementById('StartFeeding').disabled = true;
    document.getElementById('ChangeOptions').disabled = true;
    document.getElementById('Shutdown').disabled = true;
    document.getElementById('UserInstructions').innerHTML = "Appuyer sur Demarrer pour initiliser le scanner"
    Nbrimg = 0;
    ImgVerso = 0;
    ImgRecto = 0;
    ImgTotal = 0;
    if (newState == RangerTransportStates.TransportChangeOptions) {
    document.getElementById('StartRanger').disabled = true;
    document.getElementById('StartFeeding').disabled = true;
    document.getElementById('EnableRanger').disabled = false;
    document.getElementById('Shutdown').disabled = false;
    document.getElementById('UserInstructions').innerHTML = "<b/>Demarrage <br/> Appuyer sur Activer pour preparer le scanning "
    ok = false;
    if (newState == RangerTransportStates.TransportReadyToFeed) {
    document.getElementById('EnableRanger').disabled = true;
    document.getElementById('StopFeeding').disabled = true;
    document.getElementById('StartFeeding').disabled = false;
    document.getElementById('ChangeOptions').disabled = false;
    document.getElementById('Shutdown').disabled = false;
    document.getElementById('UserInstructions').innerHTML = "<b/>Pret a scanner<br/> Appuyer sur Scanner pour lancer le scanning"
    ok = true;
    if (newState == RangerTransportStates.TransportFeeding) {
    document.getElementById('StartFeeding').disabled = true;
    document.getElementById('ChangeOptions').disabled = true;
    document.getElementById('Shutdown').disabled = true;
    document.getElementById('StopFeeding').disabled = false;
    document.getElementById('UserInstructions').innerHTML = "<b/>Scanning... <br/> Appuyer sur Arret scanning pour stopper le scanning";
    //getstatus();
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    </script>
    <script type="text/javascript" event="TransportChangeOptionsState(previousState)" for="Ranger">
    //Fired when Ranger reaches the change option state, input params are previous state
    //getstatus();
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    </script>
    <script type="text/javascript" event="TransportReadyToFeedState(previousState)" for="Ranger">
    i = 0;
    struchtml = "";
    htmlStrucArray = new Array();
    //Fired when ranger is ready to feed the next item
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    //getstatus();
    </script>
    <script type="text/javascript" event="TransportFeedingStopped(reason,itemsFed,itemsrequested)" for="Ranger">
    //Fired when feeding has stopped
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    //getstatus();
    </script>
    <script type="text/javascript" event="TransportItemInPocket(itemID)" for="Ranger">
    //Fired when the item has been fed into the pocket
    var RangerSides = {
    TransportFront : 0, TransportRear : 1
    var RangerImageColorTypes = {
    ImageColorTypeBitonal : 0, ImageColorTypeGrayscale : 1, ImageColorTypeColor : 2
    //alert(Ranger.GetGenericOptionFileName());
    Ranger.SetGenericOption("OptionalDevice", "NeedFrontImage1", true);
    Ranger.SetGenericOption("OptionalDevice", "NeedRearImage1", true);
    // Date du jour
    var datedujour = new Date();
         var day = datedujour.getDate();
         var month = datedujour.getMonth()+1;
    if(month < 10){month = "0"+month};
         var fullYear = datedujour.getYear();
    var Repertoire = day+"-"+month+"-"+ fullYear;
    var cmc7 = Ranger.GetMicrText(1);
    var codeChq = cmc7.substring(1, 8);
    var codeBq = cmc7.substring(10, 22);
    var codeRib = cmc7.substring(24, 36);
    var cmc7_affiche = codeChq + ' ' + codeBq + ' ' + codeRib;
    cmc7 = codeChq + '_' + codeBq + '_' + codeRib;
    document.getElementById('CMC7').innerHTML = 'CMC7= ' + cmc7_affiche;
    // alert(cmc7);
    cmc7R = cmc7 + "_R.jpg";
    // alert(Ranger.GetImageAddress(RangerSides.TransportFront, RangerImageColorTypes.ImageColorTypeGrayscale))
    temp = Ranger.SaveImageToFile(RangerSides.TransportFront, RangerImageColorTypes.ImageColorTypeGrayscale, "C:\\IT\\images\\" + cmc7R);
    temp = Ranger.SaveImageToFile(RangerSides.TransportFront, RangerImageColorTypes.ImageColorTypeGrayscale, "C:\\IT\\"+Repertoire+"\\" + cmc7R);
    cmc7V = cmc7 + "_V.jpg";
    temp = Ranger.SaveImageToFile(RangerSides.TransportRear, RangerImageColorTypes.ImageColorTypeGrayscale, "C:\\IT\\images\\" + cmc7V);
    temp = Ranger.SaveImageToFile(RangerSides.TransportRear, RangerImageColorTypes.ImageColorTypeGrayscale, "C:\\IT\\"+Repertoire+"\\" + cmc7V);
    document.getElementById("LIST").innerHTML += "<input type=\"hidden\" name=\"Img_chq\" value='" + cmc7R + "'/>" + cmc7_affiche + " (Recto)<br/>";
    document.getElementById("LIST").innerHTML += "<input type=\"hidden\" name=\"Img_chq\" value='" + cmc7V + "'/>" + cmc7_affiche + " (Verso)<br/>";
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    //getstatus();
    </script>
    <script type="text/javascript" event="TransportNewItem()" for="Ranger">
    // Fired when a new item has entered the track
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    //getstatus();
    </script>
    <script type="text/javascript" event="TransportShutDownState(currentState,previousState)" for="Ranger">
    //Fired when the Ranger control has been shutdown
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    //getstatus();
    </script>
    <script type="text/javascript" event="TransportSetItemOutput(itemID)" for="Ranger">
    //fired when the item is ready to have params set(pocketing decisions)
    document.getElementById('Status').innerHTML = 'Etat: ' + Ranger.GetTransportStateString();
    //getstatus();
    </script>
    <!-- End of Events ------------- -->
    </head>
    ........ html code
    Edited by: nesta on 12 août 2011 12:28

  • What's the difference between jsp and jsf?

    who can tell me what's the difference between jsp and jsf?
    I'm puzzled when I found some of the technology in jsp is so similar to the ones in jsp( javaserver page)

    Hi,
    Find the difference between JSP and JSF
    1. A developer has more control with JSP, but (should) get easier development with JSF
    2. Event handling is done differently in JSP (HTTP) and JSF (Java)
    3. The UI is designed differently (or should be at least) with JSP (markup) and JSF (components).
    4. The end product should also be defined differently - JSP page versus a JSF application.
    Is this the only thing that is need to make a decision for either or? Probably not. There are other pieces that need to be taken in account when deciding which technology to use - tools support, enough components, type of application etc.... At this point there are not enough JSF components (although there are some interesting projects underway - Ajaxfaces, Myfaces, ADF Faces, and WebChart 3d) and enterprise tools support is still limited to a few tools vendor. Looking at our ADF Faces components they are currently available as early access (not production) and demands for these components are stacking up, literally, outside my office doorstep. Although I would love to make them production - now! - it is not a viable solution since we are still checking features and fixing critical bugs.
    All this combined - not enough enterprise level components in production, lacking tools support etc... - leave customers in a vacuum where the decision is either to continue with JSP, since it is mature and has a wide developer base, or move forward with JSF not sure if the support, or the developers will be there. This is particularly sensitive to customers that need to get started now and be production by summer.
    If you are in this vacuum here are some key points promoting JSF:
    1. Fundamental unit is the Component
    2. Built in event and state management
    3. Component sets can be provided by any vendor
    4. Closer to ASP.Net or Swing development
    5. Choice of UI technology
    6. Scale up (rich clients)
    7. Scale down (mobile devices)
    8. Built into J2EE containers in J2EE 5.0 (tentative)

  • JSF integration with Webwork and Freemarker ?

    My company is investing a lot in an application that uses Webwork and Freemarker. I'd like to reuse chunks of that but with JSF components for new development. I know it's possible to link to and from external URLs using JSF's navigation, but I don't think that buys me much in this case. Is it possible to use the JSF View (as in Model-View-Controller) with someone else's (Webwork's) front controller? I'm guessing JSF can coexist with Freemarker as it does with JSP and HTML. Or, does anyone know of any successful approach to Webwork integration anywhere?
    thx!

    My company is investing a lot in an application that uses Webwork and Freemarker. I'd like to reuse chunks of that but with JSF components for new development. I know it's possible to link to and from external URLs using JSF's navigation, but I don't think that buys me much in this case. Is it possible to use the JSF View (as in Model-View-Controller) with someone else's (Webwork's) front controller? I'm guessing JSF can coexist with Freemarker as it does with JSP and HTML. Or, does anyone know of any successful approach to Webwork integration anywhere?
    thx!

  • JSF and XHTML Transitional validation

    We're finishing our first public-facing JSF project and our final hurdle is to make sure our pages are XHTML compliant (we're a government department and we have to fall in line); we've chosen XHTML 1.0 Transitional.
    We have two problems:
    1. When we use <h:commandLink ...> the inserted javascript is not escaped and produces the validation errors using the W3C validator:
    Warning Line 87 column 121: character "<" is the first character of a delimiter but occurred as data.
    ...p;if (adp != null) {for (var i = 0;i < adp.length;i++) {f.removeChild(adp)
    Warning Line 87 column 270: character "<" is the first character of a delimiter but occurred as data.
    ...p.split(',');for (var i = 0,ii = 0;i < ps.length;i++,ii++) {var p = document.
    [/code]
    Is this a known problem, and is there a solution? A last resort could be to use a ServletFilter to insert <[CDATA[ ]]> into the page, around the javascript.
    2. Multiple forms produce multiple hidden input tags with the same ID:
    Error Line 106 column 54: ID "javax.faces.ViewState" already defined.
    ...en" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id114:j_As far as I can see we're going to have to re-design our pages to use just one form (we have two navigation menus each with their own form, then one form for the page.)
    Unless there is another solution?
    We're using Sun JSF RI 1.2_03-b09-FCS (with facelets), but observe the same behaviour with 1.2_04.
    Many thanks for any help,
    Andy.

    I have encountered the same issue. Hard-coded "javax.faces.ViewState" is a design bug in my view. subviews make absolutely no sense when view state id is hard-coded. It has to be auto-generated just as it's values are, even though that may require iteration thru the params. One way to deal w/ this to avoid iteration thru params in JSF impl, is to append subview id "javax.faces.ViewState" hidden field, have each subview look up accordingly. There is no other way to have valid XHTML.
    If there's a work-around, please share.
    Thanks,
    Reshat.

  • Comparing JSP and JSF, which 1 better?

    Currently i need to run a new project. Now i need to choosing 1 of the language to coding my project. Which 1 is better to use?
    In this project i have to include the web page that using JSP scriptlet to code because this project is create a dynamic menu to link up all web application. Is the JSF can link to JSP and JSP can link back to JSF?

    Welcome to SCN.
    Please read forum rules (you'll see that you must search the forum first (your question is already answered))

  • Blank index.jsp and some jsf pages within WebContent folder

    Hi dear all,
    I have a problem with a blank index.jsp forwarding to a jsf file i.e. <jsp:forward page="/pages/xxx.jsf" />
    I have tested with index.html (is showing with right contents), index.jsp (page loaded but blank), index.jsf (page loaded but blank).
    Web Server details : Tomcat 6.0.18 running on Linux.
    Folder structure is
    Webapps
    |-----<application>
    |---------WebContent
    |---------pages (same level as WEB-INF)
    |---------WEB-INF (same level as WEB-INF)
    within WEB-INF, web.xml is as follows:
    ============================
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
         <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    </web-app>
    But direct access to jsf files within pages directory is showing, which is not desirable.
    Can someone advise me why?
    Many thanks and have a good day,
    May

    Mei_Liew wrote:
    I have a problem with a blank index.jsp forwarding to a jsf file i.e. <jsp:forward page="/pages/xxx.jsf" />You forgot to tell more about the problem. What happens? What happens not?

  • Help!  JSP and Bussiness components Project Error

    I have created a project with bussines components and jsp.
    When a user connect to login page, the other users data change
    to the last user connected.
    (Note:
    I does working with entities, views, viewlinks)

    Arturo,
    I assume you are using 3.2 of JDeveloper. When you say that
    other users data changes, what do you mean? Please describe the
    symtoms.
    For example, User A connects to a JSP and is browsing the
    Customer data. User B connects to the JSP and changes some data.
    Does User A see it before User B commits? If it shows after User
    B commits, that is expected behavior. If it shows before User B
    commits, then that means that they are sharing a session in the
    web server.
    What kind of web server are you using. If it is the builit in
    sever in JDeveloper, then that is the problem. The built in
    server in 3.2 does not support sessions.
    Gary
    JDev Team

  • Difference between JSP and JSF

    What is the difference between JSP and JSF?
    Is it necessary to learn JSP before starting with JSF?

    JSP is a view technology providing a template to write plain HTML/CSS/JS in. JSP supports Java based taglibs to generate output and/or control the page flow dynamically. A well known example is JSTL. JSP also supports access to backend data with help of EL (Expression Language).
    JSF is a component based MVC framework which provides taglibs for use in JSP, the JSF core tags in <f:xxx> and the JSF HTML tags in <h:xxx>. Those tags generate HTML output and are tied to JSF component tree in the server memory so that the FacesServlet can work on them to gather request parameters, validate/convert them, update the model values (javabean properties), invoke some actions (javabean action methods) and render the response.
    You can use JSF on top of either JSP or Facelets. Facelets is another view technology. JSP is ancient and has its shortcomings when JSF comes into picture. Facelets is designed with JSF in mind and much more well-suited for it and provides great templating/composition capabilities to reuse specific groups of components without the need to wrap them in another custom component (so that you don't duplicate the same code over and over, e.g. label+input+message.

  • Jsp and asp integration

    This might sound like a stupid thing to do.
    If I have a main website developed in jsp and I want to pass information (variables) from it to another component of the same site developed in asp on a separate server is this possible?
    If so how might one do it?
    Many thanks
    Paul

    It's not a stupid question! You can even have both ASP and JSP on the same server - IIS! Of course, you have to have JSP container installed to process your JSP/Servlets.
    How to do that? Install IIS (Microsoft Internet Information Server) (usually working on standard web port 80), also install Tomcat on the same server. After that you have to install ISAPI filter on IIS. That's the component that will filter all HTTP requests for pages with JSP extension from your IIS server and redirect them on Tomcat for JSP/Servlet processing.
    E.g. if you have installed ISAPI filter for Tomcat container and you have INFO.ASP and INFO.JSP on your site. IIS will process ASP and send the result to your client. Also, if client requests INFO.JSP, ISAPI filter will recognoze from HTTP request that this client is asking for JSP page and it will redirect this request on Tomcat which will process this JSP and return the result to the user again.
    APS and JSP pages can communicate among each other through POST or GET methods. For example if you request INFO.ASP?user=John or INFO.ASP?user=John both of them are capable of dealing with parameters (user) and each of them can redirect request to other one.

  • SQL Server and TFS integration: can't see TFS SQL Server project

    Hi:
    From SQL Server Management Studio 2012 FILE-> OPEN FROM SOURCE CONTROL -> SQL Server doesn't recognize the SQL Server Project in TFS I specify; I have carefully checked that the project files are in the path specified. I have placed the solution/project
    additionally into the VS Studio 2012 path -> whatever path I point to, SQL Server is unable to open the project and I cannot get to the checked in SQL source. Thank you for your help :)

    The problem is that SSMS doesn't see existing SQL server projects that are checked into TFS by others; I cannot get my SSMS instance to connect to TFS and see the existing projects and check them out. The tutorial is no help.
    Hi,
    According to your description, you could not add the project or solution to source control in SQL Server Management Studio 2012. I recommend you if you install and configure the Team Foundation Server MSSCCI Provider successfully. And check if you can launch
    the client (File >> Source Control >> Launch Team Foundation server MSSCCI Provider). If yes, I recommend you install
     the latest Cumulative Update of SQL Server 2012 , which can be downloaded from Microsoft website.
    In addition, if the error still exists, I recommend you post more details about error log for analysis. When you connect to TFS server, we need to verify if you supply the right information and sign-in credentials for your Team Foundation Server .
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Interesting single sigon application project using jsp and servlet....Help.

    A customer login's to my website using Enterprise login. I am supposed to have a link on my website to this other website(that also uses our Enterprise login details but hosted by other vendor/company on their server), and when I click this link the customes should automatically get logged in to this other website and get a welcome page(instead of login page).
    Below are the sequence of steps that the other website wants me to perform to get to his welcome page(i.e bypass his login page).
    FYI, I am planning to build a jsp page with a link to this other website. Can some body tell me how should I build the application(i.e) how jsp and servlets be build to interact to perform these operations. Any hep is greatly appreciated.
    1.When a user clicks on to other website link(available on my website), the browser generates an HTTP GET request to the Other website's session servlet. User's name is one of the parameters of this request.
    2.Other website receives the HTTP request and generates a unique session identifier for this user. An HTTP response to the end-user is then sent. The user's name and the session identifier are passed back as parameters in the redirect URL.
    3.The browser sends the HTTP request (GET) to the Verification Service that was specified in the redirect message. The parameters (user name and/or session id) will be passed as URL parameters.
    4.The Verification Service(of other website) authenticates the user. A redirect URL to it's sigon servlet(with parameter's User id and key) is then sent back to the user's browser.
    5.The end-user's browser will perform the redirect (performing an HTTP get operation to Other website's signon servlet with the username and the digest key).
    6.The other website will check if the parameter's passed is the same as the one passed earlier, if the user is who he says he is then he is redirected to the main page of the application.
    7.The browser will then redirect the user to Other website's main page (welcome.jsp).
    There seems's to be many calls to this other website that needs to be performed behind the scenes once a user clicks the link on my website.
    Please suggest and help me out.........
    Edited by: 836726 on Feb 21, 2011 3:41 PM

    Why are you trying to build a whole federated single sign on framework from scratch when you can just use/buy an existing and proven solution instead? There are a lot of security implication and trust issues involved for this so unless you already understand all of those I'd advise you not to re-invent the wheel. There are a lot of products available that do this. Try searching for '<vendor name> Access Manager' or OpenSSO.

  • Need help in jsp and struts projects

    hi
    i am using jsp and struts framework.
    in that i am putting values in session in one jsp and getting
    values in other jsp.i am having doud with how many values i will put in sessions and it will give any difficulty while running in servers.and i want to know any other equivalent way is there for sessions.

    hi
    i am using jsp and struts framework.
    in that i am putting values in session in one jsp
    jsp and getting
    values in other jsp.i am having doud with how many
    ny values i will put in sessions and it will give any
    difficulty while running in servers.and i want to
    know any other equivalent way is there for sessions.do u want all those vales at the same time? if not then u might use session.removeAttribute() method for trashing out the not needed objects.
    there are many ways of session handling.... passing as request param, also using hidden fields, else th URL rewritting...
    but all these are not efficient to be passed along if too many pages are using the same session objects. i believe u can also try passing it into an XML file and parse it out whenever needed. but i dont think thats feasible enough.
    hope it helps.

Maybe you are looking for

  • Music not playing in music app on IPAD 2

    My iPad 2 is just not playing music in the music app. I can click play, it says it is playing but the bar doesnt move to indicate playback and there is no sound. I've tried closing the app and restarting the device.  Does anyone have any ideas?

  • Internal Server Error (HTTP 500)

    I try to run a JSP but after publishing it to a Tomcat 5.5 localhost server, the error is Internal Error. I find no defect in the code. The code is given below : <%@page errorPage="errorPageJSP.jsp" %> <%@page import="teller.Teller"%> <%@page import=

  • How to calculate age based on current month and over the next 12 months in Webi 4.1

    Hi, I am working on a report where I need to show employees who turned 65 from the time the report is run to over the next 12 months.I have the 'Date of Birth' field available. I am using Bex Query as a data source and webi 4.1. How do I calculate th

  • Empty paragrpahs in a textflow cause runtime error when displaying the text

    Hello there, when I create a textflow which has empty ParagraphElements in it (i.e. a ParagraphElement without any children) I get this runtime error once I try to display the text in a container: Error: Error #2175: One or more elements of the conte

  • Use of straightening tool

    After using the straighten tool, I end up with the picture within its own borders the way I want, but it appears on top of another piece of white paper, and skewed on that white paper-how do I get just the straightened picture without it appeared on