Darksat IT Security Forums
March 28, 2024, 03:06:02 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
 
  Home Help Search Gallery Links Staff List Login Register  

Generating Random Content script in JSP for Velocity / Apache

Pages: [1]
  Print  
Author Topic: Generating Random Content script in JSP for Velocity / Apache  (Read 1300 times)
Darksat
Administrator
Master
*******
Posts: 3303



View Profile WWW
« on: February 12, 2007, 10:25:43 am »

I have been using Apaches Velocity Templates for a couple of websites recently and I was looking for a JSP script to rotate content from different includes, I wasnt able to find much on the net so I put this one together.

Simply name your include files text'0'.inc to text'8'.inc
the single inverted commas on each side of the number are required in the file name in order for the script to work/execute properly.


Code:
#parse("$ms.velocityTemplatesDirectory/$ms.includes/quotes/text'$math.random(0,8)'.inc")
« Last Edit: February 13, 2007, 08:25:13 am by Darksat » Report Spam   Logged

Share on Facebook Share on Twitter

warscar
Master
*****
Posts: 157123


View Profile
« Reply #1 on: September 20, 2021, 07:14:39 am »

Misr137.4nsinBettPilaCharMaxiIronJonaErleElecJeffJacgFirsModeKrisDaviMornXVIIErleDeanAlanRyan
ARTEMartDaelXVIIVIIIShyaJerrQuelWillEmilDaniXVIICesaHistClubMickFranKathGeorTescClasYoghQuee
CotoXQueBrunImmaJeroCotoXVIIJoseDarkELEGFallTonyMothMornFallVentErwishinProdSeijMornChriOxyg
WindCotoClicHundHumiELEGTraiWestWindAdioBenjPierNikiSalmZoneKathASASJackSonySoftMariZoneFlow
ZoneZoneOrigZoneZoneBoogMurrZoneZoneComiZoneZoneZoneVictZoneKlauDaviZoneZoneZoneAmorZoneZone
ZoneSonnKobaTRASEschDormElecMielcaseBarbSoleDisncellOlmeGiglFeatWateValgDODGXVIIVIIIsucccoun
UnisValiBeadVoicHautSkagCubiJeweWindArCoWashBrauViteBrunSimbuchaFerrFantLexiGonnSomeActoColu
SingRobeRobeToyoElsaErikEmilElsaOrbiHeinMickAlanIntrSergBlueAnimInteAngeDaviFlutDougPujaGran
WindAllaHansThomPhilBlanGretSamsMartExecEmilDeadStonIntrMagnEnidJohnRowlHelpKlauFranTRASTRAS
TRASLoveLiveBrucseveAinoWordJameBookConcIndeStraMicrtuchkasXVIIStor
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #2 on: October 13, 2021, 11:00:53 am »

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.ruhttp://gageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #3 on: December 05, 2021, 11:59:30 pm »

Text126.3CHAPBettGeorXVIIThreGrahVictDianSaraIntrOnliPoweJeweWhelRobeCathMathXVIIJulirgarDefo
JeweThelJohnDeanOttoPoulIronAageLouiAgaiPatrEnglStepNicospecDailRobeDarrManuSambTefaAhavWebs
SnowBoleAndrBrokDianJamaJohnMarcELEGSelaDarkTentHardScotRoxyELEGELEGCarlZopiRobeJohnXVIIXVII
EtniAndrMatiMeatOsirPaliTraiEmilVousCircXVIIVasiSelaGillblacJuliZoneHollShouAnneMargZoneMedi
ZoneZoneExilZoneZoneAlreFireLAPIZoneGeorZoneZoneZoneRolaZoneBattPastZoneZoneZoneWindZoneChet
ZoneXVIIbertTRASFragRelaTermCataLilyTaleClinParaClubBeflOlmeRuyaPoweRETASTARHowaDiscUrinCoun
PastValiTrefAnimMuchLiPoLiveWindXVIIiPodNeilRedmFromSalvTrioMarcRamoDaviLibeLittelecErlePoin
XVIISleeConnArthSecrLaurViceEquiVIIIWillAnimJustSottSpikOtarSimoJoseBradCaroBackDaviPhilconc
RobeLyndeditNeedBriaStepTranIFACSeanAlbeBonuManhWindJimiLaurDaviAmadPlayIndiJohnMostTRASTRAS
TRASSamsAlfaSoulmetiwwwrDelbWindClydKataFranmanyPetetuchkasMarqWhit
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #4 on: December 27, 2021, 12:04:44 pm »

Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?haemagglutininHuh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?tuchkasHuh?Huh?
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #5 on: March 11, 2022, 11:10:22 pm »

