JSP files in public_html directory
Hi,
I'm trying to setup my account on a virtual dedicated linux server and my JSP files will not work unless I put them into webapps/ROOT.
What do I have to do to be able to place them in the public_html folder? They are just simple JSP files.
I've added *.jsp to the Tomcat URL Patterns.
Thanks,
Kris.
Hi.
You could manually create a WEB-INF/classes directory and put your package in there (%J2EE_HOME%/public_html/WEB-INF/classes).
But this is a poor solution. You will need to modify the J2EE classpath to include your classes etc. If you really want to develop a portable solution, then you should consider creating a web application archive file (.war) for your web application. The server then automatically handles the class path issues for you, and you can deploy the .war file on any J2EE compliant application server.
Detailed information on how to do this would be too long for me to publish here, but you can find very good information on how to do this on http://java.sun.com/j2ee/tutorial/. Check out the "Web Components" and " JavaBeansTM Components in JSP Pages" links under "Web Technology".
Hope this helps.
Oli Gauti.
Similar Messages
-
How to use JSP files in virtual directory in WL 5.1
Using WL 5.1 sp9 on Win 2000 sp3
Following a previous post I've got this far setting up a virtual directory -
weblogic.httpd.register.tempstuff=weblogic.servlet.FileServlet
weblogic.httpd.initArgs.tempstuff=docHome=c:/tempstuff
From the browser http://p1900:7001/tempstuff/test.html
displays the html page but how do I set it up so I can access a .JSP page in there?
I've tried changing the line to
weblogic.httpd.register.tempstuff=weblogic.servlet.JSPServlet
but keeps giving errors
any ideas
thanks
harry
You should be able to just bring the files into DreamWeaver. It should edit the HTML part of the JSP just fine.
-
Reading a file in the same directory as the JSP files
Hi,
Okay so I have my JSP files in the directory $Catalina/webapps/webservices, I also have a text fire in the same directory called users.txt
All I want to do is open the users.txt from the JSP program and read from it. But JSP can't seem to find the users.txt.
Code I have tried include,
File users = new File("users.txt");
File users = new File("http://localhost:8080/webservcies/users.txt"); Also File users = new File(new URI ("http://localhost:8080/webservcies/users.txt"));
File users = new File("webservices/users.txt");
I guess part of the problem is that I don't know what the JSP working directory is. I assumed it was $Cataline/work/standalone/localhost/webservices
but even if I use,
File users = new File("../../../../webapps/webservices/users.txt");
It doesn't work. Does anyone know how I can read the file? Any help in this matter would be appreciated.From within a JSP you have a reference to a PageContext called pageContext. This has a method getServletContext(). From the ServletContext you can find the real path the servlet lives in. So...
File basePath = new File(pageContext.getServletContext().getRealPath("/"));Now basePath contains your path $Catalina/webapps/webservices. Then it's just a matter of working relative to that, e.g.:
File usersFile = new File(basePath, "users.txt"); -
Modifications to a jsp file not getting loaded after it has been served out once
Hi,
I am using Weblogic 6.1 on solaris platform.
I have created a new managed server under the default domain. A new
default web application was created with a DefaultWebApp directory which
acts as the default directory for JSP files for this server.
problem 1:
In this new server if i make changes to a jsp file which has been served out
once, the modifications are not reflected until and unless i restart the
server.
problem 2:
If I start the server and after that I add a JSP file to the DefaultWebApp
directory, if I try to access it it gives a 404 error which is file not
found.
These problems do not occur in the original server which got created when i
did the installation.
Can someone help me out please.
PankajHi.
On reflection I believe this is normal behavior for WLS 6.x. In order to see
changes to jsps (or other elements in the webapp) you need to either
undeploy/redeploy the webapp via the console or the command line utility, or you
can use the refresh utility if your webapp is deployed in the exploded directory
format (ie not a war file).
For docs on redeploying and refreshing from the command line see:
http://e-docs.bea.com/wls/docs61/webapp/deployment.html
Regards,
Michael
Pankaj Bansal wrote:
yes we installed SP2 for weblogic 6.1....
the OS is Solaris ver 2.8
any suggestions on what can i do apart from opening a case with support?
Pankaj
"Michael Young" <[email protected]> wrote in message
news:[email protected]..
Hi.
Are you running with service pack 2? If not please try this. If youstill see
this with sp2 then please open a case with support.
Thanks,
Michael
Pankaj Bansal wrote:
Hi,
I am using Weblogic 6.1 on solaris platform.
I have created a new managed server under the default domain. A new
default web application was created with a DefaultWebApp directory which
acts as the default directory for JSP files for this server.
problem 1:
In this new server if i make changes to a jsp file which has been served
out
once, the modifications are not reflected until and unless i restart the
server.
problem 2:
If I start the server and after that I add a JSP file to theDefaultWebApp
directory, if I try to access it it gives a 404 error which is file not
found.
These problems do not occur in the original server which got createdwhen i
did the installation.
Can someone help me out please.
Pankaj--
Michael Young
Developer Relations Engineer
BEA Support
Michael Young
Developer Relations Engineer
BEA Support -
Hi,
I'm trying to get it so that I can put my JSP files in a directory other than O:\ifs\webui\jsps. Where would I make this change? I want to do this so that I don't need to put ifs/webui/jsps at the end of the url for my site. Any help would be greatly appreciated.
Thanks!OOB you should put your JSP files in folders underneath \ifs\jsp-bin.
To add other directory roots edit the file
IfsDavServletParameters.properties
found in the folder
<ORACLE_HOME\ifs1.1\settings\oracle\ifs\protocols\dav\impl\properties>
Look for the entry
#JSP Properties
ifs.dav.jsp.alloweddirs=/ifs/webui/jsps|/ifs/jsp-bin|/home/gking
As you can see from the above example I've added an entry allowing /home/gking to be used to host JSP files
null -
Managing JSP files (.java, .class) size in working directory
Our new web application automatically generates JSP pages which
causes the working directory holding the JSP files to grow
too large to manage,does Weblogic have a alternate way to
compile JSP without permanently storing the .java, .class files
on disk.
Maybe in cache were they can be managed, cleaned up similar
to how a database cache works.
Any ideas or advice would be appreciated.
THANKS IN ADVANCE.
Just don't look in the classfiles directory and everything will
be fine.
WLS will only leave the .java files if you ask it to keep them (keepgenerated).
If you don't keep the .class files on disk then WLS will have to
recompile them every time it is restarted. If you have so many
JSPs you are having trouble managing them, you definitely don't
want to recompile everytime you restart WLS.
Last time I looked in our public_html there were 67000 JSP files.
We don't have any problems managing them.
Mike
"denis mercier" <[email protected]> wrote:
>
>Our new web application automatically generates JSP pages which
>causes the working directory holding the JSP files to grow
>too large to manage,does Weblogic have a alternate way to
>compile JSP without permanently storing the .java, .class files
>on disk.
>Maybe in cache were they can be managed, cleaned up similar
>to how a database cache works.
>Any ideas or advice would be appreciated.
>THANKS IN ADVANCE.
-
Storing .jsp files in the web-inf directory
Has anyone ever heard about storing JSP files in the web-inf directory instead of the web app root directory.
Apparently it improves security.
If this is so, how is the user suppose to access the jsp file since I thought that users were not able to access what is stored in the web-inf directory.
Any thoughts
Thanks
NatI didn't tyr this but I think it is possible. You can do it using <servlet-mapping/> as you do with any other servlet.
For example include lines below, in web.xml of web-inf,
<servlet>
<servlet-name>ReportRouter</servlet-name>
<jsp-file>/web-inf/jsp/ReportRouter.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>ReportRouter</servlet-name>
<url-pattern>/myrouter</url-pattern>
</servlet-mapping>
This may work. Don't you think so?
Sudha -
Re: mapping of a directory containing JSP files
Thanks for the quick response..
but i want some other root directory other than the DefaultWebApp where i
can put my jsp files...either under DefaultWebApp or preferably some where
else....
Is that possible ?
Pankaj
"Deepak Vohra" <[email protected]> wrote in message
news:[email protected]...
> JSPs do not require specific mappings as do HTTP servlets.
> Place your Jsps, for example configureJsp.jsp, in the
DefaultWebApp/presentation
> directory.
>
> In a web browser, request the JSP file using the following URL:
> http://localhost:7001/presentation/configureJsp.jsp
>
> Pankaj Bansal wrote:
>
> > Hi,
> > Iam using weblogic 6.1, SP2.
> >
> > I have created a web application with the DefaultWebApp directory
where
> > u can put ur jsp files for them to be available automatically..
> >
> > Can someone tell me is there a way to map jsp files to some other
directory
> > ?
> > Or can i make some subdirectory under DefaultWebApp like 'presentation'
and
> > keep my jsp files in that and not be required to write the directory
name
> > ( presentation) for accessing my files.
> >
> > In short is it possible in some way to map some directory where i put my
jsp
> > files and they are readily accessible, other than the DefaultWebApp
> > directory.
> >
> > thanks,
> > --
> >
> > Pankaj
>
how to To install a jsp under another Web Application in wls 7.0.1? and i just
don't want to deploy jar,ear,war... file.
It seems there are many differences between wls7 and wls7.0.1.
Deepak Vohra <[email protected]> wrote:
>Pankaj
>
>DefaultWebApp is the default Web application. To install a jsp under
>another Web
>
> Application,create a new Web Application, for example ConfigJspWebApp.
>Install
>the
>new Web Application. Place Jsp, for example configJsp.jsp in the
> ConfigJspWebApp/presentation directory.
>
>
>In a web browser, request the JSP file using the following URL:
>http://localhost:7001/ConfigJspWebApp/presentation/configJsp.jsp
>
>
>Pankaj Bansal wrote:
>
>> Thanks for the quick response..
>> but i want some other root directory other than the DefaultWebApp where
>i
>> can put my jsp files...either under DefaultWebApp or preferably some
>where
>> else....
>> Is that possible ?
>>
>> --
>>
>> Pankaj
>>
>> "Deepak Vohra" <[email protected]> wrote in message
>> news:[email protected]...
>> > JSPs do not require specific mappings as do HTTP servlets.
>> > Place your Jsps, for example configureJsp.jsp, in the
>> DefaultWebApp/presentation
>> > directory.
>> >
>> > In a web browser, request the JSP file using the following URL:
>> > http://localhost:7001/presentation/configureJsp.jsp
>> >
>> > Pankaj Bansal wrote:
>> >
>> > > Hi,
>> > > Iam using weblogic 6.1, SP2.
>> > >
>> > > I have created a web application with the DefaultWebApp directory
>> where
>> > > u can put ur jsp files for them to be available automatically..
>> > >
>> > > Can someone tell me is there a way to map jsp files to some other
>> directory
>> > > ?
>> > > Or can i make some subdirectory under DefaultWebApp like 'presentation'
>> and
>> > > keep my jsp files in that and not be required to write the directory
>> name
>> > > ( presentation) for accessing my files.
>> > >
>> > > In short is it possible in some way to map some directory where
>i put my
>> jsp
>> > > files and they are readily accessible, other than the DefaultWebApp
>> > > directory.
>> > >
>> > > thanks,
>> > > --
>> > >
>> > > Pankaj
>> >
>
-
Mapping of a directory containing JSP files
Hi,
Iam using weblogic 6.1, SP2.
I have created a web application with the DefaultWebApp directory where
u can put ur jsp files for them to be available automatically..
Can someone tell me is there a way to map jsp files to some other directory
Or can i make some subdirectory under DefaultWebApp like 'presentation' and
keep my jsp files in that and not be required to write the directory name
( presentation) for accessing my files.
In short is it possible in some way to map some directory where i put my jsp
files and they are readily accessible, other than the DefaultWebApp
directory.
thanks,
Pankaj
JSPs do not require specific mappings as do HTTP servlets.
Place your Jsps, for example configureJsp.jsp, in the DefaultWebApp/presentation
directory.
In a web browser, request the JSP file using the following URL:
http://localhost:7001/presentation/configureJsp.jsp
Pankaj Bansal wrote:
> Hi,
> Iam using weblogic 6.1, SP2.
>
> I have created a web application with the DefaultWebApp directory where
> u can put ur jsp files for them to be available automatically..
>
> Can someone tell me is there a way to map jsp files to some other directory
> ?
> Or can i make some subdirectory under DefaultWebApp like 'presentation' and
> keep my jsp files in that and not be required to write the directory name
> ( presentation) for accessing my files.
>
> In short is it possible in some way to map some directory where i put my jsp
> files and they are readily accessible, other than the DefaultWebApp
> directory.
>
> thanks,
> --
>
> Pankaj
-
Listing files on the webcontent directory that including .jsp files
Hi ,
I want to list all files on the directory that including .jsp files . How can I do this ?
�f I use the following code in the jsp:
java.io.File file = new java.io.File(".");
String[] files= file.list();
it returns me application server 's directory files. But I want to see webcontent directory files.You can use the method of ServletContext - getRealPath() to turn a website relative location into a real place on disk.
In a generic way:
<%
String dir = application.getRealPath(request.getServletPath());
File jspFile = new File(dir);
File jspDir = jspFile.getParentFile();
File[] files = jspDir.listFiles();
%>Cheers,
evnafets -
Jsp file not able to locate class file in JWS 2.0
hello all,
i am a beginner at jsp...
my problem....
i have created a jsp file which accesses a SpellCheck.class file..
i am using Java Web Server 2.0...
and in the classpath i have set the classpath variable to c:\javawebserver2.0\lib. I have placed the class file in this directory.
Now when i run the jsp file it gives the following errors...
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:73: Class pagecompile.jsp.SpellCheck not found in type declaration.
SpellCheck help = null;
^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:76: Class pagecompile.jsp.SpellCheck not found in type declaration.
help= (SpellCheck)
^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:81: Class pagecompile.jsp.SpellCheck not found in type declaration.
help = (SpellCheck) Beans.instantiate(getClassLoader(), "SpellCheck");
^
3 errors
i guess this is happening because it cant find the .class file.
MY QUESTION IS:
where should i place the class file so the the .jsp is able to locate it??
the code of the jsp is as follows:
<%@ page language="java"%>
<jsp:useBean id="help" scope="request" class="SpellCheck">
<%
System.out.println("Working with the bean");
help.setWord(request.getParameter("word"));
%>
</jsp:useBean>
<html>
<body>
You entered the input,
<b> <%= request.getParameter("word")%></b><br>
The processed output is:<br>
<%= Integer.parseInt(request.getParameter("mode"))==1 ? help.reverse() : " "+help.check() %>
</body>
</html>just place your class file in JWS2.0/classes directory
and restart you Serverhi
yes ive done it...
1. ive placed the .class file in JWS2.0/classes directory
2. ive placed the .jsp file and the .html file in the JWS2.0/public_html directory... it still does'nt work...
:o(
boney -
Is it possible to set a multi-path to jsp files?
Hello,
When using:
weblogic.httpd.documentRoot=public_html/
It's O.K. but I'm looking for a way to set a path so in case the jsp
file does no exist there it will be taken from a completely different
path. For example, from R:\directory
Is it possible?? I'll be thankful for your help,
Gali.
No, it is not possible to have more than one document root. Why would you
want to do such a thing? Drop all your html, jsp's etc. in the same
document root and if anything is not found then you would get the HTTP
400 error.
Shiva.
Gali wrote:
> Hello,
> When using:
> weblogic.httpd.documentRoot=public_html/
> It's O.K. but I'm looking for a way to set a path so in case the jsp
> file does no exist there it will be taken from a completely different
> path. For example, from R:\directory
> Is it possible?? I'll be thankful for your help,
> Gali.
-
I use Liferay Portal. It has a defined directory structure for all portlets and expects files to be in their proper locations. One of these is that it expects all .jsp files to be in the /webroot/html directory.
The problem is that all references in the struts-config.xml to .jsp files are assumed to be relative to the /html directory. So if, for instance, I set the path as /test/test.jsp then Liferay looks for the file in /html/test/test.jsp. But NitroX requires the full path, including the /html.
I've gotten this to work on another competing product - in that product I set the Web Root to be the /html directory and it works great. That product allows you to set the path of the struts-config.xml separately. Is there any way to do something similar with NitroX? I tried changing the webroot in the .m7project file manually but it doesn't like it. It seems to insist that the struts-config.xml file is in the webroot.
Thanks.NitroX currently supports only a war directory structure. When a project is created, the Web Application Root directory is computed as the directory containing the WEB-INF folder (which should contain the web.xml file).
All web app resources (JSP files, image, css files, etc) are expected to be under the Web Application Root directory (at any nested directory level).
We will enhance this behavior in the future to support arbitrary directory structures. -
Calling report with no parameters from a form should report be a JSP file?
Hi,
I'm completely new to the Oracle environment and am having a few beginner problems all I want to find out is how to call a report from a form. I know this question has been asked before but I can't work it out from the answers because people seem to keep talking about rdf files:
I am trying to call the report with the following code:
Declare
report_id REPORT_OBJECT;
v_rep varchar2(100);
rep_status varchar2(20);
Begin
report_id:= FIND_REPORT_OBJECT('EmployeeRep');
v_rep := RUN_REPORT_OBJECT(report_id);
END;
My report is called 'EmployeeRep' but it saves it as a JSP file and there is no option to save as an rdf as is mentioned in other posts. I can understand the environments confusion because there is no directory information with the find_report_object command. Does the report have to be stored in a certain directory.
All I have done with the report is created it from the emp table of the sample Scott database. Any help is appreciated and nothing is too obvious as I say I'm completely new to this.
Thanks
DanTry to pinpoint what is going wrong:
1. Run the report stand alone (from Reports Builder). If that doesn't work, then it won't work calling it from Forms either.
2. Check if anything has run at all, or if there are report error messages with:
http://localhost:port/reports/rwservlet/showjobs?
For a standalone Report Server use:
http://localhost:port/reports/rwservlet/showjobs?server=rep_server_name
3. If it does work, call it from Forms. Is the report output file created (e.g. in the cache directory if destype=cache)? In your code you have run_report_object, but you won't see any output on your screen. To see the output add web.show_document(...) to your report. There are many examples in this forum if you search for run_report_object. -
Getting error when placing jsp file in tomcat root folder
hello experts,
i have developed an application on netbeans 6.1 for mail.
It is working perfect when i run it from netbeans, but when we copy those jsp files to ROOT folder of tomcat5.5 server, it is showing me following error.
rg.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 14 in the jsp file: /Mailer1.jsp
Session cannot be resolved to a type
11: <%!
12: String nam = null, email = null, suggestion = null;
13: RequestDispatcher disp = null;
14: public static Session sess = null;
15:
16: %>
17: <%
An error occurred at line: 38 in the jsp file: /Mailer1.jsp
sess cannot be resolved
35:
36: //SecurityManager security = System.getSecurityManager();
37:
38: sess= Session.getInstance(props,new javax.mail.Authenticator() //if u uses getDefaultInstance it will raise Security Exception
39: {
40: protected PasswordAuthentication getPasswordAuthentication()
41: {
An error occurred at line: 38 in the jsp file: /Mailer1.jsp
Session cannot be resolved
35:
36: //SecurityManager security = System.getSecurityManager();
37:
38: sess= Session.getInstance(props,new javax.mail.Authenticator() //if u uses getDefaultInstance it will raise Security Exception
39: {
40: protected PasswordAuthentication getPasswordAuthentication()
41: {
An error occurred at line: 38 in the jsp file: /Mailer1.jsp
javax.mail.Authenticator cannot be resolved to a type
35:
36: //SecurityManager security = System.getSecurityManager();
37:
38: sess= Session.getInstance(props,new javax.mail.Authenticator() //if u uses getDefaultInstance it will raise Security Exception
39: {
40: protected PasswordAuthentication getPasswordAuthentication()
41: {
An error occurred at line: 45 in the jsp file: /Mailer1.jsp
sess cannot be resolved
42: return new PasswordAuthentication("[email protected]","ratatouille");
43: }
44: });
45: sess.setDebug(true);
46:
47:
48: //sess = Session.getDefaultInstance(props);
An error occurred at line: 50 in the jsp file: /Mailer1.jsp
Transport cannot be resolved to a type
47:
48: //sess = Session.getDefaultInstance(props);
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
An error occurred at line: 50 in the jsp file: /Mailer1.jsp
sess cannot be resolved
47:
48: //sess = Session.getDefaultInstance(props);
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
An error occurred at line: 51 in the jsp file: /Mailer1.jsp
Message cannot be resolved to a type
48: //sess = Session.getDefaultInstance(props);
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
54: msg.setSubject(this.nam);
An error occurred at line: 51 in the jsp file: /Mailer1.jsp
MimeMessage cannot be resolved to a type
48: //sess = Session.getDefaultInstance(props);
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
54: msg.setSubject(this.nam);
An error occurred at line: 51 in the jsp file: /Mailer1.jsp
sess cannot be resolved
48: //sess = Session.getDefaultInstance(props);
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
54: msg.setSubject(this.nam);
An error occurred at line: 52 in the jsp file: /Mailer1.jsp
Message.RecipientType.TO cannot be resolved to a type
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
54: msg.setSubject(this.nam);
55: msg.setContent(suggestion, "text/plain");
An error occurred at line: 52 in the jsp file: /Mailer1.jsp
InternetAddress cannot be resolved to a type
49: //sess.setDebug(true);
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
54: msg.setSubject(this.nam);
55: msg.setContent(suggestion, "text/plain");
An error occurred at line: 53 in the jsp file: /Mailer1.jsp
InternetAddress cannot be resolved to a type
50: Transport trans = sess.getTransport();
51: Message msg = new MimeMessage(sess);
52: msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
53: msg.setFrom(new InternetAddress(this.email));
54: msg.setSubject(this.nam);
55: msg.setContent(suggestion, "text/plain");
56: trans.connect();
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
i m unable to find out the solution,
please help me to resolve it.
thnaks.Hi shams.hq,
I don't understand how you bother to copy an application in your server directories. It's really piece of cake to deploy with Tomcat.
All you have to do :
- with Netbeans, you build the project : a WAR file will be created in the dist directory of your project;
- launch the server, if it's not running;
- with your web browser, connect to the Tomcat Manager;
- from there, you may upload and deploy the WAR file of your project.
Et voilà ! Tomcat will unzip the WAR and install your classes and libraries at the right place.
Maybe you are looking for
-
Migrating from iPhone 3GS to iPhone 4 * Apps disappering
I have an iPhone 3GS with OS4. Most of my apps works ok, but I some need upgrading to work properly under OS4. So I wait patently. But I have another problem: I have bought an iPhone4 and try to migrate from the 3GS. But it seems that there are Apps
-
I have table in a jsp and an export button. When user clicks on the export button the data in the table should be exported to either text, csv or excel depending on the option user chhoses. Can anyone help me with this? How to export to excel and csv
-
Is GeForce 2 MX the same as nVidia GeForce card?
Hi... I want to play a game on my eMac and was wondering if GeForce 2 MX is the same as nVidia GeForce card. Please help!
-
S.O.S about select option in WD
hi experts I have a emergent case that I need to mark a select option as red background when error happens. could anyone give me a solution?
-
Adobe Connection Manager unable to connect to Adobe Servers
Hello, I have found many threads for that topic, but non helped me solve my issue. I haven't been using my application in quite a few months. A few weeks ago I started again and always get the message that my membership could not be verified because