Generic Online Store using Servlets or jsps

Ok first of im really new to Java and im in an advanced course for software development. My current project is to creat an HTML frontside of the simple store. And if this is in the wrong forum plesae sugest what forum to post it in, Im new to the forum as well.
here's a picture of my frontside.
http://i7.photobucket.com/albums/y291/dayv2005/page.jpg
Im using netBeans 5.0 and im starting with creating an item bean for the items on my page. There im getting pulling the parameters from the form on my page.
Now i want to creat a basic store from that and creat a session and a shopping cart for my project.
I was wondering if ne one could help me out with some advice or even some tutorials for what im trying to do. Tutorials seems to help me out a lot and dont worry im not trying to ask someone to do the project for me but ne help is apprecieated thanks in advance.

Ok let me restate this that pet store wasnt the same idea i was going for.
Ok i have forms on my web page i named the forms textbox and add to cart buttons. Now what i want them to do is some how submit to my servlet and my servlet will have a shopping cart session to keep track of what they bought and stuff like that. Thats more or so what im look at just somehting basic useing servlets i think im gonna stay away from jsps for now. Just somehting basic with no DB or JSP just html and servlets.
how about can anyone help with that

Similar Messages

  • How can I create a Online Store using Muse? (with not Business Catalyst)

    How can I create a Online Store using Muse with not Business Catalyst for example three services
    _ttps://orders.self-pub.net/checkout.php?m=fastcheckout
    _ww.self-pub.net/services/covers.html

    Hi,
    Unfortunately there is no option stand alone in Muse to create an online store. However if any hosting plan uses CMS feature like Business Catalyst and ecommerce using modules and tags, you can use the same proceedure as for Business Catalyst and integrate that system and host the Muse site on their platform and that would work.
    There is other thing that you can try is, Insert HTML codes to link the pages and some contents in Muse to your desired CMS. What you can also do is after you create the site in Muse, you can export the Muse site and get the layout and design of your site and copy paste the codes for pages with some HTML and coding skills to integrate with your desired hosting.
    Hope this helps.
    Regards,
    Rajan

  • How can I create a Online Store using Muse?

    How can I create a Online Store using Muse?
    I have been looking around for solutions but I can't find one.
    I was just hoping that someone else might have known of a way.
    Thanks!

    Since you can access the Alpha File Manager it means the option to "Enable online content editing (incompatible with Muse)" is ticked up under your profile details. With this enabled you can create Web Forms under Site Manager. Once you create the contact form open the Alpha File Manager (AFM), select the page where you want to insert this and choose the Web Forms from the right hand column. On the pop-up window select the web form to insert and click Insert.
    Regarding the upgrade, as long as the site is in trial mode you can choose any plan for the site, see my answer #7. Create a new trial site, choose the link to the new trial site created from PP and publish your site there for testing purposes so you will have ecommerce included and available for you to try out.
    If things go well you can request an upgrade to your current site to have the ecommerce included (the only situation in which this upgrade won't be available is when the site is published on one of the 5 sites received with the CCM subscription, they are webBasics and cannot be upgraded: http://www.adobe.com/products/creativecloud/publish-anywhere.html under "Publish websites" section, and the option will be to create the site from partner portal and publish the content from Muse)
    At this moment indeed there's little documentation on how to integrate the two but this is because Muse is just not ready to take advantage of BC capabilities. It was never intended for CMS features of BC to be available in version 1 of Muse. This has already been mentioned a few times (one relevant example: http://forums.adobe.com/message/4355214#4355214#4355214)
    Regards,
    Cristian

  • URGENT.........File Upload using Servlets and jsp

    I am a new servlet programmer.......
    iam using tomcat server......
    can any one pls help in writing code for file upload using servlets and jsp without using multipart class or any other class like that....
    Please URGENT..

    Slow down! "Urgent" is from your perspective alone. I, myself, am not troubled or worried in the least.
    hi ugniss
    thanks for ur reply....sorry i was not
    y i was not asked not to use multipart class or any
    other class like that...is there any other
    possibility to do file uploading from jsp to
    servlet...
    Just as an aside, a JSP is a Servlet. But even if I move beyond that, the question does not make sense. If you want a "JSP to upload to a Servlet", then simply do so in memory. You are still (likely) within the same scope of a given request. However, if instead you are referring to a JSP that is displayed on a browser, then really you are talking about HTML, which is what the browser will receive. And since you are now talking about a browser, your only real, viable option is a multi-part file upload. So, it is either server or it is browser. And either way, the question leads to very established options, as outlined above.
    the main concept is.. in the browser the user selects
    a particular file and clicks the button upload..after
    clicking upload the jsp should sent the file to the
    servlet in streams...there the servlet gets in and
    saves in a server location........this is wat i hav
    to do...
    Okay. So, after reading my previous (redundant) paragraph, we have arrived at the crux of the issue. You have a JSP that will be output as HTML to a client (browser) which you want to upload content to your server (handled by a Servlet). So, you are now stuck again with multi-part. The requirement to not use multi-part is non-sensical. You can overcome it, say, if you write your own applet or standalone Swing client. However, if your users are invoking this functionality from a browser, you are limited by the options that W3C has provided you. Use multi-part.
    is there aby possibilty to do this.....can any one
    pls help....Take the advice to download and review Jakarta Commons FileUpload. Inform your management that their requirement makes no technical sense. Research on your own. There are dozens of examples (and tutorials) on file upload using multi-part. Embrace it. Live it. Love it.
    - Saish

  • When to use servlets and jsp in an application like  shoping cart?

    Hi All
    I m going to design and implement a web application using servelts and jsp. I am still at its requirements analyze stage.
    The application is almost likely a shopping cart. So if any of you have the deep knowledge about this domain with servlets and jsp please help me for a good design. What I realy need to know is that
    1. what are the core requirements for a shoping cart ?
    2. use cases ?
    3. best way to follow mvc with servlets and jsp for it?
    you can answer to this at the abstract level. no need to go in detail.
    if you have any documents like design and use cases mail me to [email protected]
    your cooperation is highly appreciated in this regards.

    Look into this kid
    http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.htm

  • Implementing an online store using iweb

    I understand that iWeb isn't really designed for creating online stores, but it's the only application I have real experience in using.
    So I was wondering if there's anyway to implement an online store into my iWeb website.
    I have heard some talk of somehow implementing an oscommerce application into the website?
    Any help would be much appreciated!

    Here's a few suggestions....
    http://www.iwebformusicians.com/DistributeandPromote/ECommerce.html

  • User Authentication using Servlet and JSp

    Hi,
    I am developing a web app where i need to implement user Authentication to allow members to view and upload files on a certain directory say /data
    For this i am using a servlet as a controller which then forwads request to other jsps/servlets based on user response. I tried using servlet mapping in web.xml so that all browser requests would be directed to controller servlet and would branch from there on. However the problem all RequestDispatcher.forward() requests redirected to the servlet putting it in a loop.
    Is there another way to achieve this. (Apart from using form-based Basic Authentication).
    I am using Resin 1.2.8 servlet/jsp container.
    Any response as soon as possible would be appreciated.
    Thanks,
    Kushagra

    RequestDispatcher.forward() cause the HTTP request to be sent through the request processing flow as if the original request for the resource being forwarded to.
    It seems the servlet mapping you are talking about in web.xml should be made more specific. i.e. the mapping should be such that only your so called controller servlet will match up.
    You might want to specify the mapping for the controller servlet to be noticeably/effectively different from the mapping for other servlets and JSPs.

  • How do I send E-Mail using Servlet or JSP?

    Hi friends,
    Anybody can you please tell me how do I send an email in Servlet or JSP?
    Do I need any special configuration to check in my server space?
    I am puzzled because after surfing on net, I found that some people sending email with Javamail and Activation API
    and some people sending email using import="sun.net.smtp.SmtpClient";Please give me some simple direction or any working code if possible.
    Thanking u,
    ---Sujoy

    What you need is a working SMTP account to be able to send email, that is accessible from the server. If you have that, simply use JavaMail.

  • How to use servlets and JSP for my homepage?

    servlets and JSP are server-side program. If my homepage is on some web-hosting websites, can I upload the servlets and JSP to run it? if possible, where can I find such a web-hosting place?
    sraiper

    Not many hosts offer JSP or Servlet support (and some do but then stop and never give you a refund, grrrrrrr!!!!).
    Also, ones that do support it can often be more expensive. There are some free ones but all the one's I've come across have problems that made them unsuitable for my needs.
    Here is a list of hosts that support Java:
    http://www.thejspbook.com/resources/category.jsp?id=1005&name=JSP+web+hosting
    I can't comment on any from that list, however I use http://www.positive-internet.com they are a bit pricey but they have excellent support and are always happy to help with any Tomcat (the JSP/Servlet server they use)configuration issues or needs that you may have.

  • Download local file using Servlet and JSP

    Hello,
    I will like to use a browser to download file on local system using serlvet and Jsp technology. Does anyone have any idea how to do it?
    Any comment will be appreciate.
    Thanks

    Well you can just put the file in a folder that is accessible to the web server. Then have a link point to that file. That will cause the web browser to download the file.
    hattan

  • File download using servlet and jsp. File Dialog comes twice

    Hi
    I was trying to download a file using servlet. There is a link which calls the servlet. When I click on the link file dialog box comes up. On selecting Open it again shows me the file dialog box. I changed the method from POST to GET and it worked properly.
    My question is why does it work with GET and not with POST. I am aware of the differences between POST and GET but am not able to come to a rational explanation for this behaviour.
    Please if anyone can explain this to me I am going crazy thinking an answer for this.
    Thank you.
    Regards
    Jay

    Hi Jay,
    I also have the same question. Why does it work with GET and not for POST?. If you were able to find the answer please let me know.
    Thank you.
    Regards,
    Aravind

  • Servlet or jsp for online ordering system?

    i'm new to servlet and jsp. i'm going to develop and online ordering which is still thinking to use servlet or jsp. If i want to develop a web-based ordering system with nice interface and most data will be retrieve from database, should i go for jsp? If choose servlet, will servlet able to do what jsp able to do?
    thanks

    If you're going to use JSP, only use it to produce HTML output. For complex logic like database access, use servlets. I suggest you have a look at this tutorial:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html

  • Sending thumbnail of images to client on request using servlet/jsp

    hi
    can anybody tell me how can we send thumbnail of more than one image to client using servlet or jsp just the way we thumbnail of images in google

    Then create a servlet which uses Java 2D API to rezise the image and writes it to the outputstream of the response. Call that servlet in the <img> tag along with an unique request parameter identifying the image.

  • How can I file a formal complaint with the Apple Online Store Canada?

    I've spoken to two customer service representatives at this point about an order that I cancelled within a half an hour of placing it, as I was initially unaware that the product I purchased would not fit my sister's iPhone. As stated in the Cancelled Order portion of the following page: http://store.apple.com/ca/help/viewing_changing_orders#cancel, I should NOT have been billed for the order. I was billed last Friday and am still yet to receive the refund, despite the fact that the first rep I spoke to advised that my money would be refunded in one day. The statement on the link I provided is completely misleading, as well as the email I received stating that I would not be charged at all. Someone with Apple must amend this statement on the website and the automated emails, as it could be considered legally misleading. I will in no way be pursuing any legal action, as I don't have the time and I'm only out $90.00, but I can't imagine having purchased the MacBook that I wanted to purchase prior to this incident and going through an ordeal like this again. Can someone please advise who I should contact and where I can find their contact information please? I love the apple products that I own and would hate to discontinue my customer relationship with the company.

    Also, please remember that no refund from any store is instantaneous. They will process the refund, probably within 24 - 48 hours. After that, your bank/credit card company has to credit your account....... mine takes at least 3 business days to do so (the banks are very efficient in posting charges, but like to keep the money for a couple of days before giving it back to you - they've been doing that for years).
    Edit: I just checked their return/refunds policy and it includes this:
    Once we receive your item, a refund is initiated immediately. If you canceled a pickup item, and you were billed for it, we initiate your refund immediately after you submit your cancel request. The way your refund is processed depends on your original payment method:
    If you paid by credit or debit card, refunds will be sent to the card-issuing bank within five business days of receipt of the returned item. Please contact the card-issuing bank with questions about when the credit will be posted to your account.
    Products purchased from the Apple Online Store using an Apple Store Gift Card will be refunded to you as an Apple Store Gift Card by email within 3 business days. If you’d like us to mail you an Apple Store Gift Card, ask the representative helping you. You will receive it within 8 business days via United States Postal Service (USPS). If you purchased an item from the Apple Online Store and are returning it to an Apple Retail Store, you'll receive an Apple Store Gift Card by email within 3 business days.
    Note that it states it will be initiated immediately, but  will be sent within 5 business days.
    Read the entire policy here:
    http://store.apple.com/us/help/returns_refund

  • Creating FOrums with Servlet and JSP

    Hi everyone,
    Is there a good resource that explains how to build a forum using servlets and JSP technology?
    Regards,
    Basil Mahdi

    please let me know here if you find any useful resources...I am in the process of writing my own searchable threaded forum for my company with JSP's/servlets. It's a very slow process at the moment though...if I ever finish it, I'll gladly share it.

Maybe you are looking for