cherlapalli_jailer Posted July 12, 2013 Report Posted July 12, 2013 my guess is ur have a register.jsp as well as register.java (form class) modelandview in spring framework means...data with gui...like this will take jsp page as one param and data as other param forst param jsp page name register Vs new register() ; new registr() means.. the page u r displaying will have fields mapped between jsp page and register.java so u can see an empty register.jsp and all fields names are related to register.java if there is no new means user is already registered so ,,,,what ever data he registered will br populated back let me know if it is not clear
remo_401 Posted July 13, 2013 Report Posted July 13, 2013 thanks jailar fr the information. Can you tell me how do we implement pagination? pagination ki oka manchi example chupistaara not finding online
remo_401 Posted July 13, 2013 Report Posted July 13, 2013 [url="http://viralpatel.net/blogs/spring3-mvc-hibernate-maven-tutorial-eclipse-example/"]http://viralpatel.net/blogs/spring3-mvc-hibernate-maven-tutorial-eclipse-example/[/url] bhaiyya indulo unna daaniki can anyone edit and write code for pagination
remo_401 Posted July 15, 2013 Report Posted July 15, 2013 can anyone explain what is the use of [color=#333333]Jaxb2Marshaller[/color]
sherlockholmes_anon Posted July 15, 2013 Report Posted July 15, 2013 [quote name='remo_401' timestamp='1373866021' post='1303952236'] can anyone explain what is the use of [color=#333333]Jaxb2Marshaller[/color] [/quote] [img]http://lh3.ggpht.com/-5YfGALcYGLk/UPjvZSyR8nI/AAAAAAAAJTc/VbuDTMd944o/s120/Brahmi-10.gif[/img]It serializes, converts and processes java content trees into XML data.
god father Posted July 15, 2013 Report Posted July 15, 2013 explain me why do we use spring and hibernate?!!
fake_Bezawada Posted July 15, 2013 Report Posted July 15, 2013 ltt even i need answer why should we use spring and hibernate
cherlapalli_jailer Posted July 15, 2013 Report Posted July 15, 2013 [quote name='Iamking' timestamp='1373868095' post='1303952362'] [img]http://lh3.ggpht.com/-5YfGALcYGLk/UPjvZSyR8nI/AAAAAAAAJTc/VbuDTMd944o/s120/Brahmi-10.gif[/img]It serializes, converts and processes java content trees into XML data. [/quote] it convert XML file to object and Object to XM file let me know if u need more details.. i have sample code also it is very good option
cherlapalli_jailer Posted July 15, 2013 Report Posted July 15, 2013 [quote name='innovative' timestamp='1372379860' post='1303898153'] Maven plugin eclipse lo kavali ante steps : ..first m2e ane plugin install cheskovali eclipse lo .. here is the [url="http://www.eclipse.org/m2e/"][b]link [/b][/url]for that ..i think plugin installation meeku thelise vuntadhi if not, Help-> Install new software -> Work with: Indigo -> General Purpose Tools -> m2e ...so after that ... [size=4]mee daggara already maven project vunte then dhanni import cheskoni then artifacts create cheskovali .. to do so command prompt lo give this command -> [/size][CODE] mvn install:install-file [/CODE] .. then come back to eclipse and select project, then go to run-> run configurations and create a build path. ... new project create cheyyali ante .. proj explorer lo right click and select new -> maven project ... then proj create ayyaka it will create pom.xml automatically.. ... so there after, em change chesina proj lo u need to right click that pom.xml and build it. ivi install n how proj set up steps simple ga .. let me know .. if u get any doubts while installing .. [/quote] maven plug in to eclipse
cherlapalli_jailer Posted July 15, 2013 Report Posted July 15, 2013 [quote name='remo_401' timestamp='1373866021' post='1303952236'] can anyone explain what is the use of [color=#333333]Jaxb2Marshaller[/color] [/quote] what ur wants let me know
fake_Bezawada Posted July 15, 2013 Report Posted July 15, 2013 [quote name='remo_401' timestamp='1373866021' post='1303952236'] can anyone explain what is the use of [color=#333333]Jaxb2Marshaller[/color] [/quote] marshaller will write your contents into xml file in appropriate format mostly we use these while doing web services i guess
cherlapalli_jailer Posted July 15, 2013 Report Posted July 15, 2013 @NaakemTelvadh [url="http://www.eclipse.org/m2e/download/"]http://www.eclipse.org/m2e/download/[/url] may be mee ofice lo block cheseremo its opening for me
vijayjust4u Posted July 15, 2013 Report Posted July 15, 2013 [quote name='remo_401' timestamp='1373682048' post='1303947460'] [url="http://viralpatel.net/blogs/spring3-mvc-hibernate-maven-tutorial-eclipse-example/"]http://viralpatel.ne...clipse-example/[/url] bhaiyya indulo unna daaniki can anyone edit and write code for pagination [/quote] Good Example. Will try.... remo_401: if the data is small (like less than 500 records), use jQuery datatable which has a default pagination and sorting. See below: [url="http://www.datatables.net/index"]http://www.datatables.net/index[/url] Jailer mama, ee thread lo pagination gurunchi vesaaanu. either by getting the next records from database or save the entire results in XML and then get the data from XML. Assume there are 1000 records and display 50 per page, please implement the pagination sample code with this example.
cherlapalli_jailer Posted July 15, 2013 Report Posted July 15, 2013 [quote name='Sinnababu_SillyPulka' timestamp='1373895400' post='1303953131'] Good Example. Will try.... remo_401: if the data is small (like less than 500 records), use jQuery datatable which has a default pagination and sorting. See below: [url="http://www.datatables.net/index"]http://www.datatables.net/index[/url] Jailer mama, ee thread lo pagination gurunchi vesaaanu. either by getting the next records from database or save the entire results in XML and then get the data from XML. Assume there are 1000 records and display 50 per page, please implement the pagination sample code with this example. [/quote] class reportData{ int totalCnt List <dataObject> contains object to be displayed (say custID , Name , amtSpent date visited etc) int startCnt int endCnt int DisplayPerpage ///param driven } first time clicked on reports.. this above object will be empty. then pull count(*) set to total cnt pull the data 0 to DisplayPerpage set to List startCnt = 0 endCnt = DisplayPerpage now on the screen display list and below that << 1 2 3 4 5 6 >> total pages will be totalCnt/DisplayPerpage for each page ( 1 2, 3 4 ) set the StartCnt and End cont on which ever page user click ...set those values and send it tp back end and pull the relavent range 1
remo_401 Posted July 16, 2013 Report Posted July 16, 2013 Jailar can you please post daily 10 Core java qtions daily asked mostly based upon ur experience. e week core java qtions post cheyandi knchem time teeskoni..only 10 enuf daily
Recommended Posts