Web Application index page

How can I set the server that when user enters the usrl for example www.name.com, it goes automatically to the index page of my web application which is for example on: www.name.com/application/index.jsp???

But basically you have to change the web.xml file, and if you are using any ide eg: Netbeans, its pretty easy to fnd which is the tag you need to change.
MeTitus

Similar Messages

  • Unable to access java web application index page on Weblogic server 10.3.6

    Hi,
    I have deployed a Web application on Weblogic server.
    My war file is very basic with just a index page.
    I am able to deploy & access its index page properly in OC4J ( applicaton server on soa suite 10g ) and apache tomcat.
    But when i deployed same war file in weblogic am not able to access its index page, Getting below error:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.5.4 503 Service Unavailable*The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    status=Prepared, Consolidated State=Prepared, Target-Specific State= Prepared.
    what does Prepared indicates here?*
    Adminserver.log prints blow log when i try to access the index page
    ####<Dec 26, 2012 8:27:17 AM GMT> <Warning> <netuix> <soa-app-dev-01.am.health.ge.com> <AdminServer> <[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <501226496> <> <9b375c7445d8c121:79ee4f70:13bc880be7a:-8000-0000000000000209> <1356510437306> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3D*Weblogs*%2CType%3DAppDeployment%22%29.>
    My Deployment descriptors are as below:
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>Weblogs</display-name>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <description></description>
    <display-name>SOA11gLogServlet</display-name>
    <servlet-name>SOA11gLogServlet</servlet-name>
    <servlet-class>com.ge.healthcare.soa.logs.SOA11gLogServlet</servlet-class>
    </servlet>
    </web-app>
    ==================================================================
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>/Weblogs</wls:context-root>
    </wls:weblogic-web-app>
    ==================================================================
    Please help me to resolve the issue,its bit urgent.Let me know in case of anything else required to check and verify.
    Thanks in advance.
    Regards,
    Rahul Aahir
    Edited by: 978673 on Dec 26, 2012 4:22 PM
    Edited by: 978673 on Dec 26, 2012 4:32 PM

    In weblogic 10.3.6, when you deploy using console, you have to click on start button which appears in Deployments page.
    Your weblogic.xml file should be as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>/logs</wls:context-root>
    <container-descriptor>
    <index-directory-enabled>true</index-directory-enabled>
    </container-descriptor>
    <virtual-directory-mapping>
         <local-path>/opt/oracle/logs</local-path> (as per your path)
         <url-pattern>/logs/*</url-pattern>
         <url-pattern>*.log</url-pattern>
    </virtual-directory-mapping>
    </wls:weblogic-web-app>

  • How can I rename the "name" on "Web Application List " page

     I have a quesiton need your kindly help . I'm novice in this field
    on "Central Administration" website
    "Administration management"--->"Sharepoint Web Application Management"--->"Web application list"
    here will show all of web application mapping information
    Name                                             URL
    SharePoint - 24824                          http://home:8081/
    SharePoint - 80                               http://home/
    SharePoint Central Administration v3   http://home:8080/
    I want to change "SharePoint - 24824" as "SharedServicePortal", how can do it

    Unfortunately by central admin UI you cannot change a web application name.
    So there are two ways to do this
    First as suggested above you have to delete web app and recreate again.
    2nd one you can use powershell script to modify webapp name as below
    $a=Get-SPWebApplication | where {$_.Name -match "Old web app name"}
    $a.Name
    $a.Name="New web app name"
    $a.Update()
    Get-SPWebApplication | where {$_.Name -match "New web app name"}
    Hope that's helps you.
    Regards
    Soni K

  • Auto generate a web gallery index page in web module for output multiple galleries

    As an extension of a Web Gallery, it should be possible to create an entire gallery page with sub galleries in Lightroom. it will be great if it is also template based.

    See
    The Turning Gate for a template that does that.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
    See LR Links list at my
    Blog for related sites.

  • Forms, web applications, dynamic pages

    Hi.
    Can someone tell me what the best method is to create a form
    in DW? Correct me if I am wrong as I am quite new to this, but I
    see a lot of sites out there with different types of
    pages...they're using .aspx, .jsp, .php, .cgi, .html, .asp .cfm
    .........etc. Which one do you use??
    I want a form for contact info filled in & then you click
    a submit button & an email goes to your email listing all the
    fields & the entries of whoever filled your form. What is the
    difference of all of those mentioned above?
    Also what is the difference between .aspx & .asp?
    .html & .htm?
    Any help would be appreciated.
    Thanks.

    Forms can be html pages but once the submit button is clicked
    the form is
    usually processed on the sever hence the .asp. .aspx .jsp
    .php etc.
    Search google for active server pages. You can also look at
    the help file
    for info on database sites.
    Dave
    "Stella1251" <[email protected]> wrote in
    message
    news:gpmak2$ftb$[email protected]..
    > Hi.
    >
    > Can someone tell me what the best method is to create a
    form in DW?
    Correct me
    > if I am wrong as I am quite new to this, but I see a lot
    of sites out
    there
    > with different types of pages...they're using .aspx,
    .jsp, .php, .cgi,
    .html,
    > .asp .........etc. Which one do you use??
    >
    > I want a form for contact info filled in & then you
    click a submit button
    & an
    > email goes to your email listing all the fields &
    the entries of whoever
    filled
    > your form. What is the difference of all of those
    mentioned above?
    >
    > Also what is the difference between .aspx & .asp?
    > .html & .htm?
    >
    > Any help would be appreciated.
    > Thanks.
    >

  • Web module: Galleries index page

    Hello,
    There is one thing that I would like to see in lightroom: The ability to create an index that link to all available gallery. Each gallery link could also have an index of the first photo of each gallery.
    This would same me the trouble of having to create and maintain a gallery index by myself.
    Mickaël Rémond

    See
    DonRicklin, "auto generate a web gallery index page in web module for output multiple galleries" #1, 17 Oct 2007 5:16 am
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
    See LR Links list at my
    Blog for related sites.

  • Help please! Java application and web application...

    Hi,
    I have a problem with inserting a java application (Main.java) in a web application(index.jsp).
    I found a source demo of a drag and drop application on the Internet, but now I want to
    have the drag and drop application work in a Jpanel/JFrame in a webapplication.
    The drag and drop application code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Main {
        public static void main(final String[] args) {
            final ButtonGroup grp = new ButtonGroup();
            final JPanel palette = new JPanel(new FlowLayout(FlowLayout.LEFT));
            palette.setBorder(BorderFactory.createTitledBorder("Palette"));
            final MainPanel mainPanel = new MainPanel();
            mainPanel.setPalette(palette);
            for(int j=0; j<4; j++){
                final JToggleButton btn = new JToggleButton("Panel "+(j+1));
                palette.add(btn);
                grp.add(btn);
                btn.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        mainPanel.setAdding(btn.getText());
            final JFrame f = new JFrame("Drag and drop panels");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(palette, BorderLayout.WEST);
            f.getContentPane().add(mainPanel, BorderLayout.CENTER);
            f.setSize(800, 600);
            f.setVisible(true);
    class MainPanel extends JPanel implements MouseListener, MouseMotionListener {
        private JPanel palette;
        private String adding="";
        private SubPanel hitPanel;
        private int deltaX, deltaY, oldX, oldY;
        private final int TOL = 4;  //tolerance
        public MainPanel() {
            setLayout(null);
            addMouseListener(this);
            addMouseMotionListener(this);
        public void mousePressed(final MouseEvent e) {
            if( adding != "" ){
                setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
                SubPanel sub = new SubPanel(adding);
                add(sub);
                sub.setSize(sub.getPreferredSize());
                sub.setLocation((int)e.getX(),(int)e.getY());
                revalidate();
                adding = "";
                return;
            Component c = getComponentAt(e.getPoint());
            if (c instanceof SubPanel) {
                hitPanel = (SubPanel) c;
                oldX = hitPanel.getX();
                oldY = hitPanel.getY();
                deltaX = e.getX() - oldX;
                deltaY = e.getY() - oldY;
                if( oldX < e.getX()-TOL ) oldX += hitPanel.getWidth();
                if( oldY < e.getY()-TOL ) oldY += hitPanel.getHeight();
        public void mouseDragged(final MouseEvent e) {
            if (hitPanel != null) {
                int xH = hitPanel.getX();
                int yH = hitPanel.getY();
                int xDiff = e.getX()-oldX;
                int yDiff = e.getY()-oldY;
                int cursorType = hitPanel.getCursor().getType();
                if( cursorType == Cursor.W_RESIZE_CURSOR){           //West resizing
                    hitPanel.setBounds( e.getX(), yH, hitPanel.getWidth() - xDiff, hitPanel.getHeight() );
                }else if( cursorType == Cursor.N_RESIZE_CURSOR){     //North resizing
                    hitPanel.setBounds( xH, e.getY(), hitPanel.getWidth(), hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.S_RESIZE_CURSOR){     //South resizing
                    hitPanel.setSize( hitPanel.getWidth(), hitPanel.getHeight() + yDiff );
                }else if( cursorType == Cursor.E_RESIZE_CURSOR){     //East resizing
                    hitPanel.setSize( hitPanel.getWidth() + xDiff, hitPanel.getHeight() );
                }else if( cursorType == Cursor.NW_RESIZE_CURSOR){     //NorthWest resizing
                    hitPanel.setBounds( e.getX(), e.getY(), hitPanel.getWidth() - xDiff, hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.NE_RESIZE_CURSOR){     //NorthEast resizing
                    hitPanel.setBounds( xH, e.getY(), hitPanel.getWidth() + xDiff, hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.SW_RESIZE_CURSOR){     //SouthWest resizing
                    hitPanel.setBounds( e.getX(), yH, hitPanel.getWidth() - xDiff, hitPanel.getHeight() + yDiff );
                }else if( cursorType == Cursor.SE_RESIZE_CURSOR){     //SouthEast resizing
                    hitPanel.setBounds( xH, yH, hitPanel.getWidth() + xDiff, hitPanel.getHeight() + yDiff );
                }else{      //moving subpanel
                    hitPanel.setLocation( e.getX()-deltaX, e.getY()-deltaY );
                oldX = e.getX();
                oldY = e.getY();
        public void mouseMoved(final MouseEvent e) {
            Component c = getComponentAt(e.getPoint());
            if (c instanceof SubPanel) {
                int x  = e.getX();
                int y  = e.getY();
                int xC = c.getX();
                int yC = c.getY();
                int w  = c.getWidth();
                int h  = c.getHeight();
                if(       y >= yC-TOL   && y <= yC+TOL && x >= xC-TOL   && x <= xC+TOL  ){
                    c.setCursor(new Cursor(Cursor.NW_RESIZE_CURSOR));
                }else if( y >= yC-TOL   && y <= yC+TOL && x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.NE_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h && x >= xC-TOL   && x <= xC+TOL ){
                    c.setCursor(new Cursor(Cursor.SW_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h && x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.SE_RESIZE_CURSOR));
                }else if( x >= xC-TOL   && x <= xC+TOL ){
                    c.setCursor(new Cursor(Cursor.W_RESIZE_CURSOR));
                }else if( y >= yC-TOL   && y <= yC+TOL ){
                    c.setCursor(new Cursor(Cursor.N_RESIZE_CURSOR));
                }else if( x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.E_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h ){
                    c.setCursor(new Cursor(Cursor.S_RESIZE_CURSOR));
                }else{
                    c.setCursor(new Cursor(Cursor.MOVE_CURSOR));
        public void mouseReleased(final MouseEvent e) { hitPanel = null; }
        public void mouseClicked(final MouseEvent e) {}
        public void mouseEntered(final MouseEvent e) {}
        public void mouseExited(final MouseEvent e) {}
        public void setAdding(final String string) {
            adding = string;
            setCursor(new Cursor(Cursor.HAND_CURSOR));
        public void setPalette(final JPanel panel) { palette = panel; }
    class SubPanel extends JPanel {
        public SubPanel(final String name) {
            setPreferredSize(new Dimension(100, 100));
            setBorder(new TitledBorder(new LineBorder(Color.BLACK), name));
    }This application works with JFrame, but I want to display the JFrame in a webapplication (JSP Page).
    I'm using Netbeans 6.0 (GlassFish) to create webapplication using Visual Web JavaServer Faces.
    So in summary:
    How can i display the drag and drop application into a JFrame (better in a JPanel) in a webapplication (index.jsp)??
    Hope you can help...
    Thanks in advance...
    Greetings,
    Rajsh

    So have an applet that opens a JFrame... JSP or not has nothing to do with it, since it's nothing but HTML the client gets.
    You can't have a JFrame embedded in an HTML page. And if you could have an applet but don't know how to get that copied code to fit inside (I mean, content pane is content pane), you might want to consider learning how to do that.

  • Deploy Web Application

    Dears,
    I developed a web application and it's time to deploy it,
    i know that i can host it on any web server (currently i am using Apache tomcat) and then type the url .
    but i want to see my web Application home page when i open start->All programs to click on the web page and open it directly
    Is there any tool that can enable me to do this...
    can any one help me in this issue?
    Best Regards,
    Marwa

    Web-start technology is for launching client side
    applications and applets, not web applications.
    For the types of forums that deal with J2EE, see here..
    http://forum.java.sun.com/category.jspa?categoryID=20

  • Not opening the index page of WAS(web application server)

    Dear All,
    I have installed ABAP Stack and Java Stack. After installing I have tested WAS (Web application server) is working or not by giving http://localhost:50100/ in browser, but getting the error says "page can not be displayed" instead of opening index page.
    Kindly share it if you have any idea regarding this.
    While installing Java Stack, I got the following error while installing MAXDB (phase 9 which is "Install database server software" of 32).
    ERROR 2007-05-17 17:46:02
    MDB-07020 The database installer reported an error. Some database applications are probably still running. Check the log file sdbinst.log.
    So, I have uninstalled MAXDB and continued Java Stack installation. Uninstallation of MAXDB could cause this problem or somthing else ..
    could u please let me know if anyone has any idea...regd this
    Kishore.

    Hi Kishore,
      On your server, please open Management Console MMC (Start -> Programs -> SAP Management Console), and if your system is not shown with the green light, right click it and select Start.
      Also, can you please confirm that the instance number of your J2EE engine is 10.
    Best regards,
    Laziz

  • How to change the index page of tomcat to a specific page in a  web app.

    hi all
    i am trying to figure out a way to change default application to a specific web application deployed in tomcat, so that when you type localhost:8080, it will start with the web app. basically i want to get ride of the context or map the context to the default page. i.e. map this http://localhost:8080/example/ to http://localhost:8080/. thanks.

    maybe i didn't explain myself clearly as to what i needed to do.
    i have created a web application and deployed into tomcat 5.5 with a context of "example". the path looks something like this: $catalina_home/webapps/example. in order to access the application, i need to type http://localhost:8080/example in the browser. is there any way to change it so that when i type http://localhost:8080, it will take me to my web application without accessing the tomcat index page.
    thanks.

  • IIS 7.5 URL Rewrite: Hit specific page of a web application but should be redirected to another application's page

    I have deployed 2 different web application on IIS 7.5 running on Windows Server 2008 R2 but on different port numbers i.e. one application deployed on port no. 1776 and another on 8091. I want to rewrite URL in such a way that if i hit any page of first
    application such as default.aspx then it will be redirected to particular page of another application along with some changes in url.
    Example: if i access any page from first application like:
    http://g2wv126rbsc:1776/sites/main/commercial/commercial-solutions/financing/default1.aspx
    then it should redirect to specific page of another application along with some changes in url:
    http://g2wv126rbsc:8091/main/commercial/commercial-solutions/financing/default2.aspx
    Note: In above mentioned url, also removed "sites".
    I tried to create a inbound rule through URL Rewrite module (installed on IIS 7.5) by selecting Action as "Rewrite" but didn't find any success.
    I need some examples if anyone has come across same kind of issue.
    Thanks in advance.

    Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).

  • Error-page tag not valid in global-web-application.xml ?

    Hi!
    From what I understand about the global-web-application.xml file in Oracle's documentation, the content of the web-app tag should be inherited to all web application as a web.xml content.
    One of the web.xml tags is error-page, which contains the page url for the standard return codes (404, 500, and so on).
    If I put the error-page on the web.xml inside a web application, it works as expected.
    But if I don't put this tag inside the web applicaction, but in the global-web-applicacion.xml (web-app) tag, it doesn't work.
    We are testing the 404 error page, but I don't know if it is because the application server can't find the error page or because the global-web-application.xml isn't being inherited correctly.
    Where is this file supposed to be looked for? Or the only way to do this is by writing the configuration on all web applications?
    We are using 9.0.3
    Franco Catrin L.
    TUXPAN

    Just refreshing... Does anyone have any idea?
    Daniel.

  • I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded

    Here is a ticket regarding our current client web application (  Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
    503 error occurs. 
    . Below is a conversation with Host Server support assistant.Can you take a look at it? 
    Ben (support) - Hi 
    Customer - We're having an issue with our windows host 
    Ben (support) - What's the issue? 
    Customer - 503 errors 
    Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error? 
    Customer - no, it comes and goes without any change Customer - could you have access to any logs ? 
    Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections 
    Ben (support) - You can review more about this at the link \ 
    Customer - probably yes - how can we troubleshoot ? 
    Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once 
    Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner 
    Customer - we're low traffic, this is an image DB to show our product details to our customers 
    Customer - ahhhh, so we could have straying sessions ? 
    Ben (support) - Correct Customer - any way you could check if it's the case ? 
    Customer - because it was working previously 
    Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay. 
    Customer - so our 2/3 max concurrent users can max out the 200 sessions 
    Customer - correct ? 
    Customer - is there a timeout ? 
    Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
    do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine 
    Customer - thank you so much 
    Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months 
    Customer - any changes from your side ? lowering of the value maybe ? 
    Customer - I'm trying to understand what I can report as a significant change 
    Ben (support) - We haven't touched that limit in years 
    Ben (support) - This could just be more users to your site than normal or even more images 
    Customer - I was thinking that could be it indeed 
    Customer - so I need to research how to quickly close connections when not needed 
    Ben (support) - Correctly 
    Ben (support) - correct 
    Customer - thanks !! 
    Ben (support) - Your welcome 
     Analysis : 
     The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors. 
     From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks. 
    Cheers, 
    Customer

    Hi Md,
    Thank you for posting in the MSDN forum.
    >>
    I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
    Since
    Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
    To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
    If yes, I suggest you could post the issue directly on
    ASP.NET forum, it would better support your issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to post a XCelsius in the BPC Web Application Getting Started page

    Hi Experts,
    I'm new using BPC 7.5 on NetWeaver. When opening the Getting Started tab in the BPC Web Application there is a white page that I would want to fill with content. This content should be a XCelsius Dashboard linked to the Query or InfoCube on which I`m planning. Creating the XCelsius Dashboard is not the problem, but to insert it in the Getting Started panel of the BPC Web application. Has anyone an idea how to do it or how to proceed. Ideas or a little how-to would be perfect.
    Thanks very much in advanced,
    Àlex

    Hi.
    Try this...
    const string LIST_PAR_NAME = "lu";
    string listName = string.Empty;
    if (this.Request.Params.AllKeys.Contains(LIST_PAR_NAME))
    listName = this.Request.Params[LIST_PAR_NAME];
    else
    throw new ArgumentException("Par lu is not present.");
    SPList listExport = web.Lists[listName];
    However take a look at this
    http://zsvipullo.blogspot.it/2013/10/get-splist-from-internal-name.html?q=getlist
    to check how GetList method is faster than web.Lists[].
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • Scale out sharepoint server search to index server and Microsoft SharePoint Foundation Web Application to new server

    Hi
    in my single server these below service are running:
    SharePoint Server Search 
    User Profile Service 
    Microsoft SharePoint Foundation Web Application
    here how i scale out  Microsoft SharePoint Foundation Web Application  to another server
    and  SharePoint Server Search  to new index server.
    adil

    Check here to see how to add servers to the farm:
    http://technet.microsoft.com/en-us/library/cc261752(v=office.15).aspx
    What Inderjeet meant was that if you chose to install SharePoint as a single server instead of a complete farm, you won't be able to add servers to the farm at a later time. You can check if this is the case by checking the registry key he mentioned. If
    that is indeed the case, there's nothing to it but reinstall the farm.
    So that is why you never should choose the single server option, it locks you in and limits future options, while choosing to install sharepoint as a complete farm it's still perfectly acceptable to host it on a single server.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

Maybe you are looking for

  • DAC - Mark as completed - From Command Line?

    I have a exec plan which has around 50 tasks... This exec plan starts when a source file is posted in source file folder. We have a .bat file which checks for source file, once it find the file, it starts exec plan. .bat runs in loop, so once file is

  • Leave iPhone in charger when not in use?

    Can you overcharge an iPhone? Shall I keep it in the charger when not in use? Thanks!

  • Flex 2 question. Just want to know

    Hi, I been studing Flex 2 for few days. I hear more about cold fusion and flex 2 (Cold fusion as back end) . 1- Why cold fusion is good to use with Flex 2 for backend, mailing etc? 2- Does Flex 2 have its own component that give back end support for

  • How to remove virus from words with friends?

    Recently when I play words with friends the app opens up my safari browser to the following address but it is blank. "Cdn3.doubleverify.com".  I downloaded all my apps from the App Store and I thought they were supposed to be "virus free". Can anyone

  • Lightroom 5.7. How to create custom color labels.

    I would like to create custom color labels. I have created names for five colors, but the "custom" color (white) does not appear to be customisable Any ideas? Ideally I would like two more color labels.