How to create a login page for my client and a form so he can add/edit or delete information ?

I have a real state client and one of the pages is to show all the houses he is selling with their information.
And he wants to have a login page so that only him have permission to add, edit or delete a house from his web page.
Also when adding a new house i want to have a form(kinda like craigslist, ebay,amazon) so he can chose type of house,price,adress,  floor, used , new, etc...?
I hope i was specif enough.
thanks

If this was me, I would just create a log in page. Set the users default access level to 0 and then go into the database and set your's to 1. From there, I would have a page that only is accessable to people with a user access level > 0 .
On this second page, make a table where you can insert picture(s) of the house, as well as information about the house. Have this page insert records into a database.
Finally, you will have your house listing on a page that is a dynamic table, which populates itself from the database of housing pictures and information.
It involves some database work, but with the built in functions of Dreamweaver, it is simple. I would suggest however, that you store links to the pictures in your database as opposed to storing the actual picture, but that's more up to you.
By doing all this, you have made it so at any time, your admin, and only the admin, can log in, upload pictures and information about a listing, and have it go live to the site.

Similar Messages

  • Does anyone here knows how to create a login page thru JDBC?

    Anyone here knows how to create a login page which connect to database thru JDBC but not JDBC-ODBC bridge?

    Hi..pls you'll do people here a great good if you could explain yourself better..!
    Anyway if you are trying to connect to an Oracle Database you dont need the jdbc-odbc bridge as oracle provides a special driver for java applets/applications that is "the thin driver" and the "oci driver"..so if you are connecting to Oracle your connection will look like this:
    Class.forName("oracle.jdbc.driver.OracleDriver"); //not sun.jdbc.odbc.JdbcOdbcDriver
    Connection con = DriverManager.getConnection ("blah blah, blah");
    no need for the jdbc-odbc bridge.
    I hope i've answered your question.
    Thanks.

  • How can i create member login page for my site???

    I want to create login page for members on my site.

    Hi,
    Please refer to the following link Re: secure account login
    Regards,
    Aish

  • How to create a login page....

    Hey guys....i am working on a erm applocation....i want to create a pop up login page for my application....please tell me how to do it....

    J2EE allows you to declaratively manage security. And you're mixing up two different things, either you want a dialog box for logging in ( known as BASIC authentication ) or you want a login page ( known as FORM based authentication ). Both are easily swappable with minimum effort.
    Take a look at Chapter 32 here: https://java.sun.com/j2ee/1.4/docs/tutorial/doc/
    And Google J2EE security example/ tutorial/ whatever, you'll find lots of resources. If you have specific queries, you can always post it here in the forums

  • How to create a web page for a transaction code

    Hi All,,
    i ve created a T-code for a program and i want to put tat T-code in to web page or BSP page or as a web link.
    Is their any way to do that.. If yes,, please tell me the procedure of how to do it,,
    Thanx in advance,,
    Ill assign points
    Dinesh

    I wanted to call the transactio code from a web link or web page,, i ven't created any BSP or any web page,,
    Till now, i ve created a transactio code for a ABAP program,..
    i need to make it as a web page..
    regards

  • Plz help! How to create a login page

    Hi!
    is there anyone who knows to create a login page from java

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>login1.html</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <SCRIPT LANGUAGE="JavaScript">
    function validate(){
    if(document.form1.text1.value.length<1){
    alert("Please enter UserName");
    return false;
    if (document.form1.pwdtext.value.length<3){
    alert("please enter the Password");
    return false;
    return true;
    </SCRIPT>
    </head>
    <body>  <br>
    <form method="get" name="form1" style="" action="./logdb1" enctype ="text/plain" onSubmit = "return validate(this);">
    <p> </p><p> UserName:    <input type="text" maxlength="20" name="text1"></p><p> Password:      <input type="password" maxlength="20" name="pwdtext"></p><p>            <input type="submit" value="Login" name="loginbutton">    <input type="reset" value="Cancel" name="cancelbutton"></p><p> ForgotPassword?     SignUp</p>
    </form>
    </body>
    </html>

  • How to create a new page in SRM5.0 and return data

    Hi,Everyone,
        I want to create a new page,for example:
         when user select a po item,and then we want to create a custom button at po item basic data screen,when user click the custom button,
        we want to pop up a new page for our custom logic.at the pop up page,when user complete some data selection, and then the data should return or refresh to po item.
       And now,I have a question for that:
        How can i return or refresh data(for example,the price) to po item. I have create a bsp page for our pop-up page.
    Thanks.
    andy

    HI,Masa,
       Thanks for your reply. and it's a very useful ways.and i will consider for that way.
       But i think if there have any other way ?
       for example: i create a bsp page for our new page,and through the custom button of po basic item page. and that can realize.but how can i return data to the select item.
      Thanks.
    Regards,
    Andy

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • Running into Exception while Creating new Login Page for Security

    Hi,
    I am following ADF Developers Guide to create a new login page ,so that whenever a page is run , first it redirects to Login page first and on Button click it
    goes to the Original page which was run.
    This is my Login bean code for doLogin()
    public String doLogin(){
    String un = _username;
    byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
    try {
    CallbackHandler handler = new URLCallbackHandler(un, pw);
    Subject mySubj = weblogic.security.services.Authentication.login(handler);
    weblogic.servlet.security.ServletAuthentication.runAs(mySubj, request);
    ServletAuthentication.generateNewSessionID(request);
    //String loginUrl = "/adfAuthentication?success_url=/faces/viewactivityname";
    //sendForward(loginUrl);
    } catch (FailedLoginException fle) {
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Incorrect Username or Password","An incorrect Username or Password" +" was specified");
    ctx.addMessage(null, msg);
    setPassword(null);
    } catch (LoginException le) {
    reportUnexpectedLoginError("LoginException", le);
    return null;
    Now the Dev guide says that :: "Specifically, without specifying a view activity as the
    redirect target, command components, such as the commandButton
    component, will always return to the original page after login."
    Hence I have commented out the code for the call to sendForward().
    As soon as I press the button I am running into an error :: "javax.faces.el.EvaluationException: java.lang.NullPointerException"
    ]] Root cause of ServletException.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
         at oracle.sample.view.LoginBean.doLogin(LoginBean.java:60)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    These are the steps which I followed ::
    a) Created Managed bean class and registered it to adfc.config.xml
    b) Created a Custom Login Page say Login.jspx and created a DataBound Page say EmpDetails.jspx
    c) Made sure that My Login page is custom Login Page
    d) Command Button has the Action Property set to LoginBean.doLogin
    e) Configured security and has only one user, no roles and assigned the user to access the page
    e) When I run EmpDetails.jspx , I am redirected to Login page as expected but as soon as I press
    Login "CommandButton" it throws this error.
    Any pointers.
    Regards,
    Nikhil Misra

    Hi Puthanampatti,
    In that ase what would be my sendForward() mthod look like.
    Currently as per the Dev guide it is :
    private void sendForward(String forwardUrl) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    try {
    ctx.getExternalContext().redirect(forwardUrl);
    } catch (IOException ie) {
    reportUnexpectedLoginError("IOException", ie);
    ctx.responseComplete();
    I understand tat there would be change in parameters like sendForward(HttpServletRequest request,HttpServletResponse response,String forwardUrl),
    but how would the other parameters work.
    Regards,
    Nikhil Misra

  • How to: create a Login page with data tags

    hi, how could i create a jsp login page using the data tags.. and how to associate it with the other jsp pages that should be displayed in case of the correct insertion of the password .

    http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html

  • How to create relase stretegy diff for diff document and user specific

    Hello Experts,
                           I have created the release strategy for the PO with this i want that for different purchase order type i have different release  stretegy. Suggest me how to do this.
    Thanks
    Harmandeep

    hi,
    you can create a characteristic for the document type with BSART-CEKKO. then assign the different document types for different strategy  in classification while defining the strategy. so accordingly system will take different release stategy for different document type.
    regards,
    Anubhab

  • Diff login pages for NW2004s SP10 and EP7

    Hi
    there is one requiremnt to show diff login pages in one server.(for one portal)
    the evnironemnt is  NW 2004s SP10 and EP 7.
    so plesase let me know is there any way to slove this problem
    regards
    mmukes

    Hi Mukesh,
    Check this blog: Modifying The Logon Par(or customising the Logon Screen)
    Greetings,
    Praveen Gudapati
    p.s Points are always welcome for helpful answers

  • How to create a login certificate for BI launchpad?

    It is possible to create a security certificate (to store user name and password) and with it to be able to login to BI 4.1 launchpad without completing info at every session? just to confirm certificate (similar to SAP passport).
    I need a solution to allow different rights for multiple users, not a general baypass of BI Launchpad logon.

    you can configure SSO in you Env like:-
    SAP note:-1631734- Configuring Active Directory Manual Authentication and SSO for BI4 
    Also you can configure SSO though Siteminder.
    SAP note:-1766239 - How to configure Siteminder SSO in 4.0

  • How to create a Bool Option for Full Screen and Page Item in Mucow?

    Hi Guys!
    I was looking to create a bool option in Mucow widget options which toggles between Full Screen and a Normal Page Item .
    Example: Qooqee's Google Map Widget
    Need some help.
    Thanks in Advance

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • How to create a login funtion with different usernames and password to iweb

    Hi,
    Im looking for hours for a solution to create / add a function to iweb which allows users to login to a member area with their own user names and passwords.
    Is there a simple way to realize this? So far I know there has to be a file with all the user name --> password combinations, can I add such a file to my idisk and then get it working with my iweb site?
    Is such an idea in general possible with iweb?
    Thanks for your help!
    Message was edited by: Macusar08

    One possibility may be to use the free drop.io to privately share links to your iWeb site pages and/or iDisk files. +"Each 'drop' (...) can be password-protected and set to expire after a period of time, so you can share exactly what you want with whom you want for as long as you want."+ (source).
    Note that drop.io doesn't require an email address, name or personal registration to set up a "drop". And you can place data in either one drop or multiple drops. Each drop comes with 100mb of storage for free and you can have as many drops as you want without signing up.

Maybe you are looking for

  • Help with SQL statement in a coldfusion application

    I created 2 drop down list boxes one that contains the months and the second that contains the year. Right now my sql statement is Select * from job where releaseDate=#imageDate#. Now this was written in 2006 and I didn't know they were going to cont

  • Database in Dreamweaver

    I am a graphic designer with nearly no knowledge of coding and I would like to know if there is a way to either link a database created witha a third party app into dreamweaver and how, OR the existence of some extensions. I use Dreamweaver CS3 on Ma

  • Badi for va02

    Hi I am working on a workflow for approval of Credit memo request (CMR) As per my requirement i have to prevent anyone from changing the PO ie use transaction VA02 unless one of the approver requests the creator to change the CMR (the request will go

  • Query GL Account Segment Qualifier

    i would like to query the gl account code together with the segment qualifiers, some thing like select account_code, description, allow_budgeting, allow_posting, account_type, third_praty_control_account, reconcile   from .... what are the tables tha

  • Network question. Use coax for ethernet?

    I heard there's a way to use an existing coaxial cable for an ethernet connection? I have my iMac in our converted garage out back of the main house, and the airport/. internet connection inside the main house. I have them communicate wirelessly now