HELP REQUIRED FOR TOMCAT 4.0.1
I have a few difficulties/ doubts in installing application, passing params from the web.xml file to the servlets...is any one ready to volunteer so that i ask him/her the questions directly without disturbing the mailing list any furtherany replies will be appreciated... ( i know that there is already a mailing list for tomcat -users so please do not give me this as an answer) rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Things that use Struts (Ted)
Hello Ted, can u tell us something more aboutLucene please..and any date finalized for release of your book on struts ? rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Things that use Struts
Hello Mark, apparently HP Bluestone is giving it's application server free , have u used it or heard about some reviews on the samei just read your view about jrun , so was tempted to ask you about the samehave u tried JBoss.. rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
alernatives to tomcat-4.0.1
hello everybody, i require an alternative to tomcat 4.0.1, i have upgraded from tomcat 3.2.1 and am looking for a freeware which will reduce my configuration setting overheads to minimum , and also has good document to support it..your opinion will be highly appreciated..i had also applied on-line for HP-Bluestone application server (they have yet to send me the cd) ...has anyone tried it as yet and if yes what were your experiences about the same. rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts 1.1 book available for order
this is really expensive, converting this to Indian rupees is approximately Rs 4000, which is really high, could there be an alternative where by there is a downloadable soft copy of the book available at a lesser amount , so that we can atleast save on the printing and the shipping costs.please think about this, rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts 1.1 book available for order
I fully agree with Nathan , since those $70 will be further converted to Indian Rupees, i would like to read a sample chapter on-line before deciding about the book rgds amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
dbtag usage
hello friends, i have asked this question before also and am asking the same again..i know that this is not the right forum but i am desperate. i am using dbtag library from jakarta-tablibs.am am desperately trying to configure the same , and this is my second stint at this..i have failed successfully at this a month ago..i am using the documentation that is given with the tag lib... surprisingly i have also used a tag library from coldjava for file uploads and that took me just 10 minutes to configure with help available on-line from them all the time( they are really excellent at that) now i want to get this thing stated and have tried out all the combos..this is the jsp code and also the error that is appearing %@ taglib uri=/web-inf/dbtags.tld prefix=sql % ---i have tried eveything with this including the one given in the docs http://jakarta.apache.org/taglibs/dbtags and this is the error code Internal Servlet Error: org.apache.jasper.compiler.CompileException: D:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\dbtags\tagusage.jsp(17,3) Unable to load class org.apache.taglibs could someone help me out -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: dbtag usage
i have already tried what you have suggested a couple of time but there seems to be no response from there or i think i am not subscribed , anyway thanx a lot for the help i will try out the same -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: dbtag usage
thanx tom, i did not know about http://marc.theaimsgroup.com/?l=taglibs-userm=100238947032154w=2,hope thingswork out this time and start working thanx once again -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
help,please
i know friends that this is totally offtrack and this is not the write place to ask this questions but i am really stuck up and have no one to ask to please could u help me out i am working on a file upload example , and am copying the code as it is from a book on servlets by dustin callaway here is the code and the html file to pass on the file to the page here is the html file html body h4 align=centerfont color=#80uFile Upload Servlet/u/font/h4 table border=0 width=84% cellspacing=0 cellpadding=0 tr td width=51% form enctype=multipart/form-data action=UploadServlet method=post pfont color=#80Press the b browse/b button to select the file to upload and then click on the bUpload Button/b /font p font color=#80 nbsp; input type=hidden name=directory value=temp/ input type=hidden name=successPage value=success.html input type=hidden name=OverWrite value=false input type=hidden name=OverWritePage value=overwrite.html /font/td td width=50% p align=centerfont color=#80 br input type=file name=filename value= maxlength=255 size=50 br br input type=submit value=Upload /font/p /td /tr /table /form import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class UploadServlet extends HttpServlet { static final int MAX_SIZE =102400; String rootPath,successMessage; public void init(ServletConfig config) throws ServletException { super.init(config); rootPath = config.getInitParameter(RootPath); if (rootPath == null) { rootPath=/; } successMessage = config.getInitParameter(SuccessMessage); if (successMessage == null) { successMessage = File Upload Complete ; } } // end of init() method public void doPost(HttpServletRequest request,HttpServletResponse response) { ServletOutputStream out = null; DataInputStream in = null; FileOutputStream fileOut = null; try { response.setContentType(text/plain); out=response.getOutputStream(); } catch(IOException e) { System.out.println(Error getting the output stream); System.out.println(Error description:+e); } try { String contentType = request.getContentType(); if (contentType != null contentType.indexOf(multipart/form-data) != -1) { in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); if (formDataLength MAX_SIZE) { out.println(Sorry the file is too large to uploaad ); out.flush(); return; } // end of if byte dataBytes[] = new byte[formDataLength]; int bytesRead=0; int totalBytesRead=0; while (totalBytesRead formDataLength) { bytesRead = in.read(dataBytes,totalBytesRead,formDataLength); totalBytesRead += bytesRead; } // end of while String file = new String(dataBytes); dataBytes = null; int lastIndex = contentType.lastIndexOf(=); String boundary =contentType.substring(lastIndex+1,contentType.length()); String directory=; if(file.indexOf(name =\Directory\) 0); { directory = file.substring(file.indexOf(name=\Directory\)); directory=directory.substring(directory.indexOf(\n)+1); directory = directory.substring(0,directory.indexOf(\n)-1); if (directory.indexOf(..)0) { out.println(Security Error: You cannot do this ); return; } }// end of if String successPage=; if(file.indexOf(name=\SuccessPage\)0) { successPage=file.substring(file.indexOf(name=\SuccessPage\)); successPage=successPage.substring(successPage.indexOf(\n)+1); successPage=successPage.substring(successPage.indexOf(\n)+1); successPage = successPage.substring(0,successPage.indexOf(\n)-1); } String overWrite; if(file.indexOf(name=\OverWrite\)0) { overWrite = file.substring(file.indexOf(name=\OverWrite\)); overWrite =
Re: [ANNOUNCE] Fast Track to MVC / JSP Framework Public Workshop
For those who are not able to attend this ..could you keep some material on-line so that every one is benefited by this Rgds Amit Malhotra
Re: 24/7 availability
Could you tell me something more about the 24/7 environment , any URL's also will also be of great help Rgds Amit
DBTAGLIBS problems
I am writing this problem after posting it a number of times in the taglib-users forum.I have recieved no response from any of the members and I now ask you all to help me out. I am using tomcat 3.2.1, I have already followed the instructions given in the DBTaglib tutorial but it has given me errors. as show below apache.jasper.compiler.CompileException: D:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\ROOT\taglibrary.jsp(0,0) Unable to open taglibrary http://jakarta.apache.org/taglibs/dbtags : Could not locate TLD META-INF/taglib.tld could you suggest a way out. Rgds Amit Malhorta, Systems Engineer, Reliance Industries Limited, India.
RE: Struts DB example
Micheal please could you tell me something more about castor JDO Thanx Amit
Beginner material on struts
Hello Everyone, I am newbie in struts, could some one tell me as to how to go about it, I mean the material that is available online , Do I need to know UML first ?I have a fair knowledge of servlets and jsp ,I have already downloaded the struts files from ASF site. any tutorials and url's would be welcomed thanx Amit