53 Topics
|
|
My case: I have several webapps running on my tomcat server like this: demo.myserver.com/application1 demo.myserver.com/application2 demo.myserver.com/application3 This is what I want: Application1.mydomain.com to point to demo.myserver.com/application1 Application2.mydomain.com to point to demo.myserver.com/application2 Application3.mydomain.com to point to demo.myserver.com/application3 This is what I have done: 1. I have set my DNS server to … |
|
Hey, I'm trying to catch the incoming request to my Tomcat server and redirect to another page (a servlet). I don't have Apache installed so no mod_rewrite will work (as I understand it). I need to redirect the incoming request aimed at a standard URL [url]http://www.somesite.com[/url] and send it to … |
|
Hi. I am new in using Eclipse IDE, Tomcat 6... I can't run even the simplest project (Hello World) because of the error about ports. I've already browse the internet and do the configurations but still my problem is there. I have no one to ask about eclipse other than … |
|
here's my code: [CODE] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.annotation.WebServlet; @WebServlet(name="HelloWorld",urlPatterns={"/HW"}) public class HelloWorld extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out = response.getWriter(); out.println("Hello Programmers!!! "); } } [/CODE] to access it on Tomcat, i goto : localhost:8080/examples/HW so i … |
|
Hi everyone. I'm using Tomcat 7.0.8 I have created servlet, which loads image to "webcontent\pic" folder of my project. Then I need to display this image. The servlet works, but with only restriction: i need manually refresh content of project, or directory (I'm using Eclipse). Otherwise ugly cross will be … |
|
hi there guys :) im currently working on a project with jquery... the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html"... i've read some tutorials and i thought the best way to do this is through the use of jquery... … |
|
Hello there, This is just a quick question. You know that servlets respond by printing out dynamic HTML code? Well, is it possible that instead of doing that, the servlet just redirects back to the HTML form that send the servlet the Form data in the first place? myHtml(sends form … |
|
My aim is getting client's AD login ID for authentication. I tried to use <%String remoteUser=request.getRemoteUser();%> but it returned null value. Actually, I have found a way to solve it from the internet. And it is about doing something on tomcat's file "\conf\server.xml". However, there is no clear step describing … |
|
Hi, everyone, First of all, I wasn't sure where to put this tread so I apologize if it is in the wrong place... I am developing a web application using jsp, java and Tomcat, so I figured this is as good place as any... I am in need of help. … |
|
Hello all, I’m getting one strange error on my web. The web was developed with spring and has a tomcat pool connection configured for Oracle DB. After upload the web content into the server, when restarting the server and trying to open the web page, first time display error: [ICODE] … |
|
I would appreciate any help on the above. All my process and issues is in the attachments. ps: Java 1.6 tomcat 5.0.28 |
|
|
hi, I am working a program which needs to send an email through JSP. I get an error Could not connect to host : localhost :25 : Connection refused. error. Can anyone tell me what configuration i need to change in Apache Tomcat to use my server as smtp server.. … |
hello all i have a jsp project when i run this project using netbeans it gives the following exception in browser as follows org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 28 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory … |
|
|
Hi, Does anyone know where I can read about ways to protect a website from potential threats? i.e. SQL Injection, etc. In particular, a website using HTML/JSP/Servlets/Java/Tomcat. Thanks, Ashton. |
Hello Friends. I want to install Tomcat and struts into my system. I hava downloaded apache-tomcat-7.0.2 , unpacked it. i dont know how to install it. I did as instucted in the RUNNING.txt. But i am unable to run Tomcat server. Please help me.. |
|
Hi, I just installed Tomcat 5.5 and could see the default index page (with images missing) Upon running the sample JSPs, I get the following- HTTP Status 404 - Servlet default is not available In the logs, I can see a Root Cause saying something like- "java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource" Basically, I … |
|
Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some … |
|
Hi, We've got an application running on Tomcat and we've setup Manage Engine's Applications Manager 9.0 to monitor our environment. I've set an alarm that fires whenever a thread is in the "BLOCKED" state at the moment of the polling and I'd like to get a thread dump of that … |
|
I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with [code=xml] <Engine name="Catalina" defaultHost="mydomain.co.uk"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="mydomain.co.uk" appBase="/home/user/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>www.mydomain.co.uk</Alias> … |
|
I am mostly following this page: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] I used this command to create the keystore keytool -genkey -alias tomcat -keyalg RSA -keystore /etc/tomcat6/keystore and answered the prompts Then i edited my server.xml file and uncommented/edited this line [code] <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/etc/tomcat6/keystore" keystorePass="tomcat" /> … |
|
Hi all, I want to configure Tomcat behind an SSL enabled Apache httpd server. Could anybody show me how to do this ?? I have successfully configured apache and tomcat for http requests. Thanks. |
|
hiiii, i have to build a secure web application using jsp, for which i have to implement SSL. I have generated the certificate using java keytool but as soon as i edit my server.xml file to enable connector port for https (8443) and add the other attributes like keystore,storepass and … |
|
Hi, I am trying to setup a tomcat server in eclipse galileo java ee to test a simple JSP page. I have problem, but no solution to it. So, if i want to see [url]http://localhost:8080/Project/WEB-INF/Hello.jsp[/url], it gives me error page HTTP Status 404 - /Project/WEB-INF/Hello.jsp I have tried to change … |
The End.