| | |
java servlets help???
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2009
Posts: 3
Reputation:
Solved Threads: 0
hey guys,
i'm new to java servlets..i have been making a website using java servlets on stock market and stuff...now what my query is that i want to retrieve data from database(ms-access) and display it on my html page....
i don't have much knowledge about html so i took a css template from internet and started working on it...what i have been trying to do is that i included all of the html tags in .java file(servlet) so that html page could be dynamic...
but this thing is very hectic...its giving me whole lot of errors..i mean i tried to include whole of the template in servlet programming...but lot of errors...
So can anybody please suggest me another method(leaving jsp) to display my data from database on html page using servlets or help me with my coding...i have attached the code with my post!!!!
i'm new to java servlets..i have been making a website using java servlets on stock market and stuff...now what my query is that i want to retrieve data from database(ms-access) and display it on my html page....
i don't have much knowledge about html so i took a css template from internet and started working on it...what i have been trying to do is that i included all of the html tags in .java file(servlet) so that html page could be dynamic...
but this thing is very hectic...its giving me whole lot of errors..i mean i tried to include whole of the template in servlet programming...but lot of errors...
So can anybody please suggest me another method(leaving jsp) to display my data from database on html page using servlets or help me with my coding...i have attached the code with my post!!!!
•
•
Join Date: Oct 2009
Posts: 28
Reputation:
Solved Threads: 6
0
#2 Oct 25th, 2009
your class must have the same name as the name file.
ther is lot of mistackes in you code: open braket not closed, open double cote not closed.
The css grammer and language is not allowed to be used directty in a java file.
The sum: you have to learne about the java language grammar and syntax and the servelet technology.
ther is lot of mistackes in you code: open braket not closed, open double cote not closed.
The css grammer and language is not allowed to be used directty in a java file.
The sum: you have to learne about the java language grammar and syntax and the servelet technology.
0
#3 Oct 25th, 2009
•
•
•
•
So can anybody please suggest me another method(leaving jsp) to display my data from database on html page
Jsp is actually constructed using html tags. So if you don't know html how can you create a web page? If you don't know java how can you display the data?
Check out my New Bike at my Public Profile at the "About Me" tab
![]() |
Similar Threads
- Sessions in java servlets (JSP)
- Ajax with Java (Java)
- Java Servlet Problem :( (Java)
- Servlets and SDK (Java)
- java or mysql (Java)
- about java servlets (Java)
Other Threads in the JSP Forum
- Previous Thread: javascript inserting between jsp
- Next Thread: How to logout!!!
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






