Change the initial page

Hi, i create a new smart project... and the first page is: overview_syncboinstances.jsp
I want change the first page by another that i have... How can i do it?
Thanks,

Hi Victor,
as you create the WAR file in MDK you are asked for a url pattern. This is set to /start at default value. If you then have a look into WEB.XML file in the WEB-INF folder, you foind:
<servlet-mapping>
   <servlet-name>start</servlet-name>
   <url-pattern>/start.jsp</url-pattern>
</servlet-mapping>
change it to
<servlet-mapping>
  <servlet-name>start</servlet-name>
  <url-pattern>/ownPage.jsp</url-pattern>
</servlet-mapping>
and it will use ownpage intead of start.jsp
Hope this helps!
Regards,
Oliver

Similar Messages

  • How to change the initial page without open safari

    Hi everybody,
    I have problems opening my safari because of the plugin silverlight. I defined a tvair.swisscom.ch page as initial and it makes an error open it. it means that my safari doesn't work at all.
    i want to know if somebody knows how to change the initial page from safari without open safari and solve this problem.
    thx
    cheers
    nun

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.Safari.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test. Optionally, restore the file from a backup that predates the problem.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Can't change the master page after upgrading to SharePoint 2013.

    After upgrading our farm to SharePoint 2013 we are having trouble changing the master page for sites that don't have sub-sites. We are still using the v4 UI version, and that appears to be what is causing the problem. The error we get when going to /_layouts/ChangeSiteMasterPage.aspx
    is:
    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaChromeSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I took a peek at the source code for AreaChromeSettingsPage.OnLoad and found that it references a CheckBox control that does not exist in the v4 ChangeSiteMasterPage.aspx:
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    this.EnsureChildControls();
    if (!this.Page.IsPostBack)
    this.LoadValues();
    if (base.Web.Webs.Count == 0)
    this.resetSystemMasterPageSubSitesCheckBox.Visible = false;
    this.resetSubSitesCheckBox.Visible = false;
    this.resetAlternateCssSubSitesCheckBox.Visible = false;
    this.resetThemeSubSitesCheckBox.Visible = false;
    base.ConfigureCancelButton(this.BtnCancel);
    If I manually add a checkbox control with the ID "resetThemeSubSitesCheckBox" to a hidden panel in the v4 copy of ChangeSiteMasterPage.aspx the page works, but obviously this is not a best practice. How can we fix this without upgrading the UI version, which
    we are not yet ready to do?

    Thanks Mike - Could you please share what is your next step then? I also have custom master pages and layout but I am going to make new master page and layout in 2013 as we need to change the existing branding too. so, i upgrade the site collection. I understand
    the Look and Feel will not persist after the upgrade but I am concern that at least the page should show the content on the page after the upgrade. The page had Calendar webppart on it but after the upgrade it is coming blank.
    any suggestion?
    Regards,
    Khushi
    Khushi

  • My mum set up an iCloud account and forgot the password, and this caused me to create a new account. The new account works for the App Store and all that, but I can't change the initial iCloud account without the password. Help?

    My mum set up an iCloud account for my iPhone 4 but forgot the password. This caused me to create a new account, and it can be used for the App Store and iTunes and all that, but I can't change the initial iCloud account (the one my mum made). My device keeps prompting me for the password every few minutes after updating to iOS 8, and I've tried every option possible to retrieve the password, but I don't even know the answers to the security questions and I can't find the password reset email anywhere and I don't know the back up emails my mum used. I literally cannot find any legitimate way to sign out of the initial iCloud account without entering a password (which neither I nor my parents know). Is there a way for me to retreive the password or change to my new account without the password?

    See:Creating an iCloud account: Frequently Asked Questions and How do I mange iCloud account about 3/4s of the way down.

  • How can I change the initial value of the field approve_or_reject?

    Hello Workflow Gurus
    We are using SRM 5.00(SRM SERVER 550) and as per the requirement, I have to make the Reject radio button as default checked on the Approver's screen.
    We are using the SAP Standard Workflow WS14500015.
    I found out the Standard task TS14508044 (SC approval per Item)which has one field in its container i.e. approve_or_reject ,based on the Initial value of this field , the radio button is behaving...
    approve_or_reject EQ 0 i.e. Approve
    approve_or_reject EQ 1 i.e. Reject
    Now my requirement is to change the initial value of this field from 0 to 1 so that Reject radio button comes as checked by default into this standard SAP workflow task TS 14508044...
    Kindly help me and let me know the procedure to change this.
    PLEASE LET ME KNOW THAT IS IT WISE TO MAKE THE CHANGES INTO STANDARD SAP WORKFLOW ???
    Thanks and regards
    Ankur Goyal
    09823448654

    Well Iam not much sure about how you are trying to approve the shopping cart workitem b ut last week i faced a similar issue while apporving the workitems I was able to update the contianer element Apporve_or_reject element by using the FM BBP_PDH_WFL_WI_APPROVE and BBP_PDH_WFL_WI_REJECT ... These two fm will take the responsibility of updating the element with respective value as, if you approve the it will be populated with 0 and if you reject the the element will be updated with 1....
    Please check the thread where I updated the thread in [SRM Workflows|Problem while approving SC from Blackberry !;
    PLEASE LET ME KNOW THAT IS IT WISE TO MAKE THE
    CHANGES INTO STANDARD SAP WORKFLOW ???
    Modifying the standard workflow is not recommended.....

  • How can I change the initial iCloud account without reinstalling?

    i install mountain lion, and set up the icloud with a new @icloud account, however, I have a @gmail account already and used on my iphone4, I want to share information between these devices, so I log out @icloud and log in with @gmail account, contact information is OK, however, when I use the messeage, mac use @icloud to send message, can I change the initial icloud account or should I reinstall?

    You can change the Apple ID in the Users & Groups preference pane.

  • How can I change the default page for a book?

    I have a book that contains six pages. One of the pages contains the login portlet while the others contain account specific information that a user can only see if they are logged in. Currently, I have the default page set to the login page.
    I am attempting to write a backing file for the book that will esentially change the default page for the book to be one of the other pages if the user is already logged in. In effect showing a logged in user their account summary page instead of the login portlet.
    I can't seem to find a way to change what page the user is shown with the book and page context classes. I can hide the login page, but this leaves the user looking at a blank page. Unfortunately I can't use entitlements, otherwise this would be easy.
    Does anyone know how to "forward" to another page from a backing file?
    Thanks,
    Sam
    Message was edited by:
    straubse

    Got it!
    In your backing file you'll need the following in your handlePostbackData method:
    BookBackingContext bookCtx = BookBackingContext.getBookBackingContext(arg0);
    bookCtx.setupPageChangeEvent("PageLabel");

  • I have completely lost my safari.  I was getting an error and I lost the address bar.  I tried to fix it by changing the home page on the preferences.  I don't know what to put in the home page now.  How do I get safari back?

    I have completely lost my safari.  I was getting an error and I lost the address bar.  I tried to fix it by changing the home page on the preferences.  I don't know what to put in the home page now.  How do I get safari back?

    I tried editing my first post but couldn't get there...
    If you can open Safari go to the top of your screen, click Safari / Preferences then select the General stab. You can type in the web address for your Home page there.

  • I loaded a jZip programme, now whenever I start Firefox it open with the jZip search page and I can't permanently change the home page to my own selection. How can I get rid of theis iZip home page

    I have tried all the optons to change the home page, but when I exit from Firefox and restart, it will revert to the iZip search engine home page. I even deleted the izip search engine reference from the searchplugin directory but with no success

    You can open the <b>about:config</b> page via the location bar and do a search for <i>jzip</i> via the Filter at the top of the about:config page.<br />
    You can reset all <i>jzip</i> related prefs via the right-click context menu to their default values.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use the Filter bar at to top of the about:config page to locate a pref more easily.

  • Change the Default Page Size for WebI

    Hello Experts,
    We have requriement where we need to change the default page size and margins for WebI, I have change the page size in defaultconfig.xml but don't see any options for Margins, How do I change the default margins?
    Any help or suggestion would be highlt appereciated.
    Thanks,
    Nishith

    From what I am finding it doesn't seem to be possible in 3.x, I could be wrong and someone might chime in with a workaround but at least it was added in 4.0
    -Dave

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to change the web page title of a web dynpro app?

    Hello,
    I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
    Thanks for your comments!

    Hi M Walter,
    Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
    Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
    The title you gave to this Window will be displayed as the title of your Web page.
    Regards,
    Ajay

  • How to change the print page setup in IE using javascript

    dear all,
    I want to take print out envelope paper size, so i want to chnage the page setup in IE
    i want to change the print page setup in IE using javascript

    I think, you can do this using CSS.
    http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html

  • How to change the logon page text colour?

    Hi experts,
       I need to do 4 changes in the logon screeen
    1.the "user name" and "password " to "User Id" and "Pass".I have changed this in "umelogonbase.jar".
    2.Change the colour of the two texts(white colour)
    3.with black as background for the userid and pass label and textfield in the left side of the page
    4.Also the background of the screen of the logon page with a company pic ;
    I am following the below
    http://wiki.sdn.sap.com/wiki/display/EP/ModifyingtheLogon+Page
    Kindly help in this
    Naga

    When you follow the steps outlined at the Wiki page, what exactly is where you receive an error? You'll have to change the JSP page of the logon to insert your changes. Have you done this and the changes are not reflected?
    br,
    Tobias

  • How to change the initial value of the list.

    Hi,
    I have to change the initial value of the list.In the 'When-new-block instance' trigger, i wrote the following:
    set_item_property(list_id,initial_value,
    '2000');
    But when I run the form, it says this property is not recognised.
    I need to change the initial value.
    Please help me out.
    Thanks
    Viji.

    Do you mean the default value ?
    Set_item_property('list_item_name', default_value,2000);

Maybe you are looking for