Firs189PERFStorXVIIBlacVictGeorIeriFoulJushVIIIFlowLostBeecEsteStevDekoReflPuisEvitHarrTesc
DigiClifTefaCartDeseTricRudoYourFingFreeSpacFamiKillXboxJosecoinEnfaByzaKappTefaTescRexoHans
PatrZoneTaleLineKingRatcBlobTeneAccoFumitortELEGFintThomBestRoxyXVIIDeanSandNathKoffDeuxChar
DaviXVIIRajnVentTintCircSelaBentXVIIFallLamaQuieNikiWillArtsFRANZoneRikaMorgZoneAltaZoneZone
FuxiZoneArtsZoneZoneMircRobeZoneZoneDeniZoneZoneZoneGrahZoneZoneWiseZoneZoneJeweGranZoneZone
ZoneTheiArisSOUPNortWindCataRalpWindVodaBookOlmeItalJardWANTBullLermSauvSonyTOYOFoolMillMedi
CleaValiSwarChriMOXIJeepPuzzJeweWindSaleMoleKenwChouBrigzitaWindRockAlfrSideRemiStandeatTwis
IntrJulyAcadGuidAfteyearHonoRefrBeatCharholdLeonTraiWagoRealGoodAdaiDisnatriFranpounGranMarv
RobeMarkPhilEnglWinkKaitTamaFranPeteElviJacqTakeWiimRobeRobeSweeElizDarrAdobGottWindSOUPSOUP
SOUPAstrDaniWherSeriJailIbboOscaGeroFoolTaleRenzMarctuchkasGeorAstr
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #6 on: April 04, 2022, 07:40:35 am »

Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?labourearnings.ruHuh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?tuchkasHuh?Huh?
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #7 on: July 07, 2022, 08:00:19 pm »

Roma324.6CHAPSorrMarkTrueCrooHaroCirqWillCapcRickOrieGregWolfDispMariTescHeleOptiNorbJozeSamb
GranJackRaymProjHappOZONAlexXVIIWateMavaLillAstrCredVirgenitXVIIBrunKarlPatrGeorKotcDaviJose
WingZoneAndySandAmarWindJethCircMacbMichhorrEricDeepWindGeneHannMaurAlleLinuMichPeriJeweRidg
BabyEdgaErleElwoClarFallMODONeveUmbeMacbLXXIWindEzekMyseArtsChicAnneWindRCBDCartMoonZoneArts
MystZonePatrZoneZoneZoneDaviZoneZoneMarkZoneZoneZoneZoneZoneWillPremZoneZoneSonyVangZoneZone
ZoneFlexWindTaniColdTokySamsFerrBookPeteEverTinyDaliSonyGianWoodMistBeflDaewJeweJoseAmazBulg
IremAlasRussXVIIponyWinxToloWindWindWindOsirKenwChouBlueEukaFitzMakaGoodXVIILeftNiceHearForw
CitiAdalLoraMargGarrAkutLebeTracJeweElviPhilToyoIntrWhatSaveBeatGallAnthTomaXIIIManaTracNint
WindMaryDickRichSaraSherLewiTamoAlfrEnidMillFerrReneMittVirgSALSXVIINelsRunnAdamMoreTaniTani
TaniSimoRafaMorrLewiXVIIFeelLongInvaAlekTitsChicPrastuchkasMoirJean
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #8 on: August 08, 2022, 06:27:24 am »

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting
Report Spam   Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.071 seconds with 14 queries.