Question: (Cigar Shop) Using JSP & JSTL + Java Servlet Use Cigar.java coded below 1) (createNewCigar.jsp) First page adds the cigar item to the inventory page

(Cigar Shop)

Using JSP & JSTL + Java Servlet

Use Cigar.java coded below

1) (createNewCigar.jsp) First page adds the cigar item to the inventory page (supply.jsp). A form to fill out including Name, Price, Image, and Information box.

2) (supply.jsp) Displays the list of added or created cigars. In addition, a button to create a new cigar.

3) (cart.jsp) Displays the list of cigars in cart. Including date-created, cigar name,image, and information, and a status drop-down option if the order is completed or not.

public class Cigar {

public final int id;

public final String cigarName;

public final String information;

public Cigar (int id, String cigarName, String information) {

this.id = id;

this.cigarName = cigarName;

this.information = information;

}

public int getId() {

return id;

}

public String getName() {

return cigarName;

}

public String getInformation() {

return information;

}

}

{createCigar.jsp}

(Cigar Shop) Using JSP & JSTL + Java Servlet Use Cigar.java coded

below 1) (createNewCigar.jsp) First page adds the cigar item to the inventory

page (supply.jsp). A form to fill out including Name, Price, Image, and

aar Cigar 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!