i got difficulty in compiling my jsp files. comiling jsp files is really a troublesome and a hard thing. html codes,javascritp codes and jsp codes all in one page. it's hard for me to find where the errors are.And more worse,i should finish my compiling job in the next two days to meet the deadline.but i still have five jsp files to compile.i wish someone could do me a favor to give me some suggestion on compiling more efficiently.Or somebody would take a look at my jsp code.i will apreciate your help. thank you happyprince1206@yahoo.com
why not try Jbuilder6? It is so swift in compiling a jsp file!
@_@ Life is so nice!
ruben chan
Greenhorn
Joined: Apr 26, 2002
Posts: 10
posted
0
Thank you for responding.i got errors like this: /comfirm.jsp:42: pageContext.write(_jsp_string4, 0, _jsp_string4.length); ^ i use resin.what puzzled me is that i didin't use pageContext.write() method.i guess mage the <%=....%>equals to this method. i don't know.
plz send the jsp , otherwise it may be difficult to help
Originally posted by ruben_chan: Thank you for responding.i got errors like this: /comfirm.jsp:42: pageContext.write(_jsp_string4, 0, _jsp_string4.length); ^ i use resin.what puzzled me is that i didin't use pageContext.write() method.i guess mage the <%=....%>equals to this method. i don't know.
ruben chan
Greenhorn
Joined: Apr 26, 2002
Posts: 10
posted
0
this is one of my jsp files i use it to check the form which contains users' login or registering information. i use parameter type in http-head to identify the different kind of information. thank you for your help.
I find that u have declared methods within scriptlets which can't be done u can declare methods only within declaration part.. Declarations begin with <%!. Use <%! before any method declaration...I can see typos also.. u have given Boolean is return type when u have returned boolean from the method ..correct the return type to boolean [ April 27, 2002: Message edited by: pradeep bhat ] [ April 27, 2002: Message edited by: pradeep bhat ]
ruben chan
Greenhorn
Joined: Apr 26, 2002
Posts: 10
posted
0
thank you,i have neglect that declaration must be start with <!.. and Boolean should be boolean. however,after i had corrected the error,i still get the same error. may be i should make a bean to contain all the methods in the jsp page.
Marilyn Monickam
Ranch Hand
Joined: Jun 05, 2001
Posts: 66
posted
0
Ruban I found 50 opening braces in your code but only 46 closing braces. That leads to the error. Marilyn
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
"ruben_chan" Your name doesn't follow the javaranch guidelines. Please take a moment and change your "Publicly Displayed Name" by modifying your profile, after reviewing the guidelines at http://www.javaranch.com/name.jsp Thanks for your cooperation. - madhav