I’m new in servlet programming. My project is on a Tomcat server.
I started to use some widgets. I chose . I needed a grid so I startet with the grid widget. there was an html example which was pretty close to what I am going to implement. I created a jsp file and I put the exact content of the html sample into jsp file.
when I access directly to the jsp file everything works (http://localhost:8080/TestProject/datagridtest.jsp), but, when I access the same jsp file via a servlet (which returns the same file with no change – http://localhost:8080/TestProject/testservlet?Action=gridtest) , the result is not alright. I mean, all the widgets are there, the scripts are run (for example the data has filled in the grid by the scripts), but the events which are bound to the widgets do not work. Events like “change” or “rowselect” which are implemented in the page, do not work.
I hope here is a right place to bring this issue in. I thought some body might have a same problem. any comment will be apppreciated.
yes I checked. they are completely same. I don't understand it. if the HTML codes in the browser are same, why I get 2 different behavior? for the record, I'm working in ubuntu and I checked it with firefox and chrome.