Danish army used rifled muskets with minieballs and outranged the Dreyseguns. The Dreyseguns had higher rate of fire but suffered from not being gastight.
The Danish army had evaluated rifled artillery and revolver rifles prior to the war but decided for economic reasons to not use either as the cost in increased ammo expenditure was too high.
The Prussians had a mix of smoothbore and rifled arty the latter outranging the Danish artillery of Dybbøl except for a battery of two 24pdr guns that was used to counter Prussian arty.
The lull of having "won" the first Schleswig War with powerful backing an army reform on the eve of battle and savings meant no concrete blockhouses at Dybbøl and earthworks and too few armoured ships for the Navy.
So get another government, another perception of the needs of military forces and will to do something and you may prolong the inevitable.
