Tagged Questions

Java Server Pages (JSP) is used to create dynamically generated web pages based on HTML, XML, or other document types. JSP is similar to PHP, but it uses the Java programming language.

learn more… | top users | synonyms

-2
votes
0answers
22 views

Not getting value in second cycle of when returning to form 1 from form 4 in java project [on hold]

I am working on a java project, where i had created 4 jsp forms. On first form i had a select box. I select a value from option. Then I go to form 2,3 and 4,here the selected value is disabled. From ...
-1
votes
0answers
26 views

HttpWebRequest doesn't post on jsp page for search operation, C# desktop app [closed]

i tried many way to search on this website: https://www.ttnetmuzik.com.tr its using JSP for search action and no form build in soruce just have onclick="searchSubmit();" for search button and button ...
1
vote
0answers
43 views

Setting permissions issue for admins and lower users in project

I am working in a jsp project an got stuck in a big problem. My project consist of accounts table for super admin, reseller, admin and users for executives and manager mapped in the account ...
0
votes
1answer
222 views

Can JSP Expression Language provide type safety like scriptlets in Eclipse IDE?

Almost everywhere you can read that you should use EL instead of scriptles in JSP. And I agree that you should not use any JAVA code in JSP except for calling getter methods on model objects. This is ...
1
vote
1answer
395 views

JSP Include: one large bean or bean for each include

I want to refactor a webapp that consists of very distorted JSPs and servlets. Because we can't switch to a web framework easily we have to keep JSPs and Servlets, and now we are in doubt how to ...
1
vote
1answer
7k views

Why use JSP instead of servlets? [closed]

(Rewritten for reopening:) What are relative advantages of Servlets over JSP, or vice versa? Might JSP be preferred because it is easy to put code inside JSP, or Servlets because with them code can ...
0
votes
1answer
596 views

Trying to understand 3 layer programming [closed]

I am confused to understand the structure of a 3 layer programm. Where is good place for exceptions, entity and etc.? If I use MVC, in my UI model, how to transfer entity class to model class and ...
0
votes
1answer
141 views

Controller JSP - no view

Most people say do not use JSPs. But what if I have a JSP that does not show anything, it only acts as a controller? Why would I do that? Because we do not need to redeploy complete webapp to make a ...
1
vote
1answer
1k views

Handling error message for a Spring MVC login form

This can apply to many error handling scenarios, but I'm curious about how to do it in a login scenario. Given this Spring controller method: @RequestMapping(value = "/account/login", method = ...
5
votes
3answers
334 views

How should I go about “overhauling” a large legacy application? [duplicate]

Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? For my next project, I've been tasked with "overhauling" a large legacy web application with many parts. It is a ...
3
votes
4answers
2k views

Why JSP over Servlets for view?

Although servlets does the task of sending the HTML code to the client programmers weight JSP over servlets for that. Even a JSP code is compiled into servlet before giving the response to the browser ...
5
votes
5answers
2k views

Building a website, want to use java

I'd like to make a simple-ish website that is essentially a small game. Key strokes are to be processed and sent to a server (already acquired and should support SQL and JSP, I believe) which then ...
4
votes
2answers
276 views

Can the overuse of custom taglibs disrupt the outsourcing of html designers?

Yesterday me and a friend were talking about the overuse of custom taglibs. We create taglibs for everything. We create taglibs in order to wrap jQuery UI elements (tabs, button, etc), and other ...
1
vote
1answer
386 views

myeclipse: can I customize templates like sysout in jsp

Myeclipse's java code templates like sysout make coding easier, and they can also be customized. But seems it's jsp editor has no such capability. Is it possible to create and customize some ...
4
votes
4answers
835 views

When are scripts inside HTML not considered a bad practice?

I am new to web development. While studying the Play framework and JSP, I noticed that they both give an option to place script (in jsp scriptlet) inside HTML, but in both books I am reading they both ...
3
votes
2answers
410 views

JSP, EL, JSTL: learning from a web designer perpective

I have two books geared toward learning JSP. From what I've read, one motivating feature/benefit is that it is easier for web designers (they apparently don't, as a rule, know Java) to work with ...
0
votes
2answers
199 views

How can I efficiently handle input data without a framework?

I am working on a very small project and my design would be using technologies such as JSP, servlets, and POJOs. I'm considering a workflow where a JSP page will receive input data, then submit it to ...
0
votes
1answer
163 views

Multiple possible jsp views for a request

I'm looking to offer the user some way of changing how a single page looks based on some pre-defined jsps. i.e. Two or more jsp's contain similar information, and would be backed by a single ...
4
votes
1answer
2k views

Is JSP a good alternative to PHP [closed]

I'm wondering is JSP a safe alternative to PHP? Some things I'm concerned about are cpu usage, memory usage, and security.
6
votes
2answers
2k views

How difficult would it be to migrate a Struts/JSP application to Groovy?

I have taken over development of a JSP/Struts application. Right now it's a bit of a mess, and I'm finding the JSP pages with Struts tags to be insanely verbose. Has anyone migrated a Struts ...
5
votes
2answers
12k views

Where can I host my JSP+Java Web application? [closed]

My web application is currently written in JSP/Java, using an Oracle DB. I develop on Windows, and I use JDeveloper (Oracle's eclipse clone) and I use JDev's integrated WebLogic Server. I want to go ...
-1
votes
2answers
221 views

Why does EL have such low visibility?

Use of EL in JSP's is the proper way to code logic according to the Sun tutorials and samples, which also recommend against the use of Java scriptlets. Yet searching job listings for EL | "expression ...
10
votes
1answer
20k views

How can I debug a JSP?

I'm trying to edit a JSP for a project and I'm getting a NullPointerException somewhere in the JSP when it's requested from my server. My web server (JBoss) is reporting the exception, but it's ...
1
vote
3answers
440 views

Is this book a reliable source for beginning Java EE? [closed]

Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition) Can I rely on this book to learn Servlets and JSP,or is there a better book out there I should be reading instead?